Geant4  10.01.p03
G4tgrParameterMgr Class Reference

#include <G4tgrParameterMgr.hh>

+ Collaboration diagram for G4tgrParameterMgr:

Public Member Functions

void AddParameterNumber (const std::vector< G4String > &wl, G4bool mustBeNew=0)
 
void AddParameterString (const std::vector< G4String > &wl, G4bool mustBeNew=0)
 
void CheckIfNewParameter (const std::vector< G4String > &wl, G4bool mustBeNew)
 
G4String FindParameter (const G4String &name, G4bool exists=true)
 
void DumpList ()
 

Static Public Member Functions

static G4tgrParameterMgrGetInstance ()
 

Private Member Functions

 G4tgrParameterMgr ()
 
 ~G4tgrParameterMgr ()
 

Private Attributes

G4mapss theParameterList
 

Static Private Attributes

static G4ThreadLocal
G4tgrParameterMgr
theInstance = 0
 

Detailed Description

Definition at line 50 of file G4tgrParameterMgr.hh.

Constructor & Destructor Documentation

G4tgrParameterMgr::G4tgrParameterMgr ( )
private

Definition at line 48 of file G4tgrParameterMgr.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

G4tgrParameterMgr::~G4tgrParameterMgr ( )
private

Definition at line 54 of file G4tgrParameterMgr.cc.

References theInstance.

Member Function Documentation

void G4tgrParameterMgr::AddParameterNumber ( const std::vector< G4String > &  wl,
G4bool  mustBeNew = 0 
)

Definition at line 72 of file G4tgrParameterMgr.cc.

References CheckIfNewParameter(), G4UIcommand::ConvertToString(), G4cout, G4endl, G4tgrUtils::GetDouble(), G4tgrMessenger::GetVerboseLevel(), and theParameterList.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrParameterMgr::AddParameterString ( const std::vector< G4String > &  wl,
G4bool  mustBeNew = 0 
)

Definition at line 94 of file G4tgrParameterMgr.cc.

References CheckIfNewParameter(), G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), and theParameterList.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrParameterMgr::CheckIfNewParameter ( const std::vector< G4String > &  wl,
G4bool  mustBeNew 
)

Definition at line 113 of file G4tgrParameterMgr.cc.

References G4tgrUtils::CheckWLsize(), FatalException, G4Exception(), JustWarning, theParameterList, and WLSIZE_EQ.

Referenced by AddParameterNumber(), and AddParameterString().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrParameterMgr::DumpList ( )

Definition at line 183 of file G4tgrParameterMgr.cc.

References G4cout, G4endl, and theParameterList.

Referenced by FindParameter().

+ Here is the caller graph for this function:

G4String G4tgrParameterMgr::FindParameter ( const G4String name,
G4bool  exists = true 
)

Definition at line 150 of file G4tgrParameterMgr.cc.

References DumpList(), FatalException, G4cout, G4endl, G4Exception(), G4tgrMessenger::GetVerboseLevel(), name, and theParameterList.

Referenced by G4tgrUtils::GetDouble(), and G4tgrUtils::GetString().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrParameterMgr * G4tgrParameterMgr::GetInstance ( void  )
static

Definition at line 61 of file G4tgrParameterMgr.cc.

References G4tgrParameterMgr(), and theInstance.

Referenced by G4tgrUtils::GetDouble(), G4tgrUtils::GetString(), and G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4ThreadLocal G4tgrParameterMgr * G4tgrParameterMgr::theInstance = 0
staticprivate

Definition at line 84 of file G4tgrParameterMgr.hh.

Referenced by GetInstance(), and ~G4tgrParameterMgr().

G4mapss G4tgrParameterMgr::theParameterList
private

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