Geant4  10.01.p03
G4CreatorFactoryT< T, Identifier, Creator > Singleton Reference

#include <G4CreatorFactoryT.hh>

Public Member Functions

 G4CreatorFactoryT ()
 
virtual ~G4CreatorFactoryT ()
 
G4bool Register (const Identifier &id, Creator creator)
 
T * Create (const Identifier &id) const
 

Private Types

typedef std::map< Identifier,
Creator > 
Map
 

Private Attributes

Map fMap
 

Detailed Description

template<typename T, typename Identifier, typename Creator>
singleton G4CreatorFactoryT< T, Identifier, Creator >

Definition at line 40 of file G4CreatorFactoryT.hh.

Member Typedef Documentation

template<typename T , typename Identifier , typename Creator >
typedef std::map<Identifier, Creator> G4CreatorFactoryT< T, Identifier, Creator >::Map
private

Definition at line 58 of file G4CreatorFactoryT.hh.

Constructor & Destructor Documentation

template<typename T , typename Identifier , typename Creator >
G4CreatorFactoryT< T, Identifier, Creator >::G4CreatorFactoryT ( )

Definition at line 66 of file G4CreatorFactoryT.hh.

template<typename T , typename Identifier , typename Creator >
G4CreatorFactoryT< T, Identifier, Creator >::~G4CreatorFactoryT ( )
virtual

Definition at line 69 of file G4CreatorFactoryT.hh.

Member Function Documentation

template<typename T , typename Identifier , typename Creator >
T * G4CreatorFactoryT< T, Identifier, Creator >::Create ( const Identifier &  id) const

Definition at line 93 of file G4CreatorFactoryT.hh.

References G4endl, G4Exception(), and JustWarning.

+ Here is the call graph for this function:

template<typename T , typename Identifier , typename Creator >
G4bool G4CreatorFactoryT< T, Identifier, Creator >::Register ( const Identifier &  id,
Creator  creator 
)

Definition at line 73 of file G4CreatorFactoryT.hh.

References G4endl, G4Exception(), and JustWarning.

Referenced by G4AttFilterUtils::GetAttValueFilterFactory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<typename T , typename Identifier , typename Creator >
Map G4CreatorFactoryT< T, Identifier, Creator >::fMap
private

Definition at line 61 of file G4CreatorFactoryT.hh.


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