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:
Collaboration diagram for SwOLELRUCache:

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 67 of file ndole.cxx.

Member Typedef Documentation

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

Definition at line 71 of file ndole.cxx.

Constructor & Destructor Documentation

SwOLELRUCache::SwOLELRUCache ( )

Definition at line 1133 of file ndole.cxx.

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

Member Function Documentation

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

Definition at line 1141 of file ndole.cxx.

Referenced by Load(), and SwOLELRUCache().

void SwOLELRUCache::ImplCommit ( )

Implements utl::ConfigItem.

Definition at line 1152 of file ndole.cxx.

void SwOLELRUCache::InsertObj ( SwOLEObj rObj)

Definition at line 1189 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)

Definition at line 1147 of file ndole.cxx.

References Load().

void SwOLELRUCache::RemoveObj ( SwOLEObj rObj)

Definition at line 1216 of file ndole.cxx.

References g_pOLELRU_Cache, and m_OleObjects.

Member Data Documentation

sal_Int32 SwOLELRUCache::m_nLRU_InitSize

Definition at line 73 of file ndole.cxx.

Referenced by InsertObj(), and Load().

OleObjects_t SwOLELRUCache::m_OleObjects

Definition at line 72 of file ndole.cxx.

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

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