G4DCIOentryT< T > Class Template Reference

#include <G4DCIOentryT.hh>

Inheritance diagram for G4DCIOentryT< T >:

G4VDCIOentry

Public Member Functions

 G4DCIOentryT (std::string n)
 ~G4DCIOentryT ()
void CreateDCIOmanager (std::string detName, std::string colName)
void DeleteDCIOmanager ()

Detailed Description

template<class T>
class G4DCIOentryT< T >

Definition at line 44 of file G4DCIOentryT.hh.


Constructor & Destructor Documentation

template<class T>
G4DCIOentryT< T >::G4DCIOentryT ( std::string  n  )  [inline]

template<class T>
G4DCIOentryT< T >::~G4DCIOentryT (  )  [inline]

Definition at line 58 of file G4DCIOentryT.hh.

00058 {};


Member Function Documentation

template<class T>
void G4DCIOentryT< T >::CreateDCIOmanager ( std::string  detName,
std::string  colName 
) [inline, virtual]

Reimplemented from G4VDCIOentry.

Definition at line 62 of file G4DCIOentryT.hh.

References G4cout, G4endl, G4DCIOcatalog::GetDCIOcatalog(), G4VDCIOentry::m_verbose, G4DCIOcatalog::PrintDCIOmanager(), and G4DCIOcatalog::RegisterDCIOmanager().

00063       {
00064         if ( f_manager == 0 ) {
00065           f_manager = new T( detName, colName );
00066           if ( m_verbose > 2 ) {
00067             G4cout << "G4DCIOentryT: Constructing DigitsCollection IO manager"
00068                    << " for \"" << detName << "\" " << f_manager <<  G4endl;
00069           }
00070           G4DCIOcatalog::GetDCIOcatalog()->RegisterDCIOmanager(f_manager);
00071           if ( m_verbose > 2 ) {
00072             G4DCIOcatalog::GetDCIOcatalog()->PrintDCIOmanager();
00073           }
00074         }
00075       }

template<class T>
void G4DCIOentryT< T >::DeleteDCIOmanager (  )  [inline]

Definition at line 78 of file G4DCIOentryT.hh.

00078 { if (f_manager!=0) delete f_manager; };


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:51:44 2013 for Geant4 by  doxygen 1.4.7