Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VModelFactory< typename > Class Template Referenceabstract

#include <G4VisManager.hh>

Public Types

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

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<typename>
class G4VModelFactory< typename >

Definition at line 115 of file G4VisManager.hh.

Member Typedef Documentation

template<typename >
typedef std::vector<G4UImessenger*> G4VModelFactory< typename >::Messengers

Definition at line 51 of file G4VModelFactory.hh.

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

Definition at line 52 of file G4VModelFactory.hh.

Constructor & Destructor Documentation

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

Definition at line 71 of file G4VModelFactory.hh.

72  :fName(name)
73 {}
template<typename T >
G4VModelFactory< T >::~G4VModelFactory ( )
virtual

Definition at line 76 of file G4VModelFactory.hh.

76 {}

Member Function Documentation

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

Definition at line 80 of file G4VModelFactory.hh.

81 {
82  return fName;
83 }
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: