Geant4 11.2.2
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 46 of file G4VModelFactory.hh.

Member Typedef Documentation

◆ Messengers

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

Definition at line 50 of file G4VModelFactory.hh.

◆ ModelAndMessengers

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

Definition at line 51 of file G4VModelFactory.hh.

Constructor & Destructor Documentation

◆ G4VModelFactory()

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

Definition at line 70 of file G4VModelFactory.hh.

71 :fName(name)
72{}

◆ ~G4VModelFactory()

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

Definition at line 75 of file G4VModelFactory.hh.

75{}

Member Function Documentation

◆ Create()

◆ Name()

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

Definition at line 79 of file G4VModelFactory.hh.

80{
81 return fName;
82}

◆ Print()

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

Definition at line 86 of file G4VModelFactory.hh.

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

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