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

#include <G4PersistencyManagerT.hh>

Inheritance diagram for G4PersistencyManagerT< T >:
Collaboration diagram for G4PersistencyManagerT< T >:

Public Member Functions

 G4PersistencyManagerT (G4PersistencyCenter *pc, std::string n)
 
 ~G4PersistencyManagerT ()
 
G4PersistencyManagerCreate ()
 
void Delete ()
 
G4VPEventIOEventIO ()
 
G4VPHitIOHitIO ()
 
G4VPDigitIODigitIO ()
 
G4VHepMCIO * HepMCIO ()
 
G4VMCTruthIOMCTruthIO ()
 
G4VTransactionManagerTransactionManager ()
 
void Initialize ()
 
void SetVerboseLevel (int v)
 
- Public Member Functions inherited from G4PersistencyManager
 G4PersistencyManager (G4PersistencyCenter *pc, std::string n)
 
virtual ~G4PersistencyManager ()
 
std::string GetName ()
 
void SetVerboseLevel (int v)
 
G4bool Store (const G4Event *evt)
 
G4bool Retrieve (G4Event *&evt)
 
G4bool Store (const G4Run *)
 
G4bool Retrieve (G4Run *&)
 
G4bool Store (const G4VPhysicalVolume *)
 
G4bool Retrieve (G4VPhysicalVolume *&)
 
- Public Member Functions inherited from G4VPersistencyManager
virtual ~G4VPersistencyManager ()
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPersistencyManager
static G4VPersistencyManagerGetPersistencyManager ()
 
- Protected Member Functions inherited from G4VPersistencyManager
 G4VPersistencyManager ()
 
- Static Protected Member Functions inherited from G4PersistencyManager
static G4PersistencyManagerGetPersistencyManager ()
 
- Protected Attributes inherited from G4PersistencyManager
G4PersistencyCenterf_pc
 
int m_verbose
 

Detailed Description

template<class T>
class G4PersistencyManagerT< T >

Definition at line 42 of file G4PersistencyManagerT.hh.

Constructor & Destructor Documentation

template<class T >
G4PersistencyManagerT< T >::G4PersistencyManagerT ( G4PersistencyCenter pc,
std::string  n 
)
inline

Definition at line 46 of file G4PersistencyManagerT.hh.

47  : G4PersistencyManager(pc, n), pm(0)
48  {
49  if ( m_verbose > 2 ) {
50  G4cout << "G4PersistencyManagerT: Registering G4PersistencyManager \""
51  << n << "\"" << G4endl;
52  }
54  RegisterPersistencyManager(this);
55  }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
G4PersistencyManager(G4PersistencyCenter *pc, std::string n)
static G4PersistencyCenter * GetPersistencyCenter()

Here is the call graph for this function:

template<class T >
G4PersistencyManagerT< T >::~G4PersistencyManagerT ( )
inline

Definition at line 58 of file G4PersistencyManagerT.hh.

58 {};

Member Function Documentation

template<class T >
G4PersistencyManager* G4PersistencyManagerT< T >::Create ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 62 of file G4PersistencyManagerT.hh.

63  {
64  pm = new T(f_pc, GetName());
65  return pm;
66  }
G4PersistencyCenter * f_pc

Here is the call graph for this function:

template<class T >
void G4PersistencyManagerT< T >::Delete ( )
inline

Definition at line 69 of file G4PersistencyManagerT.hh.

69 { if (pm!=0) delete pm; };
template<class T >
G4VPDigitIO* G4PersistencyManagerT< T >::DigitIO ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 86 of file G4PersistencyManagerT.hh.

87  {
88  if (pm) return pm->DigitIO();
89  else return 0;
90  };
virtual G4VPDigitIO * DigitIO()

Here is the call graph for this function:

template<class T >
G4VPEventIO* G4PersistencyManagerT< T >::EventIO ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 72 of file G4PersistencyManagerT.hh.

73  {
74  if (pm) return pm->EventIO();
75  else return 0;
76  };
virtual G4VPEventIO * EventIO()

Here is the call graph for this function:

template<class T >
G4VHepMCIO* G4PersistencyManagerT< T >::HepMCIO ( )
inline

Definition at line 93 of file G4PersistencyManagerT.hh.

94  {
95  if (pm) return pm->HepMCIO();
96  else return 0;
97  };
template<class T >
G4VPHitIO* G4PersistencyManagerT< T >::HitIO ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 79 of file G4PersistencyManagerT.hh.

80  {
81  if (pm) return pm->HitIO();
82  else return 0;
83  };
virtual G4VPHitIO * HitIO()

Here is the call graph for this function:

template<class T >
void G4PersistencyManagerT< T >::Initialize ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 114 of file G4PersistencyManagerT.hh.

114 {};
template<class T >
G4VMCTruthIO* G4PersistencyManagerT< T >::MCTruthIO ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 100 of file G4PersistencyManagerT.hh.

101  {
102  if (pm) return pm->MCTruthIO();
103  else return 0;
104  };
virtual G4VMCTruthIO * MCTruthIO()

Here is the call graph for this function:

template<class T >
void G4PersistencyManagerT< T >::SetVerboseLevel ( int  v)
inline

Definition at line 117 of file G4PersistencyManagerT.hh.

118  {
119  if (pm) return pm->SetVerboseLevel();
120  else return 0;
121  };

Here is the call graph for this function:

template<class T >
G4VTransactionManager* G4PersistencyManagerT< T >::TransactionManager ( )
inlinevirtual

Reimplemented from G4PersistencyManager.

Definition at line 107 of file G4PersistencyManagerT.hh.

108  {
109  if (pm) return pm->TransactionManager();
110  else return 0;
111  };
virtual G4VTransactionManager * TransactionManager()

Here is the call graph for this function:


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