Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4TableTemplate.hh>
Public Member Functions | |
G4TableTemplate ()=default | |
void | G4AddContainer (T *NewContainer) |
G4TableTemplate * | G4GetTable () |
T * | G4GetContainer (unsigned int WhichContainer) |
T * | G4GetNewContainer () |
T * | G4GetNewContainer (G4int DefaultValue) |
G4long | G4GetNumberOfElements () |
~G4TableTemplate () | |
G4TableTemplate is essentially a wrapper around a std::vector designed to work specifically with pointers.
Definition at line 45 of file G4TableTemplate.hh.
|
default |
Default constructor
G4TableTemplate< T >::~G4TableTemplate | ( | ) |
Definition at line 115 of file G4TableTemplate.hh.
void G4TableTemplate< T >::G4AddContainer | ( | T * | NewContainer | ) |
Adds a container to the table
Definition at line 71 of file G4TableTemplate.hh.
T * G4TableTemplate< T >::G4GetContainer | ( | unsigned int | WhichContainer | ) |
Retrieve a container from the table
Definition at line 83 of file G4TableTemplate.hh.
Referenced by G4ENDFTapeRead::G4GetYield().
T * G4TableTemplate< T >::G4GetNewContainer | ( | ) |
Create a new blank container
Definition at line 93 of file G4TableTemplate.hh.
T * G4TableTemplate< T >::G4GetNewContainer | ( | G4int | DefaultValue | ) |
Create a new container that is constructed with a G4int
Definition at line 101 of file G4TableTemplate.hh.
G4long G4TableTemplate< T >::G4GetNumberOfElements | ( | ) |
Get the number of elements in the table
Definition at line 109 of file G4TableTemplate.hh.
Referenced by G4ENDFTapeRead::G4GetNumberOfFissionProducts().
G4TableTemplate< T > * G4TableTemplate< T >::G4GetTable | ( | ) |
Gets a pointer to the table
Definition at line 77 of file G4TableTemplate.hh.