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

A simple container to keep track of cells that depend on basic modules changes. More...

Public Member Functions

void addCell (const OUString &rModuleName, ScFormulaCell *pCell)
void removeCell (const ScFormulaCell *pCell)
void getCellsByModule (const OUString &rModuleName, vector< ScFormulaCell * > &rCells)

Private Types

typedef std::unordered_map< OUString, vector< ScFormulaCell * > > ModuleCellMap

Private Attributes

ModuleCellMap maCells

Detailed Description

A simple container to keep track of cells that depend on basic modules changes.

We don't check for duplicates at insertion time; instead, we remove duplicates at query time.

Definition at line 41 of file macromgr.cxx.

Member Typedef Documentation

typedef std::unordered_map<OUString, vector<ScFormulaCell*> > ScUserMacroDepTracker::ModuleCellMap

Definition at line 88 of file macromgr.cxx.

Member Function Documentation

void ScUserMacroDepTracker::addCell ( const OUString &  rModuleName,
ScFormulaCell pCell 

Definition at line 44 of file macromgr.cxx.

References maCells.

void ScUserMacroDepTracker::getCellsByModule ( const OUString &  rModuleName,
vector< ScFormulaCell * > &  rCells 

Definition at line 69 of file macromgr.cxx.

References last, and maCells.

void ScUserMacroDepTracker::removeCell ( const ScFormulaCell pCell)

Definition at line 61 of file macromgr.cxx.

References maCells.

Member Data Documentation

ModuleCellMap ScUserMacroDepTracker::maCells

Definition at line 89 of file macromgr.cxx.

Referenced by addCell(), getCellsByModule(), and removeCell().

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