Geant4  10.00.p01
G4UIcmdWithAnInteger Class Reference

#include <G4UIcmdWithAnInteger.hh>

+ Inheritance diagram for G4UIcmdWithAnInteger:
+ Collaboration diagram for G4UIcmdWithAnInteger:

Public Member Functions

 G4UIcmdWithAnInteger (const char *theCommandPath, G4UImessenger *theMessenger)
 
void SetParameterName (const char *theName, G4bool omittable, G4bool currentAsDefault=false)
 
void SetDefaultValue (G4int defVal)
 
- Public Member Functions inherited from G4UIcommand
 G4UIcommand ()
 
 G4UIcommand (const char *theCommandPath, G4UImessenger *theMessenger, G4bool tBB=true)
 
virtual ~G4UIcommand ()
 
G4int operator== (const G4UIcommand &right) const
 
G4int operator!= (const G4UIcommand &right) const
 
virtual G4int DoIt (G4String parameterList)
 
G4String GetCurrentValue ()
 
void AvailableForStates (G4ApplicationState s1)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4)
 
void AvailableForStates (G4ApplicationState s1, G4ApplicationState s2, G4ApplicationState s3, G4ApplicationState s4, G4ApplicationState s5)
 
G4bool IsAvailable ()
 
virtual void List ()
 
void SetRange (const char *rs)
 
const G4StringGetRange () const
 
G4int GetGuidanceEntries () const
 
const G4StringGetGuidanceLine (G4int i) const
 
const G4StringGetCommandPath () const
 
const G4StringGetCommandName () const
 
G4int GetParameterEntries () const
 
G4UIparameterGetParameter (G4int i) const
 
std::vector< G4ApplicationState > * GetStateList ()
 
G4UImessengerGetMessenger () const
 
void SetParameter (G4UIparameter *const newParameter)
 
void SetGuidance (const char *aGuidance)
 
const G4String GetTitle () const
 
void SetToBeBroadcasted (G4bool val)
 
G4bool ToBeBroadcasted () const
 
void SetToBeFlushed (G4bool val)
 
G4bool ToBeFlushed () const
 
void SetWorkerThreadOnly (G4bool val=true)
 
G4bool IsWorkerThreadOnly () const
 

Static Public Member Functions

static G4int GetNewIntValue (const char *paramString)
 
- Static Public Member Functions inherited from G4UIcommand
static G4String ConvertToString (G4bool boolVal)
 
static G4String ConvertToString (G4int intValue)
 
static G4String ConvertToString (G4double doubleValue)
 
static G4String ConvertToString (G4double doubleValue, const char *unitName)
 
static G4String ConvertToString (G4ThreeVector vec)
 
static G4String ConvertToString (G4ThreeVector vec, const char *unitName)
 
static G4bool ConvertToBool (const char *st)
 
static G4int ConvertToInt (const char *st)
 
static G4double ConvertToDouble (const char *st)
 
static G4double ConvertToDimensionedDouble (const char *st)
 
static G4ThreeVector ConvertTo3Vector (const char *st)
 
static G4ThreeVector ConvertToDimensioned3Vector (const char *st)
 
static G4double ValueOf (const char *unitName)
 
static G4String CategoryOf (const char *unitName)
 
static G4String UnitsList (const char *unitCategory)
 

Additional Inherited Members

- Protected Member Functions inherited from G4UIcommand
G4int CheckNewValue (const char *newValue)
 
- Protected Attributes inherited from G4UIcommand
G4bool toBeBroadcasted
 
G4bool toBeFlushed
 
G4bool workerThreadOnly
 

Detailed Description

Definition at line 41 of file G4UIcmdWithAnInteger.hh.

Constructor & Destructor Documentation

G4UIcmdWithAnInteger::G4UIcmdWithAnInteger ( const char *  theCommandPath,
G4UImessenger theMessenger 
)

Definition at line 34 of file G4UIcmdWithAnInteger.cc.

Member Function Documentation

G4int G4UIcmdWithAnInteger::GetNewIntValue ( const char *  paramString)
static

Definition at line 41 of file G4UIcmdWithAnInteger.cc.

References G4UIcommand::ConvertToInt().

Referenced by GammaKnifeDetectorMessenger::SetNewValue(), GammaKnifeMessenger::SetNewValue(), CCalPrimaryGeneratorMessenger::SetNewValue(), LXeEventMessenger::SetNewValue(), RE05StackingActionMessenger::SetNewValue(), F04EventActionMessenger::SetNewValue(), RE06DetectorMessenger::SetNewValue(), OpNovicePhysicsListMessenger::SetNewValue(), EventActionMessenger::SetNewValue(), G4HnMessenger::SetNewValue(), F02EventActionMessenger::SetNewValue(), F03EventActionMessenger::SetNewValue(), WLSEventActionMessenger::SetNewValue(), WLSSteppingActionMessenger::SetNewValue(), HadrontherapyEventActionMessenger::SetNewValue(), StackingMessenger::SetNewValue(), F01EventActionMessenger::SetNewValue(), F04DetectorMessenger::SetNewValue(), F04RunActionMessenger::SetNewValue(), F04FieldMessenger::SetNewValue(), EventMessenger::SetNewValue(), exGPSEventActionMessenger::SetNewValue(), G4EvManMessenger::SetNewValue(), G4StackingMessenger::SetNewValue(), LXeDetectorMessenger::SetNewValue(), RunActionMessenger::SetNewValue(), exrdmMaterialMessenger::SetNewValue(), HistoMessenger::SetNewValue(), F02FieldMessenger::SetNewValue(), F02RunMessenger::SetNewValue(), F03FieldMessenger::SetNewValue(), F03RunMessenger::SetNewValue(), ExG4EventAction01Messenger::SetNewValue(), ExN03DetectorMessenger::SetNewValue(), FCALTBEventActionMessenger::SetNewValue(), F01FieldMessenger::SetNewValue(), F01RunMessenger::SetNewValue(), G4tgrMessenger::SetNewValue(), XrayFluoEventActionMessenger::SetNewValue(), Em10EventActionMessenger::SetNewValue(), Em10DetectorMessenger::SetNewValue(), G4HadronicEPTestMessenger::SetNewValue(), IORTEventActionMessenger::SetNewValue(), G4Pythia6DecayerMessenger::SetNewValue(), G4SDmessenger::SetNewValue(), G4DMmessenger::SetNewValue(), G4RTMessenger::SetNewValue(), WLSRunActionMessenger::SetNewValue(), G4PersistencyCenterMessenger::SetNewValue(), WLSDetectorMessenger::SetNewValue(), ExG4RunAction01Messenger::SetNewValue(), G4ParticleGunMessenger::SetNewValue(), CexmcEventActionMessenger::SetNewValue(), CML2PrimaryGenerationActionMessenger::SetNewValue(), GammaRayTelDetectorMessenger::SetNewValue(), CML2Acc1Messenger::SetNewValue(), G4GlobalMagFieldMessenger::SetNewValue(), GFlashShowerModelMessenger::SetNewValue(), G4AnalysisMessenger::SetNewValue(), GammaRayTelPrimaryGeneratorMessenger::SetNewValue(), Em10RunMessenger::SetNewValue(), G4INCLXXInterfaceMessenger::SetNewValue(), CexmcSensitiveDetectorMessenger::SetNewValue(), CexmcRunManagerMessenger::SetNewValue(), WLSPhysicsListMessenger::SetNewValue(), G4GeometryMessenger::SetNewValue(), HistoManagerMessenger::SetNewValue(), G4PolarizationMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), G4DecayTableMessenger::SetNewValue(), CML2MainMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4EmManagerMessenger::SetNewValue(), G4ProductionCutsTableMessenger::SetNewValue(), G4ParticlePropertyMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), G4ProcessManagerMessenger::SetNewValue(), G4OpticalPhysicsMessenger::SetNewValue(), G4EnergyLossMessenger::SetNewValue(), G4NistMessenger::SetNewValue(), G4UserPhysicsListMessenger::SetNewValue(), G4RadioactiveDecaymessenger::SetNewValue(), G4ParticleMessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeometryMessenger::SetVerbosity().

+ Here is the call graph for this function:

void G4UIcmdWithAnInteger::SetDefaultValue ( G4int  defVal)

Definition at line 55 of file G4UIcmdWithAnInteger.cc.

References G4UIcommand::GetParameter(), and G4UIparameter::SetDefaultValue().

Referenced by CCalPrimaryGeneratorMessenger::CCalPrimaryGeneratorMessenger(), CexmcEventActionMessenger::CexmcEventActionMessenger(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), CML2Acc1Messenger::CML2Acc1Messenger(), CML2MainMessenger::CML2MainMessenger(), CML2PrimaryGenerationActionMessenger::CML2PrimaryGenerationActionMessenger(), Em10DetectorMessenger::Em10DetectorMessenger(), Em10EventActionMessenger::Em10EventActionMessenger(), F01EventActionMessenger::F01EventActionMessenger(), F01FieldMessenger::F01FieldMessenger(), F02EventActionMessenger::F02EventActionMessenger(), F02FieldMessenger::F02FieldMessenger(), F03EventActionMessenger::F03EventActionMessenger(), F03FieldMessenger::F03FieldMessenger(), F04EventActionMessenger::F04EventActionMessenger(), F04FieldMessenger::F04FieldMessenger(), G4DecayTableMessenger::G4DecayTableMessenger(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4NistMessenger::G4NistMessenger(), G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger(), G4ParticleMessenger::G4ParticleMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4PersistencyCenterMessenger::G4PersistencyCenterMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4ProcessManagerMessenger::G4ProcessManagerMessenger(), G4ProcessTableMessenger::G4ProcessTableMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), G4RunMessenger::G4RunMessenger(), G4StackingMessenger::G4StackingMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), LXeEventMessenger::LXeEventMessenger(), OpNovicePhysicsListMessenger::OpNovicePhysicsListMessenger(), RE05StackingActionMessenger::RE05StackingActionMessenger(), StackingMessenger::StackingMessenger(), WLSEventActionMessenger::WLSEventActionMessenger(), and WLSPhysicsListMessenger::WLSPhysicsListMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcmdWithAnInteger::SetParameterName ( const char *  theName,
G4bool  omittable,
G4bool  currentAsDefault = false 
)

Definition at line 47 of file G4UIcmdWithAnInteger.cc.

References G4UIparameter::SetCurrentAsDefault(), G4UIparameter::SetOmittable(), and G4UIparameter::SetParameterName().

Referenced by CCalPrimaryGeneratorMessenger::CCalPrimaryGeneratorMessenger(), CexmcEventActionMessenger::CexmcEventActionMessenger(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), DMXEventActionMessenger::DMXEventActionMessenger(), Em10DetectorMessenger::Em10DetectorMessenger(), Em10EventActionMessenger::Em10EventActionMessenger(), Em10RunMessenger::Em10RunMessenger(), EventActionMessenger::EventActionMessenger(), EventMessenger::EventMessenger(), ExG4EventAction01Messenger::ExG4EventAction01Messenger(), ExG4RunAction01Messenger::ExG4RunAction01Messenger(), exGPSEventActionMessenger::exGPSEventActionMessenger(), ExN03DetectorMessenger::ExN03DetectorMessenger(), exrdmMaterialMessenger::exrdmMaterialMessenger(), F01EventActionMessenger::F01EventActionMessenger(), F01FieldMessenger::F01FieldMessenger(), F01RunMessenger::F01RunMessenger(), F02EventActionMessenger::F02EventActionMessenger(), F02FieldMessenger::F02FieldMessenger(), F02RunMessenger::F02RunMessenger(), F03EventActionMessenger::F03EventActionMessenger(), F03FieldMessenger::F03FieldMessenger(), F03RunMessenger::F03RunMessenger(), F04EventActionMessenger::F04EventActionMessenger(), F04FieldMessenger::F04FieldMessenger(), F04RunActionMessenger::F04RunActionMessenger(), FCALTBEventActionMessenger::FCALTBEventActionMessenger(), G4AnalysisMessenger::G4AnalysisMessenger(), G4BlineTracerMessenger::G4BlineTracerMessenger(), G4DecayTableMessenger::G4DecayTableMessenger(), G4DMmessenger::G4DMmessenger(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4EvManMessenger::G4EvManMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4ModelCmdApplyInteger< M >::G4ModelCmdApplyInteger(), G4NistMessenger::G4NistMessenger(), G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ParticleMessenger::G4ParticleMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4PersistencyCenterMessenger::G4PersistencyCenterMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4ProcessManagerMessenger::G4ProcessManagerMessenger(), G4ProcessTableMessenger::G4ProcessTableMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), G4Pythia6DecayerMessenger::G4Pythia6DecayerMessenger(), G4RTMessenger::G4RTMessenger(), G4RunMessenger::G4RunMessenger(), G4SDmessenger::G4SDmessenger(), G4StackingMessenger::G4StackingMessenger(), G4tgrMessenger::G4tgrMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), GammaRayTelDetectorMessenger::GammaRayTelDetectorMessenger(), GFlashShowerModelMessenger::GFlashShowerModelMessenger(), HadrontherapyEventActionMessenger::HadrontherapyEventActionMessenger(), HistoManagerMessenger::HistoManagerMessenger(), HistoMessenger::HistoMessenger(), IORTEventActionMessenger::IORTEventActionMessenger(), LXeDetectorMessenger::LXeDetectorMessenger(), LXeEventMessenger::LXeEventMessenger(), OpNovicePhysicsListMessenger::OpNovicePhysicsListMessenger(), RE05StackingActionMessenger::RE05StackingActionMessenger(), RE06DetectorMessenger::RE06DetectorMessenger(), RunActionMessenger::RunActionMessenger(), G4HnMessenger::SetHnAsciiCmd(), StackingMessenger::StackingMessenger(), WLSDetectorMessenger::WLSDetectorMessenger(), WLSEventActionMessenger::WLSEventActionMessenger(), WLSPhysicsListMessenger::WLSPhysicsListMessenger(), WLSRunActionMessenger::WLSRunActionMessenger(), WLSSteppingActionMessenger::WLSSteppingActionMessenger(), and XrayFluoEventActionMessenger::XrayFluoEventActionMessenger().

+ Here is the call graph for this function:


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