Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
G4CrossSectionFactory< T, 0 > Class Template Reference

#include <G4CrossSectionFactory.hh>

Inheritance diagram for G4CrossSectionFactory< T, 0 >:
G4VBaseXSFactory

Public Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 

Detailed Description

template<typename T>
class G4CrossSectionFactory< T, 0 >

Definition at line 65 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

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

Definition at line 69 of file G4CrossSectionFactory.hh.

References G4CrossSectionFactoryRegistry::Instance(), and G4CrossSectionFactoryRegistry::Register().

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

Member Function Documentation

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

Implements G4VBaseXSFactory.

Definition at line 74 of file G4CrossSectionFactory.hh.

75  {
76  return new T();
77  }

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