LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
SharedFormulaBuffer Class Reference

Store and manage shared formula tokens. More...

#include <namebuff.hxx>

Inheritance diagram for SharedFormulaBuffer:
Collaboration diagram for SharedFormulaBuffer:

Public Member Functions

 SharedFormulaBuffer (RootData *pRD)
virtual ~SharedFormulaBuffer ()
void Clear ()
void Store (const ScAddress &rPos, const ScTokenArray &rArray)
const ScTokenArrayFind (const ScAddress &rRefPos) const

Private Types

typedef std::unordered_map< ScAddress, ScTokenArray, ScAddressHashFunctorTokenArraysType

Private Attributes

TokenArraysType maTokenArrays

Additional Inherited Members

- Protected Member Functions inherited from ExcRoot
 ExcRoot (RootData *pNexExcRoot)
 ExcRoot (const ExcRoot &rCopy)
- Protected Attributes inherited from ExcRoot

Detailed Description

Store and manage shared formula tokens.

Definition at line 60 of file namebuff.hxx.

Member Typedef Documentation

◆ TokenArraysType

Definition at line 62 of file namebuff.hxx.

Constructor & Destructor Documentation

◆ SharedFormulaBuffer()

SharedFormulaBuffer::SharedFormulaBuffer ( RootData pRD)

Definition at line 48 of file namebuff.cxx.

◆ ~SharedFormulaBuffer()

SharedFormulaBuffer::~SharedFormulaBuffer ( )

Definition at line 53 of file namebuff.cxx.

References Clear().

Member Function Documentation

◆ Clear()

void SharedFormulaBuffer::Clear ( )

Definition at line 58 of file namebuff.cxx.

References maTokenArrays.

Referenced by ~SharedFormulaBuffer().

◆ Find()

const ScTokenArray * SharedFormulaBuffer::Find ( const ScAddress rRefPos) const

Definition at line 70 of file namebuff.cxx.

References maTokenArrays.

◆ Store()

void SharedFormulaBuffer::Store ( const ScAddress rPos,
const ScTokenArray rArray 

Definition at line 63 of file namebuff.cxx.

References ScTokenArray::CloneValue(), ScTokenArray::GenHash(), and maTokenArrays.

Member Data Documentation

◆ maTokenArrays

TokenArraysType SharedFormulaBuffer::maTokenArrays

Definition at line 63 of file namebuff.hxx.

Referenced by Clear(), Find(), and Store().

The documentation for this class was generated from the following files: