Geant4  10.01.p02
G4PersistencyCenterMessenger Class Reference

#include <G4PersistencyCenterMessenger.hh>

+ Inheritance diagram for G4PersistencyCenterMessenger:
+ Collaboration diagram for G4PersistencyCenterMessenger:

Public Member Functions

 G4PersistencyCenterMessenger (G4PersistencyCenter *p)
 
 ~G4PersistencyCenterMessenger ()
 
void SetNewValue (G4UIcommand *command, G4String newValues)
 
G4String GetCurrentValue (G4UIcommand *command)
 
- Public Member Functions inherited from G4UImessenger
 G4UImessenger ()
 
 G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
virtual ~G4UImessenger ()
 
G4bool operator== (const G4UImessenger &messenger) const
 
G4bool CommandsShouldBeInMaster () const
 

Private Member Functions

std::string PopWord (std::string text, int n, std::string delim)
 

Private Attributes

G4PersistencyCenterpc
 
G4UIdirectorydirectory
 
G4UIdirectorysubdir1
 
G4UIdirectorysubdir2
 
G4UIdirectorysubdir3
 
G4UIdirectorysubdir4
 
G4UIdirectorysubdir5
 
G4UIcmdWithAnIntegerverboseCmd
 
G4UIcmdWithAStringselect
 
G4UIcmdWithAStringregHitIO
 
std::vector< std::string > wrObj
 
std::vector< std::string > rdObj
 
std::vector< G4UIcmdWithAString * > storeObj
 
std::vector< G4UIcmdWithAString * > setWrFile
 
std::vector< G4UIcmdWithAString * > setRdFile
 
G4UIcmdWithoutParameterprintAll
 

Additional Inherited Members

- Protected Member Functions inherited from G4UImessenger
G4String ItoS (G4int i)
 
G4String DtoS (G4double a)
 
G4String BtoS (G4bool b)
 
G4int StoI (G4String s)
 
G4double StoD (G4String s)
 
G4bool StoB (G4String s)
 
void AddUIcommand (G4UIcommand *newCommand)
 
void CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
 
template<typename T >
T * CreateCommand (const G4String &cname, const G4String &dsc)
 
- Protected Attributes inherited from G4UImessenger
G4UIdirectorybaseDir
 
G4String baseDirName
 
G4bool commandsShouldBeInMaster
 

Detailed Description

Definition at line 47 of file G4PersistencyCenterMessenger.hh.

Constructor & Destructor Documentation

G4PersistencyCenterMessenger::G4PersistencyCenterMessenger ( G4PersistencyCenter p)
G4PersistencyCenterMessenger::~G4PersistencyCenterMessenger ( )

Member Function Documentation

G4String G4PersistencyCenterMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 203 of file G4PersistencyCenterMessenger.cc.

References G4PersistencyCenter::CurrentHCIOmanager(), G4PersistencyCenter::CurrentReadFile(), G4PersistencyCenter::CurrentStoreMode(), G4PersistencyCenter::CurrentSystem(), G4PersistencyCenter::CurrentWriteFile(), kOff, kOn, kRecycle, pc, rdObj, regHitIO, select, setRdFile, setWrFile, storeObj, G4PersistencyCenter::VerboseLevel(), and wrObj.

+ Here is the call graph for this function:

std::string G4PersistencyCenterMessenger::PopWord ( std::string  text,
int  n,
std::string  delim 
)
private

Definition at line 254 of file G4PersistencyCenterMessenger.cc.

References n, p0, and p1.

Referenced by SetNewValue().

+ Here is the caller graph for this function:

void G4PersistencyCenterMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Member Data Documentation

G4UIdirectory* G4PersistencyCenterMessenger::directory
private
G4PersistencyCenter* G4PersistencyCenterMessenger::pc
private

Definition at line 69 of file G4PersistencyCenterMessenger.hh.

Referenced by GetCurrentValue(), and SetNewValue().

G4UIcmdWithoutParameter* G4PersistencyCenterMessenger::printAll
private
std::vector<std::string> G4PersistencyCenterMessenger::rdObj
private
G4UIcmdWithAString* G4PersistencyCenterMessenger::regHitIO
private
G4UIcmdWithAString* G4PersistencyCenterMessenger::select
private
std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::setRdFile
private
std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::setWrFile
private
std::vector<G4UIcmdWithAString*> G4PersistencyCenterMessenger::storeObj
private
G4UIdirectory * G4PersistencyCenterMessenger::subdir1
private
G4UIdirectory * G4PersistencyCenterMessenger::subdir2
private
G4UIdirectory * G4PersistencyCenterMessenger::subdir3
private
G4UIdirectory * G4PersistencyCenterMessenger::subdir4
private
G4UIdirectory * G4PersistencyCenterMessenger::subdir5
private
G4UIcmdWithAnInteger* G4PersistencyCenterMessenger::verboseCmd
private
std::vector<std::string> G4PersistencyCenterMessenger::wrObj
private

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