VR-Forces 4.1.1 Class Documentation
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
DtStringKeyFactory< T_CreationType > Class Template Reference

Public Types

typedef T_CreationType *(* DtCreatorFcn )()
typedef std::map< DtString,
DtCreatorFcn
DtCreatorFunctionMap

Public Member Functions

 DtStringKeyFactory ()
virtual ~DtStringKeyFactory ()
virtual void addCreatorFcn (const DtString &type, DtCreatorFcn fcn)
virtual T_CreationType * createItem (const DtString &type) const
const DtCreatorFunctionMapfunctionMap () const

Static Public Member Functions

static DtStringKeyFactory
< T_CreationType > * 
create ()

Protected Attributes

DtCreatorFunctionMap myCreatorFunctionMap

Private Member Functions

 DtStringKeyFactory (const DtStringKeyFactory &orig)
const DtStringKeyFactoryoperator= (const DtStringKeyFactory &orig)

Member Typedef Documentation

template<typename T_CreationType>
typedef T_CreationType*(* DtStringKeyFactory< T_CreationType >::DtCreatorFcn)()
template<typename T_CreationType>
typedef std::map<DtString, DtCreatorFcn> DtStringKeyFactory< T_CreationType >::DtCreatorFunctionMap

Constructor & Destructor Documentation

template<typename T_CreationType>
DtStringKeyFactory< T_CreationType >::DtStringKeyFactory ( )
template<typename T_CreationType>
DtStringKeyFactory< T_CreationType >::DtStringKeyFactory ( const DtStringKeyFactory< T_CreationType > &  orig)
private
template<typename T_CreationType>
virtual DtStringKeyFactory< T_CreationType >::~DtStringKeyFactory ( )
virtual

Member Function Documentation

template<typename T_CreationType>
const DtStringKeyFactory& DtStringKeyFactory< T_CreationType >::operator= ( const DtStringKeyFactory< T_CreationType > &  orig)
private
template<typename T_CreationType>
virtual void DtStringKeyFactory< T_CreationType >::addCreatorFcn ( const DtString type,
DtCreatorFcn  fcn 
)
virtual
template<typename T_CreationType>
virtual T_CreationType* DtStringKeyFactory< T_CreationType >::createItem ( const DtString type) const
virtual
template<typename T_CreationType>
static DtStringKeyFactory<T_CreationType>* DtStringKeyFactory< T_CreationType >::create ( )
static
template<typename T_CreationType>
const DtCreatorFunctionMap& DtStringKeyFactory< T_CreationType >::functionMap ( ) const
inline

Member Data Documentation

template<typename T_CreationType>
DtCreatorFunctionMap DtStringKeyFactory< T_CreationType >::myCreatorFunctionMap
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)