ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TableTemplate< T > Class Template Reference

#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/particle_hp/include/G4TableTemplate.hh>

+ Collaboration diagram for G4TableTemplate< T >:

Public Member Functions

 G4TableTemplate (void)
 
void G4AddContainer (T *NewContainer)
 
G4TableTemplateG4GetTable (void)
 
TG4GetContainer (unsigned int WhichContainer)
 
TG4GetNewContainer (void)
 
TG4GetNewContainer (G4int DefaultValue)
 
G4long G4GetNumberOfElements (void)
 
 ~G4TableTemplate (void)
 

Private Attributes

std::vector< T * > ContainerTable_
 

Detailed Description

template<class T>
class G4TableTemplate< T >

G4TableTemplate is essentially a wrapper around a std::vector designed to work specifically with pointers.

Definition at line 46 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 46 of file G4TableTemplate.hh

Constructor & Destructor Documentation

template<class T >
G4TableTemplate< T >::G4TableTemplate ( void  )

Default constructor

Definition at line 73 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 73 of file G4TableTemplate.hh

template<class T >
G4TableTemplate< T >::~G4TableTemplate ( void  )

Definition at line 131 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 131 of file G4TableTemplate.hh

Member Function Documentation

template<class T>
void G4TableTemplate< T >::G4AddContainer ( T NewContainer)

Adds a container to the table

Definition at line 80 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 80 of file G4TableTemplate.hh

template<class T >
T * G4TableTemplate< T >::G4GetContainer ( unsigned int  WhichContainer)

Retrieve a container from the table

Definition at line 94 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 94 of file G4TableTemplate.hh

Referenced by G4ENDFTapeRead::G4GetYield().

+ Here is the caller graph for this function:

template<class T >
T * G4TableTemplate< T >::G4GetNewContainer ( void  )

Create a new blank container

Definition at line 106 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 106 of file G4TableTemplate.hh

References T.

Referenced by G4ENDFTapeRead::ReadInData().

+ Here is the caller graph for this function:

template<class T >
T * G4TableTemplate< T >::G4GetNewContainer ( G4int  DefaultValue)

Create a new container that is constructed with a G4int

Definition at line 115 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 115 of file G4TableTemplate.hh

References T.

template<class T >
G4long G4TableTemplate< T >::G4GetNumberOfElements ( void  )

Get the number of elements in the table

Definition at line 124 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 124 of file G4TableTemplate.hh

Referenced by G4ENDFTapeRead::G4GetNumberOfFissionProducts().

+ Here is the caller graph for this function:

template<class T >
G4TableTemplate< T > * G4TableTemplate< T >::G4GetTable ( void  )

Gets a pointer to the table

Definition at line 87 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 87 of file G4TableTemplate.hh

Member Data Documentation

template<class T>
std::vector<T*> G4TableTemplate< T >::ContainerTable_
private

Definition at line 65 of file G4TableTemplate.hh.

View newest version in sPHENIX GitHub at line 65 of file G4TableTemplate.hh


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