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

#include <modelbase.hxx>

Inheritance diagram for oox::drawingml::chart::ModelVector< ModelType >:
[legend]
Collaboration diagram for oox::drawingml::chart::ModelVector< ModelType >:
[legend]

Public Types

typedef RefVector< ModelType >::value_type value_type
 
typedef RefVector< ModelType >::size_type size_type
 
- Public Types inherited from oox::RefVector< ModelType >
typedef ::std::vector< std::shared_ptr< ModelType > > container_type
 
typedef container_type::value_type value_type
 
typedef container_type::size_type size_type
 

Public Member Functions

 ModelVector ()
 
ModelType & create ()
 
template<typename Param1Type >
ModelType & create (const Param1Type &rParam1)
 
template<typename Param1Type , typename Param2Type >
ModelType & create (const Param1Type &rParam1, const Param2Type &rParam2)
 
- Public Member Functions inherited from oox::RefVector< ModelType >
value_type get (sal_Int32 nIndex) const
 Returns a reference to the object with the passed index, or 0 on error. More...
 
void forEach (FunctorType aFunctor) 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, ParamType aParam) 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 forEachWithIndex (const FunctorType &rFunctor) const
 Calls the passed functor for every contained object. More...
 
void forEachMemWithIndex (FuncType pFunc, ParamType1 aParam1, ParamType2 aParam2) const
 Calls the passed member function of ObjType on every contained object. More...
 
value_type findIf (const FunctorType &rFunctor) const
 Searches for an element by using the passed functor that takes a constant reference of the object type (const ObjType&). More...
 

Private Member Functions

ModelType & append (std::shared_ptr< ModelType > pModel)
 

Detailed Description

template<typename ModelType>
class oox::drawingml::chart::ModelVector< ModelType >

Definition at line 55 of file modelbase.hxx.

Member Typedef Documentation

template<typename ModelType>
typedef RefVector< ModelType >::size_type oox::drawingml::chart::ModelVector< ModelType >::size_type

Definition at line 59 of file modelbase.hxx.

template<typename ModelType>
typedef RefVector< ModelType >::value_type oox::drawingml::chart::ModelVector< ModelType >::value_type

Definition at line 58 of file modelbase.hxx.

Constructor & Destructor Documentation

template<typename ModelType>
oox::drawingml::chart::ModelVector< ModelType >::ModelVector ( )
inline

Definition at line 61 of file modelbase.hxx.

Member Function Documentation

template<typename ModelType>
ModelType& oox::drawingml::chart::ModelVector< ModelType >::append ( std::shared_ptr< ModelType >  pModel)
inlineprivate
template<typename ModelType>
ModelType& oox::drawingml::chart::ModelVector< ModelType >::create ( )
inline
template<typename ModelType>
template<typename Param1Type >
ModelType& oox::drawingml::chart::ModelVector< ModelType >::create ( const Param1Type &  rParam1)
inline

Definition at line 65 of file modelbase.hxx.

template<typename ModelType>
template<typename Param1Type , typename Param2Type >
ModelType& oox::drawingml::chart::ModelVector< ModelType >::create ( const Param1Type &  rParam1,
const Param2Type &  rParam2 
)
inline

Definition at line 67 of file modelbase.hxx.


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