Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4CrossSectionFactory< T, mode > Class Template Reference

#include <G4CrossSectionFactory.hh>

Inheritance diagram for G4CrossSectionFactory< T, mode >:
Collaboration diagram for G4CrossSectionFactory< T, mode >:

Public Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 

Detailed Description

template<typename T, int mode>
class G4CrossSectionFactory< T, mode >

Definition at line 46 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

template<typename T , int mode>
G4CrossSectionFactory< T, mode >::G4CrossSectionFactory ( const G4String name)
inline

Definition at line 49 of file G4CrossSectionFactory.hh.

50  {
52  }
void Register(const G4String &name, G4VBaseXSFactory *factory)
static G4CrossSectionFactoryRegistry * Instance()

Here is the call graph for this function:

Member Function Documentation

template<typename T , int mode>
virtual G4VCrossSectionDataSet* G4CrossSectionFactory< T, mode >::Instantiate ( )
inlinevirtual

Implements G4VBaseXSFactory.

Definition at line 54 of file G4CrossSectionFactory.hh.

55  {
57  msg<<"Factory mode: "<<mode<<" not supported!";
58  G4Exception("G4CrossSectionFactory::Instantiate","CrossSectionFactory001",FatalException,msg);
59  return static_cast<T*>(0);
60  }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Here is the call graph for this function:


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