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

Cache for faster lookup of automatic names during CompileXML (during CompileXML, no document content is changed). More...

#include <autonamecache.hxx>

Collaboration diagram for ScAutoNameCache:
[legend]

Public Member Functions

 ScAutoNameCache (ScDocument *pD)
 
 ~ScAutoNameCache ()
 
const ScAutoNameAddressesGetNameOccurrences (const OUString &rName, SCTAB nTab)
 

Private Attributes

ScAutoNameHashMap aNames
 
ScDocumentpDoc
 
SCTAB nCurrentTab
 

Detailed Description

Cache for faster lookup of automatic names during CompileXML (during CompileXML, no document content is changed).

Definition at line 32 of file autonamecache.hxx.

Constructor & Destructor Documentation

ScAutoNameCache::ScAutoNameCache ( ScDocument pD)

Definition at line 27 of file autonamecache.cxx.

ScAutoNameCache::~ScAutoNameCache ( )

Definition at line 33 of file autonamecache.cxx.

Member Function Documentation

const ScAutoNameAddresses & ScAutoNameCache::GetNameOccurrences ( const OUString &  rName,
SCTAB  nTab 
)

Member Data Documentation

ScAutoNameHashMap ScAutoNameCache::aNames
private

Definition at line 34 of file autonamecache.hxx.

Referenced by GetNameOccurrences().

SCTAB ScAutoNameCache::nCurrentTab
private

Definition at line 36 of file autonamecache.hxx.

Referenced by GetNameOccurrences().

ScDocument* ScAutoNameCache::pDoc
private

Definition at line 35 of file autonamecache.hxx.

Referenced by GetNameOccurrences().


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