LibreOffice Module oox (master)  1
Public Types | Public Member Functions | Private Member Functions | List of all members
oox::drawingml::chart::ModelMap< KeyType, ModelType > Class Template Reference

#include <modelbase.hxx>

Inheritance diagram for oox::drawingml::chart::ModelMap< KeyType, ModelType >:
[legend]
Collaboration diagram for oox::drawingml::chart::ModelMap< KeyType, ModelType >:
[legend]

Public Types

typedef RefMap< KeyType, ModelType >::key_type key_type
 
typedef RefMap< KeyType, ModelType >::mapped_type mapped_type
 
typedef RefMap< KeyType, ModelType >::value_type value_type
 
- Public Types inherited from oox::RefMap< KeyType, ModelType >
typedef std::map< KeyType, std::shared_ptr< ModelType >, std::less< KeyType > > container_type
 
typedef container_type::key_type key_type
 
typedef container_type::mapped_type mapped_type
 
typedef container_type::value_type value_type
 
typedef container_type::key_compare key_compare
 

Public Member Functions

 ModelMap ()
 
ModelType & create (KeyType eKey)
 
- Public Member Functions inherited from oox::RefMap< KeyType, ModelType >
bool has (key_type nKey) const
 Returns true, if the object associated to the passed key exists. More...
 
mapped_type get (key_type nKey) const
 Returns a reference to the object associated to the passed key, or an empty reference on error. More...
 
void forEach (const FunctorType &rFunctor) const
 Calls the passed functor for every contained object, automatically skips all elements that are empty references. More...
 
void forEachMem (FuncType pFunc) const
 Calls the passed member function of ObjType on every contained object, automatically skips all elements that are empty references. More...
 
void forEachMem (FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2) const
 Calls the passed member function of ObjType on every contained object, automatically skips all elements that are empty references. More...
 
void forEachMem (FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2, ParamType3 aParam3) const
 Calls the passed member function of ObjType on every contained object, automatically skips all elements that are empty references. More...
 
void forEachWithKey (const FunctorType &rFunctor) const
 Calls the passed functor for every contained object. More...
 
void forEachMemWithKey (FuncType pFunc) const
 Calls the passed member function of ObjType on every contained object. More...
 

Private Member Functions

ModelType & insert (KeyType eKey, ModelType *pModel)
 

Detailed Description

template<typename KeyType, typename ModelType>
class oox::drawingml::chart::ModelMap< KeyType, ModelType >

Definition at line 80 of file modelbase.hxx.

Member Typedef Documentation

template<typename KeyType, typename ModelType>
typedef RefMap< KeyType, ModelType >::key_type oox::drawingml::chart::ModelMap< KeyType, ModelType >::key_type

Definition at line 83 of file modelbase.hxx.

template<typename KeyType, typename ModelType>
typedef RefMap< KeyType, ModelType >::mapped_type oox::drawingml::chart::ModelMap< KeyType, ModelType >::mapped_type

Definition at line 84 of file modelbase.hxx.

template<typename KeyType, typename ModelType>
typedef RefMap< KeyType, ModelType >::value_type oox::drawingml::chart::ModelMap< KeyType, ModelType >::value_type

Definition at line 85 of file modelbase.hxx.

Constructor & Destructor Documentation

template<typename KeyType, typename ModelType>
oox::drawingml::chart::ModelMap< KeyType, ModelType >::ModelMap ( )
inline

Definition at line 87 of file modelbase.hxx.

Member Function Documentation

template<typename KeyType, typename ModelType>
ModelType& oox::drawingml::chart::ModelMap< KeyType, ModelType >::create ( KeyType  eKey)
inline
template<typename KeyType, typename ModelType>
ModelType& oox::drawingml::chart::ModelMap< KeyType, ModelType >::insert ( KeyType  eKey,
ModelType *  pModel 
)
inlineprivate

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