Geant4  10.03
G4ParticleMessenger Class Reference

#include <G4ParticleMessenger.hh>

+ Inheritance diagram for G4ParticleMessenger:
+ Collaboration diagram for G4ParticleMessenger:

Public Member Functions

 G4ParticleMessenger (G4ParticleTable *pTable=0)
 
virtual ~G4ParticleMessenger ()
 
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

 G4ParticleMessenger (const G4ParticleMessenger &)
 

Private Attributes

G4UIdirectorythisDirectory
 
G4UIcmdWithAStringlistCmd
 
G4UIcmdWithAStringselectCmd
 
G4UIcmdWithAnIntegerfindCmd
 
G4UIcmdWithoutParametercreateAllIonCmd
 
G4UIcmdWithoutParametercreateAllIsomerCmd
 
G4UIcmdWithAnIntegerverboseCmd
 
G4ParticleTabletheParticleTable
 
G4ParticleDefinitioncurrentParticle
 
G4ParticlePropertyMessengerfParticlePropertyMessenger
 

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 93 of file G4ParticleMessenger.hh.

Constructor & Destructor Documentation

G4ParticleMessenger::~G4ParticleMessenger ( )
virtual
G4ParticleMessenger::G4ParticleMessenger ( const G4ParticleMessenger )
inlineprivate

Definition at line 105 of file G4ParticleMessenger.hh.

Member Function Documentation

G4String G4ParticleMessenger::GetCurrentValue ( G4UIcommand command)
virtual

Reimplemented from G4UImessenger.

Definition at line 203 of file G4ParticleMessenger.cc.

References G4UIcommand::ConvertToString(), currentParticle, G4ParticleTable::GetIterator(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetVerboseLevel(), selectCmd, G4UIcmdWithAString::SetCandidates(), theParticleTable, G4ParticleTableIterator< K, V >::value(), and verboseCmd.

+ Here is the call graph for this function:

Member Data Documentation

G4UIcmdWithoutParameter* G4ParticleMessenger::createAllIonCmd
private

Definition at line 112 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), SetNewValue(), and ~G4ParticleMessenger().

G4UIcmdWithoutParameter* G4ParticleMessenger::createAllIsomerCmd
private

Definition at line 113 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), SetNewValue(), and ~G4ParticleMessenger().

G4ParticleDefinition* G4ParticleMessenger::currentParticle
private

Definition at line 117 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), GetCurrentValue(), and SetNewValue().

G4UIcmdWithAnInteger* G4ParticleMessenger::findCmd
private

Definition at line 111 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), SetNewValue(), and ~G4ParticleMessenger().

G4ParticlePropertyMessenger* G4ParticleMessenger::fParticlePropertyMessenger
private

Definition at line 119 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), and ~G4ParticleMessenger().

G4UIcmdWithAString* G4ParticleMessenger::listCmd
private

Definition at line 109 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), SetNewValue(), and ~G4ParticleMessenger().

G4UIcmdWithAString* G4ParticleMessenger::selectCmd
private
G4ParticleTable* G4ParticleMessenger::theParticleTable
private

Definition at line 116 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), GetCurrentValue(), and SetNewValue().

G4UIdirectory* G4ParticleMessenger::thisDirectory
private

Definition at line 105 of file G4ParticleMessenger.hh.

Referenced by G4ParticleMessenger(), and ~G4ParticleMessenger().

G4UIcmdWithAnInteger* G4ParticleMessenger::verboseCmd
private

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