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 ScAutoNameAddresses & GetNameOccurrences (const OUString &rName, SCTAB nTab)
 

Private Attributes

ScAutoNameHashMap aNames
 
ScDocument & rDoc
 
SCTAB nCurrentTab
 

Detailed Description

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

Definition at line 31 of file autonamecache.hxx.

Constructor & Destructor Documentation

◆ ScAutoNameCache()

ScAutoNameCache::ScAutoNameCache ( ScDocument &  pD)

Definition at line 27 of file autonamecache.cxx.

◆ ~ScAutoNameCache()

ScAutoNameCache::~ScAutoNameCache ( )

Definition at line 33 of file autonamecache.cxx.

Member Function Documentation

◆ GetNameOccurrences()

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

Member Data Documentation

◆ aNames

ScAutoNameHashMap ScAutoNameCache::aNames
private

Definition at line 33 of file autonamecache.hxx.

Referenced by GetNameOccurrences().

◆ nCurrentTab

SCTAB ScAutoNameCache::nCurrentTab
private

Definition at line 35 of file autonamecache.hxx.

Referenced by GetNameOccurrences().

◆ rDoc

ScDocument& ScAutoNameCache::rDoc
private

Definition at line 34 of file autonamecache.hxx.

Referenced by GetNameOccurrences().


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