container of classes with common base, labeled by concrete type More...
#include "utl/TypeLabeledContainer.h"
Classes | |
class | ConstIterator |
struct | DynamicCast |
class | Iterator |
Public Member Functions | |
template<class T > | |
Iterator< T > | Begin () |
template<class T > | |
Iterator< T > | End () |
template<class T > | |
void | Insert (T *const t) |
return (it!=fContainer.end())?it-> second.begin():InternalConstIterator(0) | |
return (it!=fContainer.end())?it-> second.end():InternalConstIterator(0) | |
~TypeLabeledContainer () | |
Public Attributes | |
template<class T > | |
ConstIterator< T > | const |
Private Types | |
typedef InternalVector::const_iterator | InternalConstIterator |
typedef std::map< std::string, InternalVector > | InternalMap |
typedef std::vector< Base * > | InternalVector |
Private Attributes | |
InternalMap | fContainer |
container of classes with common base, labeled by concrete type
Definition at line 47 of file TypeLabeledContainer.h.
|
private |
Definition at line 65 of file TypeLabeledContainer.h.
|
private |
Definition at line 125 of file TypeLabeledContainer.h.
|
private |
Definition at line 64 of file TypeLabeledContainer.h.
|
inline |
Definition at line 49 of file TypeLabeledContainer.h.
References Delete(), utl::TypeLabeledContainer< Base, OwnershipPolicy >::fContainer, and G4StationSimulatorOG::p.
|
inline |
Definition at line 88 of file TypeLabeledContainer.h.
References utl::TypeLabeledContainer< Base, OwnershipPolicy >::fContainer.
|
inline |
Definition at line 105 of file TypeLabeledContainer.h.
References utl::TypeLabeledContainer< Base, OwnershipPolicy >::fContainer.
|
inline |
Definition at line 121 of file TypeLabeledContainer.h.
References utl::TypeLabeledContainer< Base, OwnershipPolicy >::fContainer.
utl::TypeLabeledContainer< Base, OwnershipPolicy >::return | ( | it! | = fContainer.end() | ) | -> second.begin():InternalConstIterator(0) |
utl::TypeLabeledContainer< Base, OwnershipPolicy >::return | ( | it! | = fContainer.end() | ) | -> second.end():InternalConstIterator(0) |
ConstIterator< T > utl::TypeLabeledContainer< T >::const |
Definition at line 98 of file TypeLabeledContainer.h.
|
private |
Definition at line 127 of file TypeLabeledContainer.h.
Referenced by utl::TypeLabeledContainer< Base, OwnershipPolicy >::Begin(), utl::TypeLabeledContainer< Base, OwnershipPolicy >::End(), utl::TypeLabeledContainer< Base, OwnershipPolicy >::Insert(), and utl::TypeLabeledContainer< Base, OwnershipPolicy >::~TypeLabeledContainer().