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 42 of file macromgr.cxx.

Member Typedef Documentation

◆ ModuleCellMap

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

Definition at line 89 of file macromgr.cxx.

Member Function Documentation

◆ addCell()

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

Definition at line 45 of file macromgr.cxx.

References maCells.

◆ getCellsByModule()

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

Definition at line 70 of file macromgr.cxx.

References last, and maCells.

◆ removeCell()

void ScUserMacroDepTracker::removeCell ( const ScFormulaCell pCell)

Definition at line 62 of file macromgr.cxx.

References maCells.

Member Data Documentation

◆ maCells

ModuleCellMap ScUserMacroDepTracker::maCells

Definition at line 90 of file macromgr.cxx.

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

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