LibreOffice Module sw (master)  1
Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwOLELRUCache Class Reference
Inheritance diagram for SwOLELRUCache:
[legend]
Collaboration diagram for SwOLELRUCache:
[legend]

Public Member Functions

 SwOLELRUCache ()
 
virtual void Notify (const uno::Sequence< OUString > &aPropertyNames) override
 
void Load ()
 
void InsertObj (SwOLEObj &rObj)
 
void RemoveObj (SwOLEObj &rObj)
 

Private Types

typedef std::deque< SwOLEObj * > OleObjects_t
 

Private Member Functions

virtual void ImplCommit () override
 
- Private Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
 ConfigItem (const OUString &rSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 
- Private Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Private Member Functions

static uno::Sequence< OUString > GetPropertyNames ()
 

Private Attributes

OleObjects_t m_OleObjects
 
sal_Int32 m_nLRU_InitSize
 

Detailed Description

Definition at line 66 of file ndole.cxx.

Member Typedef Documentation

typedef std::deque<SwOLEObj *> SwOLELRUCache::OleObjects_t
private

Definition at line 70 of file ndole.cxx.

Constructor & Destructor Documentation

SwOLELRUCache::SwOLELRUCache ( )

Definition at line 1107 of file ndole.cxx.

References utl::ConfigItem::EnableNotification(), GetPropertyNames(), and Load().

Member Function Documentation

uno::Sequence< OUString > SwOLELRUCache::GetPropertyNames ( )
staticprivate

Definition at line 1115 of file ndole.cxx.

Referenced by Load(), and SwOLELRUCache().

void SwOLELRUCache::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 1126 of file ndole.cxx.

void SwOLELRUCache::InsertObj ( SwOLEObj rObj)

Definition at line 1163 of file ndole.cxx.

References g_pOLELRU_Cache, m_nLRU_InitSize, m_OleObjects, nPos, and SwOLEObj::UnloadObject().

void SwOLELRUCache::Load ( )
void SwOLELRUCache::Notify ( const uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Definition at line 1121 of file ndole.cxx.

References Load().

void SwOLELRUCache::RemoveObj ( SwOLEObj rObj)

Definition at line 1190 of file ndole.cxx.

References g_pOLELRU_Cache, and m_OleObjects.

Member Data Documentation

sal_Int32 SwOLELRUCache::m_nLRU_InitSize
private

Definition at line 72 of file ndole.cxx.

Referenced by InsertObj(), and Load().

OleObjects_t SwOLELRUCache::m_OleObjects
private

Definition at line 71 of file ndole.cxx.

Referenced by InsertObj(), Load(), and RemoveObj().


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