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

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 78 of file modelbase.hxx.

Member Typedef Documentation

◆ key_type

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

Definition at line 81 of file modelbase.hxx.

◆ mapped_type

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

Definition at line 82 of file modelbase.hxx.

◆ value_type

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

Definition at line 83 of file modelbase.hxx.

Member Function Documentation

◆ create()

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

◆ insert()

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: