Geant4  10.03
G4UIcmdWithABool Class Reference

#include <G4UIcmdWithABool.hh>

+ Inheritance diagram for G4UIcmdWithABool:
+ Collaboration diagram for G4UIcmdWithABool:

Public Member Functions

 G4UIcmdWithABool (const char *theCommandPath, G4UImessenger *theMessenger)
 
void SetParameterName (const char *theName, G4bool omittable, G4bool currentAsDefault=false)
 
void SetDefaultValue (G4bool 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 G4bool GetNewBoolValue (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 45 of file G4UIcmdWithABool.hh.

Constructor & Destructor Documentation

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

Definition at line 34 of file G4UIcmdWithABool.cc.

Member Function Documentation

G4bool G4UIcmdWithABool::GetNewBoolValue ( const char *  paramString)
static

Definition at line 41 of file G4UIcmdWithABool.cc.

References G4UIcommand::ConvertToBool().

Referenced by G4GeometryMessenger::SetCheckMode(), G4HepRepMessenger::SetNewValue(), ExExChStackingActionMessenger::SetNewValue(), RE06DetectorMessenger::SetNewValue(), NeutronHPMessenger::SetNewValue(), TrackingMessenger::SetNewValue(), F04RunActionMessenger::SetNewValue(), G4GMocrenMessenger::SetNewValue(), LXeDetectorMessenger::SetNewValue(), ExG4EventAction01Messenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4EmMessenger::SetNewValue(), XrayFluoPrimaryGeneratorMessenger::SetNewValue(), WLSRunActionMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), ExG4RunAction01Messenger::SetNewValue(), WLSDetectorMessenger::SetNewValue(), XrayFluoDetectorMessenger::SetNewValue(), G4GDMLMessenger::SetNewValue(), GammaRayTelPrimaryGeneratorMessenger::SetNewValue(), XrayFluoPlaneDetectorMessenger::SetNewValue(), XrayFluoAnalysisMessenger::SetNewValue(), CexmcProductionModelMessenger::SetNewValue(), CexmcReconstructorMessenger::SetNewValue(), CexmcScenePrimitivesMessenger::SetNewValue(), G4GeometryMessenger::SetNewValue(), CexmcRunManagerMessenger::SetNewValue(), WLSPhysicsListMessenger::SetNewValue(), CexmcChargeExchangeReconstructorMessenger::SetNewValue(), CML2AcceleratorConstructionMessenger::SetNewValue(), CexmcEnergyDepositDigitizerMessenger::SetNewValue(), G4PolarizationMessenger::SetNewValue(), G4AdjointPhysicsMessenger::SetNewValue(), G4UCNBoundaryProcessMessenger::SetNewValue(), G4SchedulerMessenger::SetNewValue(), CML2MainMessenger::SetNewValue(), G4EmParametersMessenger::SetNewValue(), G4RunMessenger::SetNewValue(), G4ParticlePropertyMessenger::SetNewValue(), G4OpticalPhysicsMessenger::SetNewValue(), G4RadioactiveDecaymessenger::SetNewValue(), G4DNAChemistryManager::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeometryMessenger::SetPushFlag().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcmdWithABool::SetDefaultValue ( G4bool  defVal)

Definition at line 55 of file G4UIcmdWithABool.cc.

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

Referenced by CexmcChargeExchangeReconstructorMessenger::CexmcChargeExchangeReconstructorMessenger(), CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcReconstructorMessenger::CexmcReconstructorMessenger(), CexmcRunManagerMessenger::CexmcRunManagerMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), CML2MainMessenger::CML2MainMessenger(), DMXEventActionMessenger::DMXEventActionMessenger(), ExExChStackingActionMessenger::ExExChStackingActionMessenger(), G4EmParametersMessenger::G4EmParametersMessenger(), G4GDMLMessenger::G4GDMLMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4HepRepMessenger::G4HepRepMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4RTMessenger::G4RTMessenger(), G4RunMessenger::G4RunMessenger(), G4UCNBoundaryProcessMessenger::G4UCNBoundaryProcessMessenger(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerDefaultHiddenEdge::G4VisCommandViewerDefaultHiddenEdge(), StepMaxMessenger::StepMaxMessenger(), TrackingMessenger::TrackingMessenger(), XrayFluoAnalysisMessenger::XrayFluoAnalysisMessenger(), XrayFluoDetectorMessenger::XrayFluoDetectorMessenger(), XrayFluoPlaneDetectorMessenger::XrayFluoPlaneDetectorMessenger(), and XrayFluoPrimaryGeneratorMessenger::XrayFluoPrimaryGeneratorMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 47 of file G4UIcmdWithABool.cc.

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

Referenced by CexmcChargeExchangeReconstructorMessenger::CexmcChargeExchangeReconstructorMessenger(), CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcReconstructorMessenger::CexmcReconstructorMessenger(), CexmcRunManagerMessenger::CexmcRunManagerMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), DMXEventActionMessenger::DMXEventActionMessenger(), ExExChStackingActionMessenger::ExExChStackingActionMessenger(), ExG4EventAction01Messenger::ExG4EventAction01Messenger(), ExG4RunAction01Messenger::ExG4RunAction01Messenger(), F04RunActionMessenger::F04RunActionMessenger(), G4BlineTracerMessenger::G4BlineTracerMessenger(), G4EmParametersMessenger::G4EmParametersMessenger(), G4GDMLMessenger::G4GDMLMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4HepRepMessenger::G4HepRepMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ModelCmdApplyBool< M >::G4ModelCmdApplyBool(), G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4RTMessenger::G4RTMessenger(), G4RunMessenger::G4RunMessenger(), G4UCNBoundaryProcessMessenger::G4UCNBoundaryProcessMessenger(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerDefaultHiddenEdge::G4VisCommandViewerDefaultHiddenEdge(), NeutronHPMessenger::NeutronHPMessenger(), RE06DetectorMessenger::RE06DetectorMessenger(), StepMaxMessenger::StepMaxMessenger(), TrackingMessenger::TrackingMessenger(), WLSRunActionMessenger::WLSRunActionMessenger(), XrayFluoAnalysisMessenger::XrayFluoAnalysisMessenger(), XrayFluoDetectorMessenger::XrayFluoDetectorMessenger(), XrayFluoPlaneDetectorMessenger::XrayFluoPlaneDetectorMessenger(), and XrayFluoPrimaryGeneratorMessenger::XrayFluoPrimaryGeneratorMessenger().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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