Geant4
10.01.p03
|
#include <G4CrossSectionFactoryRegistry.hh>
Public Member Functions | |
G4VBaseXSFactory * | GetFactory (const G4String &name, G4bool abortIfNotFound=true) const |
void | Register (const G4String &name, G4VBaseXSFactory *factory) |
Static Public Member Functions | |
static G4CrossSectionFactoryRegistry * | Instance () |
Private Member Functions | |
G4CrossSectionFactoryRegistry () | |
G4CrossSectionFactoryRegistry (const G4CrossSectionFactoryRegistry &) | |
G4CrossSectionFactoryRegistry & | operator= (const G4CrossSectionFactoryRegistry &) |
Private Attributes | |
std::map< G4String, G4VBaseXSFactory * > | factories |
Static Private Attributes | |
static G4CrossSectionFactoryRegistry * | instance = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &, const G4CrossSectionFactoryRegistry &) |
Definition at line 48 of file G4CrossSectionFactoryRegistry.hh.
|
private |
Definition at line 48 of file G4CrossSectionFactoryRegistry.cc.
Referenced by Instance().
|
private |
Definition at line 52 of file G4CrossSectionFactoryRegistry.cc.
References FatalException, and G4Exception().
G4VBaseXSFactory * G4CrossSectionFactoryRegistry::GetFactory | ( | const G4String & | name, |
G4bool | abortIfNotFound = true |
||
) | const |
Definition at line 78 of file G4CrossSectionFactoryRegistry.cc.
References factories, FatalException, and G4Exception().
Referenced by G4CrossSectionDataSetRegistry::GetCrossSectionDataSet().
|
static |
Definition at line 41 of file G4CrossSectionFactoryRegistry.cc.
References G4CrossSectionFactoryRegistry(), and instance.
Referenced by G4CrossSectionFactory< T, mode >::G4CrossSectionFactory(), G4CrossSectionFactory< T, 0 >::G4CrossSectionFactory(), G4CrossSectionFactory< T, 1 >::G4CrossSectionFactory(), G4CrossSectionFactory< T, 2 >::G4CrossSectionFactory(), and G4CrossSectionDataSetRegistry::GetCrossSectionDataSet().
|
private |
Definition at line 57 of file G4CrossSectionFactoryRegistry.cc.
References FatalException, and G4Exception().
void G4CrossSectionFactoryRegistry::Register | ( | const G4String & | name, |
G4VBaseXSFactory * | factory | ||
) |
Definition at line 64 of file G4CrossSectionFactoryRegistry.cc.
References factories, G4Exception(), JustWarning, and name.
Referenced by G4CrossSectionFactory< T, mode >::G4CrossSectionFactory(), G4CrossSectionFactory< T, 0 >::G4CrossSectionFactory(), G4CrossSectionFactory< T, 1 >::G4CrossSectionFactory(), and G4CrossSectionFactory< T, 2 >::G4CrossSectionFactory().
|
friend |
Definition at line 98 of file G4CrossSectionFactoryRegistry.cc.
|
private |
Definition at line 52 of file G4CrossSectionFactoryRegistry.hh.
Referenced by GetFactory(), and Register().
|
staticprivate |
Definition at line 53 of file G4CrossSectionFactoryRegistry.hh.
Referenced by Instance().