Geant4  10.01.p03
G4CrossSectionFactoryRegistry Class Reference

#include <G4CrossSectionFactoryRegistry.hh>

+ Collaboration diagram for G4CrossSectionFactoryRegistry:

Public Member Functions

G4VBaseXSFactoryGetFactory (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 &)
 
G4CrossSectionFactoryRegistryoperator= (const G4CrossSectionFactoryRegistry &)
 

Private Attributes

std::map< G4String,
G4VBaseXSFactory * > 
factories
 

Static Private Attributes

static
G4CrossSectionFactoryRegistry
instance = 0
 

Friends

std::ostream & operator<< (std::ostream &, const G4CrossSectionFactoryRegistry &)
 

Detailed Description

Definition at line 48 of file G4CrossSectionFactoryRegistry.hh.

Constructor & Destructor Documentation

G4CrossSectionFactoryRegistry::G4CrossSectionFactoryRegistry ( )
private

Definition at line 48 of file G4CrossSectionFactoryRegistry.cc.

Referenced by Instance().

+ Here is the caller graph for this function:

G4CrossSectionFactoryRegistry::G4CrossSectionFactoryRegistry ( const G4CrossSectionFactoryRegistry )
private

Definition at line 52 of file G4CrossSectionFactoryRegistry.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4CrossSectionFactoryRegistry * G4CrossSectionFactoryRegistry::Instance ( void  )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4CrossSectionFactoryRegistry & G4CrossSectionFactoryRegistry::operator= ( const G4CrossSectionFactoryRegistry )
private

Definition at line 57 of file G4CrossSectionFactoryRegistry.cc.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  msg,
const G4CrossSectionFactoryRegistry rhs 
)
friend

Definition at line 98 of file G4CrossSectionFactoryRegistry.cc.

Member Data Documentation

std::map<G4String, G4VBaseXSFactory*> G4CrossSectionFactoryRegistry::factories
private

Definition at line 52 of file G4CrossSectionFactoryRegistry.hh.

Referenced by GetFactory(), and Register().

G4CrossSectionFactoryRegistry * G4CrossSectionFactoryRegistry::instance = 0
staticprivate

Definition at line 53 of file G4CrossSectionFactoryRegistry.hh.

Referenced by Instance().


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