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

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

Definition at line 38 of file nodemap.hxx.

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

Definition at line 37 of file nodemap.hxx.

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

Definition at line 39 of file nodemap.hxx.

Constructor & Destructor Documentation

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

Definition at line 41 of file nodemap.hxx.

References clearCache().

Member Function Documentation

iterator configmgr::NodeMap::begin ( )
inline

Definition at line 46 of file nodemap.hxx.

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

Definition at line 47 of file nodemap.hxx.

void configmgr::NodeMap::clearCache ( )
inlineprivate

Definition at line 63 of file nodemap.hxx.

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

void configmgr::NodeMap::cloneInto ( NodeMap target) const
bool configmgr::NodeMap::empty ( ) const
inline

Definition at line 42 of file nodemap.hxx.

Referenced by cloneInto().

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

Definition at line 50 of file nodemap.hxx.

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

Definition at line 55 of file nodemap.hxx.

References clearCache().

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

Definition at line 45 of file nodemap.hxx.

rtl::Reference< Node > configmgr::NodeMap::findNode ( int  layer,
OUString const &  name 
) const
std::pair<iterator,bool> configmgr::NodeMap::insert ( const value_type vt)
inline

Definition at line 53 of file nodemap.hxx.

References clearCache().

Referenced by configmgr::ValueParser::endElement(), and configmgr::XcsParser::endElement().

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

Definition at line 52 of file nodemap.hxx.

References clearCache().

Member Data Documentation

const_iterator configmgr::NodeMap::maCache
mutableprivate

Definition at line 62 of file nodemap.hxx.

Referenced by findNode().

NodeMapImpl configmgr::NodeMap::maImpl
private

Definition at line 32 of file nodemap.hxx.

Referenced by cloneInto(), and findNode().


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