Geant4  10.01.p03
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(), GB03DetectorMessenger::SetNewValue(), LXeEventMessenger::SetNewValue(), RE05StackingActionMessenger::SetNewValue(), CCalPrimaryGeneratorMessenger::SetNewValue(), F04EventActionMessenger::SetNewValue(), RE06DetectorMessenger::SetNewValue(), OpNovicePhysicsListMessenger::SetNewValue(), G4HnMessenger::SetNewValue(), F03EventActionMessenger::SetNewValue(), HadrontherapyEventActionMessenger::SetNewValue(), EventActionMessenger::SetNewValue(), WLSEventActionMessenger::SetNewValue(), WLSSteppingActionMessenger::SetNewValue(), EventMessenger::SetNewValue(), StackingMessenger::SetNewValue(), F01EventActionMessenger::SetNewValue(), F02EventActionMessenger::SetNewValue(), F04DetectorMessenger::SetNewValue(), F04FieldMessenger::SetNewValue(), F04RunActionMessenger::SetNewValue(), G4EvManMessenger::SetNewValue(), G4StackingMessenger::SetNewValue(), LXeDetectorMessenger::SetNewValue(), exrdmMaterialMessenger::SetNewValue(), RunActionMessenger::SetNewValue(), F02RunMessenger::SetNewValue(), F02FieldMessenger::SetNewValue(), F03FieldMessenger::SetNewValue(), ExG4EventAction01Messenger::SetNewValue(), F03RunMessenger::SetNewValue(), ExN03DetectorMessenger::SetNewValue(), FCALTBEventActionMessenger::SetNewValue(), F01FieldMessenger::SetNewValue(), F01RunMessenger::SetNewValue(), XrayFluoEventActionMessenger::SetNewValue(), Em10EventActionMessenger::SetNewValue(), G4tgrMessenger::SetNewValue(), G4HadronicEPTestMessenger::SetNewValue(), Em10DetectorMessenger::SetNewValue(), IORTEventActionMessenger::SetNewValue(), G4Pythia6DecayerMessenger::SetNewValue(), G4SDmessenger::SetNewValue(), G4PersistencyCenterMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), WLSRunActionMessenger::SetNewValue(), HistoMessenger::SetNewValue(), G4DMmessenger::SetNewValue(), ExG4RunAction01Messenger::SetNewValue(), WLSDetectorMessenger::SetNewValue(), G4ParticleGunMessenger::SetNewValue(), GammaRayTelDetectorMessenger::SetNewValue(), CML2PrimaryGenerationActionMessenger::SetNewValue(), CexmcEventActionMessenger::SetNewValue(), CML2Acc1Messenger::SetNewValue(), G4GlobalMagFieldMessenger::SetNewValue(), GFlashShowerModelMessenger::SetNewValue(), Em10RunMessenger::SetNewValue(), GammaRayTelPrimaryGeneratorMessenger::SetNewValue(), G4INCLXXInterfaceMessenger::SetNewValue(), CexmcSensitiveDetectorMessenger::SetNewValue(), G4GeometryMessenger::SetNewValue(), CexmcRunManagerMessenger::SetNewValue(), WLSPhysicsListMessenger::SetNewValue(), HistoManagerMessenger::SetNewValue(), G4PolarizationMessenger::SetNewValue(), G4AnalysisMessenger::SetNewValue(), G4UCNBoundaryProcessMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), G4SchedulerMessenger::SetNewValue(), G4DecayTableMessenger::SetNewValue(), CML2MainMessenger::SetNewValue(), G4EmParametersMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), G4ParticlePropertyMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4ProductionCutsTableMessenger::SetNewValue(), G4ProcessManagerMessenger::SetNewValue(), G4OpticalPhysicsMessenger::SetNewValue(), G4NistMessenger::SetNewValue(), G4UserPhysicsListMessenger::SetNewValue(), G4RadioactiveDecaymessenger::SetNewValue(), G4ParticleMessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), G4AdjointSimMessenger::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(), G4EmParametersMessenger::G4EmParametersMessenger(), 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(), G4SchedulerMessenger::G4SchedulerMessenger(), G4StackingMessenger::G4StackingMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UCNBoundaryProcessMessenger::G4UCNBoundaryProcessMessenger(), 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(), 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(), G4AdjointSimMessenger::G4AdjointSimMessenger(), G4AnalysisMessenger::G4AnalysisMessenger(), G4BlineTracerMessenger::G4BlineTracerMessenger(), G4DecayTableMessenger::G4DecayTableMessenger(), G4DMmessenger::G4DMmessenger(), G4EmParametersMessenger::G4EmParametersMessenger(), 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(), G4SchedulerMessenger::G4SchedulerMessenger(), G4SDmessenger::G4SDmessenger(), G4StackingMessenger::G4StackingMessenger(), G4tgrMessenger::G4tgrMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UCNBoundaryProcessMessenger::G4UCNBoundaryProcessMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), GammaRayTelDetectorMessenger::GammaRayTelDetectorMessenger(), GB03DetectorMessenger::GB03DetectorMessenger(), 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: