LibreOffice Module configmgr (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
configmgr::NodeMap Class Reference

#include <nodemap.hxx>

Collaboration diagram for configmgr::NodeMap:
[legend]

Public Types

typedef NodeMapImpl::iterator iterator
 
typedef NodeMapImpl::const_iterator const_iterator
 
typedef NodeMapImpl::value_type value_type
 

Public Member Functions

 NodeMap ()
 
bool empty () const
 
iterator find (const OUString &aStr)
 
const_iterator find (const OUString &aStr) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
rtl::Reference< Node > & operator[] (const OUString &aStr)
 
std::pair< iterator, bool > insert (const value_type &vt)
 
void erase (const iterator &it)
 
void erase (const OUString &aStr)
 
rtl::Reference< NodefindNode (int layer, OUString const &name) const
 
void cloneInto (NodeMap *target) const
 

Private Member Functions

 NodeMap (const NodeMap &rMap)=delete
 
void clearCache ()
 

Private Attributes

NodeMapImpl maImpl
 
const_iterator maCache
 

Detailed Description

Definition at line 30 of file nodemap.hxx.

Member Typedef Documentation

◆ const_iterator

typedef NodeMapImpl::const_iterator configmgr::NodeMap::const_iterator

Definition at line 38 of file nodemap.hxx.

◆ iterator

typedef NodeMapImpl::iterator configmgr::NodeMap::iterator

Definition at line 37 of file nodemap.hxx.

◆ value_type

typedef NodeMapImpl::value_type configmgr::NodeMap::value_type

Definition at line 39 of file nodemap.hxx.

Constructor & Destructor Documentation

◆ NodeMap() [1/2]

configmgr::NodeMap::NodeMap ( const NodeMap rMap)
privatedelete

◆ NodeMap() [2/2]

configmgr::NodeMap::NodeMap ( )
inline

Definition at line 41 of file nodemap.hxx.

References clearCache().

Member Function Documentation

◆ begin() [1/2]

iterator configmgr::NodeMap::begin ( )
inline

Definition at line 46 of file nodemap.hxx.

References maImpl.

◆ begin() [2/2]

const_iterator configmgr::NodeMap::begin ( ) const
inline

Definition at line 47 of file nodemap.hxx.

References maImpl.

◆ clearCache()

void configmgr::NodeMap::clearCache ( )
inlineprivate

Definition at line 63 of file nodemap.hxx.

References maCache, and maImpl.

Referenced by cloneInto(), erase(), insert(), NodeMap(), and operator[]().

◆ cloneInto()

void configmgr::NodeMap::cloneInto ( NodeMap target) const

◆ empty()

bool configmgr::NodeMap::empty ( ) const
inline

Definition at line 42 of file nodemap.hxx.

References maImpl.

Referenced by cloneInto().

◆ end() [1/2]

iterator configmgr::NodeMap::end ( )
inline

Definition at line 49 of file nodemap.hxx.

References maImpl.

Referenced by findNode(), and configmgr::Data::resolvePathRepresentation().

◆ end() [2/2]

const_iterator configmgr::NodeMap::end ( ) const
inline

Definition at line 50 of file nodemap.hxx.

References maImpl.

◆ erase() [1/2]

void configmgr::NodeMap::erase ( const iterator it)
inline

Definition at line 54 of file nodemap.hxx.

References clearCache(), and maImpl.

◆ erase() [2/2]

void configmgr::NodeMap::erase ( const OUString &  aStr)
inline

Definition at line 55 of file nodemap.hxx.

References aStr, clearCache(), and maImpl.

◆ find() [1/2]

iterator configmgr::NodeMap::find ( const OUString &  aStr)
inline

Definition at line 43 of file nodemap.hxx.

References aStr, and maImpl.

Referenced by configmgr::Data::resolvePathRepresentation().

◆ find() [2/2]

const_iterator configmgr::NodeMap::find ( const OUString &  aStr) const
inline

Definition at line 45 of file nodemap.hxx.

References aStr, and maImpl.

◆ findNode()

rtl::Reference< Node > configmgr::NodeMap::findNode ( int  layer,
OUString const &  name 
) const

◆ insert()

std::pair< iterator, bool > configmgr::NodeMap::insert ( const value_type vt)
inline

Definition at line 53 of file nodemap.hxx.

References clearCache(), and maImpl.

Referenced by configmgr::XcsParser::endElement().

◆ operator[]()

rtl::Reference< Node > & configmgr::NodeMap::operator[] ( const OUString &  aStr)
inline

Definition at line 52 of file nodemap.hxx.

References aStr, clearCache(), and maImpl.

Member Data Documentation

◆ maCache

const_iterator configmgr::NodeMap::maCache
mutableprivate

Definition at line 62 of file nodemap.hxx.

Referenced by clearCache(), and findNode().

◆ maImpl

NodeMapImpl configmgr::NodeMap::maImpl
private

Definition at line 32 of file nodemap.hxx.

Referenced by begin(), clearCache(), cloneInto(), empty(), end(), erase(), find(), findNode(), insert(), and operator[]().


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