Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VModelFactory< T > Class Template Referenceabstract

#include <G4VModelFactory.hh>

Public Types

typedef std::vector< G4UImessenger * > Messengers
 
typedef std::pair< T *, MessengersModelAndMessengers
 

Public Member Functions

 G4VModelFactory (const G4String &name)
 
virtual ~G4VModelFactory ()
 
G4String Name ()
 
virtual ModelAndMessengers Create (const G4String &placement, const G4String &modelName)=0
 
void Print (std::ostream &ostr) const
 

Detailed Description

template<class T>
class G4VModelFactory< T >

Definition at line 47 of file G4VModelFactory.hh.

Member Typedef Documentation

◆ Messengers

template<class T >
typedef std::vector<G4UImessenger*> G4VModelFactory< T >::Messengers

Definition at line 51 of file G4VModelFactory.hh.

◆ ModelAndMessengers

template<class T >
typedef std::pair<T*, Messengers> G4VModelFactory< T >::ModelAndMessengers

Definition at line 52 of file G4VModelFactory.hh.

Constructor & Destructor Documentation

◆ G4VModelFactory()

template<typename T >
G4VModelFactory< T >::G4VModelFactory ( const G4String name)

Definition at line 71 of file G4VModelFactory.hh.

72 :fName(name)
73{}

◆ ~G4VModelFactory()

template<typename T >
G4VModelFactory< T >::~G4VModelFactory
virtual

Definition at line 76 of file G4VModelFactory.hh.

76{}

Member Function Documentation

◆ Create()

◆ Name()

template<typename T >
G4String G4VModelFactory< T >::Name

Definition at line 80 of file G4VModelFactory.hh.

81{
82 return fName;
83}

◆ Print()

template<typename T >
void G4VModelFactory< T >::Print ( std::ostream &  ostr) const

Definition at line 87 of file G4VModelFactory.hh.

88{
89 ostr<<" "<<fName<<std::endl;
90}

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