Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITTypeManager Class Reference

#include <G4ITType.hh>

Public Member Functions

G4ITType NewType ()
 
size_t size () const
 

Static Public Member Functions

static G4ITTypeManagerInstance ()
 
static void DeleteInstance ()
 

Detailed Description

Definition at line 83 of file G4ITType.hh.

Member Function Documentation

◆ DeleteInstance()

void G4ITTypeManager::DeleteInstance ( )
static

Definition at line 62 of file G4ITType.cc.

63{
64 delete fgInstance ;
65}

◆ Instance()

G4ITTypeManager * G4ITTypeManager::Instance ( )
static

Definition at line 53 of file G4ITType.cc.

54{
55 if(fgInstance == 0)
56 {
57 fgInstance = new G4ITTypeManager();
58 }
59 return fgInstance;
60}

Referenced by G4ITType::size().

◆ NewType()

G4ITType G4ITTypeManager::NewType ( )

Definition at line 78 of file G4ITType.cc.

79{
80 G4ITType newType = fLastType;
81 fLastType++;
82 return newType;
83}

◆ size()

size_t G4ITTypeManager::size ( ) const

Definition at line 73 of file G4ITType.cc.

74{
75 return fLastType;
76}

Referenced by G4ITType::size().


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