Geant4  10.00.p03
G4UIcommand Class Reference

#include <G4UIcommand.hh>

+ Inheritance diagram for G4UIcommand:
+ Collaboration diagram for G4UIcommand:

Public Member Functions

 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 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)
 

Protected Member Functions

G4int CheckNewValue (const char *newValue)
 

Protected Attributes

G4bool toBeBroadcasted
 
G4bool toBeFlushed
 
G4bool workerThreadOnly
 

Private Member Functions

void G4UIcommandCommonConstructorCode (const char *theCommandPath)
 
G4int TypeCheck (const char *t)
 
G4int RangeCheck (const char *t)
 
G4int IsInt (const char *str, short maxLength)
 
G4int IsDouble (const char *str)
 
G4int ExpectExponent (const char *str)
 
yystype Expression (void)
 
yystype LogicalORExpression (void)
 
yystype LogicalANDExpression (void)
 
yystype EqualityExpression (void)
 
yystype RelationalExpression (void)
 
yystype AdditiveExpression (void)
 
yystype MultiplicativeExpression (void)
 
yystype UnaryExpression (void)
 
yystype PrimaryExpression (void)
 
G4int Eval2 (yystype arg1, G4int op, yystype arg2)
 
G4int CompareInt (G4int arg1, G4int op, G4int arg2)
 
G4int CompareDouble (G4double arg1, G4int op, G4double arg2)
 
tokenNum Yylex (void)
 
unsigned IndexOf (const char *)
 
unsigned IsParameter (const char *)
 
G4int G4UIpGetc (void)
 
G4int G4UIpUngetc (G4int c)
 
G4int Backslash (G4int c)
 
G4int Follow (G4int expect, G4int ifyes, G4int ifno)
 
G4String TokenToStr (G4int token)
 
void PrintToken (void)
 

Private Attributes

G4UImessengermessenger
 
G4String commandPath
 
G4String commandName
 
G4String rangeString
 
std::vector< G4UIparameter * > parameter
 
std::vector< G4StringcommandGuidance
 
std::vector< G4ApplicationStateavailabelStateList
 
G4String rangeBuf
 
G4int bp
 
tokenNum token
 
yystype yylval
 
std::vector< yystypenewVal
 
G4int paramERR
 

Detailed Description

Definition at line 51 of file G4UIcommand.hh.

Constructor & Destructor Documentation

G4UIcommand::G4UIcommand ( )

Definition at line 41 of file G4UIcommand.cc.

G4UIcommand::G4UIcommand ( const char *  theCommandPath,
G4UImessenger theMessenger,
G4bool  tBB = true 
)

Definition at line 47 of file G4UIcommand.cc.

References availabelStateList, G4cerr, G4endl, G4State_Abort, G4State_EventProc, G4State_GeomClosed, G4State_Idle, G4State_Init, G4State_PreInit, and G4UIcommandCommonConstructorCode().

+ Here is the call graph for this function:

G4UIcommand::~G4UIcommand ( )
virtual

Definition at line 85 of file G4UIcommand.cc.

References G4UImanager::GetUIpointer(), parameter, and G4UImanager::RemoveCommand().

+ Here is the call graph for this function:

Member Function Documentation

yystype G4UIcommand::AdditiveExpression ( void  )
private

Definition at line 801 of file G4UIcommand.cc.

References G4cerr, G4endl, MultiplicativeExpression(), paramERR, and token.

Referenced by RelationalExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1)

Definition at line 225 of file G4UIcommand.cc.

References availabelStateList.

Referenced by B2aDetectorMessenger::B2aDetectorMessenger(), B2bDetectorMessenger::B2bDetectorMessenger(), CCalPrimaryGeneratorMessenger::CCalPrimaryGeneratorMessenger(), CexmcChargeExchangeReconstructorMessenger::CexmcChargeExchangeReconstructorMessenger(), CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcEventActionMessenger::CexmcEventActionMessenger(), CexmcParticleGunMessenger::CexmcParticleGunMessenger(), CexmcPhysicsManagerMessenger::CexmcPhysicsManagerMessenger(), CexmcPrimaryGeneratorActionMessenger::CexmcPrimaryGeneratorActionMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcReconstructorMessenger::CexmcReconstructorMessenger(), CexmcRunManagerMessenger::CexmcRunManagerMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), G4H1Messenger::CreateH1Cmd(), G4H2Messenger::CreateH2Cmd(), DetectorMessenger::DetectorMessenger(), DicomIntersectVolume::DicomIntersectVolume(), DMXEventActionMessenger::DMXEventActionMessenger(), ElectronBenchmarkDetectorMessenger::ElectronBenchmarkDetectorMessenger(), Em10DetectorMessenger::Em10DetectorMessenger(), Em10EventActionMessenger::Em10EventActionMessenger(), Em10PhysicsListMessenger::Em10PhysicsListMessenger(), Em10PrimaryGeneratorMessenger::Em10PrimaryGeneratorMessenger(), Em10RunMessenger::Em10RunMessenger(), EventActionMessenger::EventActionMessenger(), EventMessenger::EventMessenger(), ExErrorDetectorMessenger::ExErrorDetectorMessenger(), ExG4DetectorConstruction01Messenger::ExG4DetectorConstruction01Messenger(), ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger(), ExG4EventAction01Messenger::ExG4EventAction01Messenger(), ExG4RunAction01Messenger::ExG4RunAction01Messenger(), exGPSEventActionMessenger::exGPSEventActionMessenger(), ExN02DetectorMessenger::ExN02DetectorMessenger(), ExN03DetectorMessenger::ExN03DetectorMessenger(), ExP01DetectorMessenger::ExP01DetectorMessenger(), exrdmDetectorMessenger::exrdmDetectorMessenger(), exrdmEventActionMessenger::exrdmEventActionMessenger(), exrdmHistoMessenger::exrdmHistoMessenger(), exrdmMaterialMessenger::exrdmMaterialMessenger(), exrdmPhysicsListMessenger::exrdmPhysicsListMessenger(), F01DetectorMessenger::F01DetectorMessenger(), F01EventActionMessenger::F01EventActionMessenger(), F01FieldMessenger::F01FieldMessenger(), F01PhysicsListMessenger::F01PhysicsListMessenger(), F01PrimaryGeneratorMessenger::F01PrimaryGeneratorMessenger(), F01RunMessenger::F01RunMessenger(), F02DetectorMessenger::F02DetectorMessenger(), F02EventActionMessenger::F02EventActionMessenger(), F02FieldMessenger::F02FieldMessenger(), F02PhysicsListMessenger::F02PhysicsListMessenger(), F02PrimaryGeneratorMessenger::F02PrimaryGeneratorMessenger(), F02RunMessenger::F02RunMessenger(), F03DetectorMessenger::F03DetectorMessenger(), F03EventActionMessenger::F03EventActionMessenger(), F03FieldMessenger::F03FieldMessenger(), F03PhysicsListMessenger::F03PhysicsListMessenger(), F03PrimaryGeneratorMessenger::F03PrimaryGeneratorMessenger(), F03RunMessenger::F03RunMessenger(), F04DetectorMessenger::F04DetectorMessenger(), F04EventActionMessenger::F04EventActionMessenger(), F04FieldMessenger::F04FieldMessenger(), F04PhysicsListMessenger::F04PhysicsListMessenger(), F04PrimaryGeneratorMessenger::F04PrimaryGeneratorMessenger(), F04RunActionMessenger::F04RunActionMessenger(), FCALTBEventActionMessenger::FCALTBEventActionMessenger(), G02DetectorMessenger::G02DetectorMessenger(), G03DetectorMessenger::G03DetectorMessenger(), G4AdjointPhysicsMessenger::G4AdjointPhysicsMessenger(), G4AdjointSimMessenger::G4AdjointSimMessenger(), G4BlineTracerMessenger::G4BlineTracerMessenger(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EmMessenger::G4EmMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4ErrorMessenger::G4ErrorMessenger(), G4EvManMessenger::G4EvManMessenger(), G4FastSimulationMessenger::G4FastSimulationMessenger(), G4FileMessenger::G4FileMessenger(), G4GDMLMessenger::G4GDMLMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4HepRepMessenger::G4HepRepMessenger(), G4HumanPhantomMessenger::G4HumanPhantomMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4MonopoleFieldMessenger::G4MonopoleFieldMessenger(), G4MonopolePhysicsMessenger::G4MonopolePhysicsMessenger(), G4NeutronKillerMessenger::G4NeutronKillerMessenger(), G4OpticalPhysicsMessenger::G4OpticalPhysicsMessenger(), G4ParticleMessenger::G4ParticleMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4ProcessManagerMessenger::G4ProcessManagerMessenger(), G4ProcessTableMessenger::G4ProcessTableMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), G4Pythia6DecayerMessenger::G4Pythia6DecayerMessenger(), G4RTMessenger::G4RTMessenger(), G4RunMessenger::G4RunMessenger(), G4StackingMessenger::G4StackingMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), GammaKnifePhysicsListMessenger::GammaKnifePhysicsListMessenger(), GammaRayTelDetectorMessenger::GammaRayTelDetectorMessenger(), GammaRayTelPhysicsListMessenger::GammaRayTelPhysicsListMessenger(), GFlashShowerModelMessenger::GFlashShowerModelMessenger(), HadrontherapyDetectorMessenger::HadrontherapyDetectorMessenger(), HadrontherapyEventActionMessenger::HadrontherapyEventActionMessenger(), HadrontherapyParameterMessenger::HadrontherapyParameterMessenger(), HadrontherapyPhysicsListMessenger::HadrontherapyPhysicsListMessenger(), HistoManagerMessenger::HistoManagerMessenger(), IORTDetectorMessenger::IORTDetectorMessenger(), IORTEventActionMessenger::IORTEventActionMessenger(), IORTGeometryMessenger::IORTGeometryMessenger(), IORTParameterMessenger::IORTParameterMessenger(), IORTPhysicsListMessenger::IORTPhysicsListMessenger(), LXeDetectorMessenger::LXeDetectorMessenger(), LXeEventMessenger::LXeEventMessenger(), ML2PhysicsListMessenger::ML2PhysicsListMessenger(), NeutronHPMessenger::NeutronHPMessenger(), OpNovicePhysicsListMessenger::OpNovicePhysicsListMessenger(), OpNovicePrimaryGeneratorMessenger::OpNovicePrimaryGeneratorMessenger(), PhysicsListMessenger::PhysicsListMessenger(), PrimaryGeneratorMessenger::PrimaryGeneratorMessenger(), RE06DetectorMessenger::RE06DetectorMessenger(), RMC01AnalysisManagerMessenger::RMC01AnalysisManagerMessenger(), RMC01DetectorMessenger::RMC01DetectorMessenger(), RunActionMessenger::RunActionMessenger(), G4H1Messenger::SetH1Cmd(), G4H1Messenger::SetH1TitleCmd(), G4H1Messenger::SetH1XAxisCmd(), G4H1Messenger::SetH1YAxisCmd(), G4H2Messenger::SetH2Cmd(), G4H2Messenger::SetH2TitleCmd(), G4H2Messenger::SetH2XAxisCmd(), G4H2Messenger::SetH2YAxisCmd(), G4H2Messenger::SetH2ZAxisCmd(), G4HnMessenger::SetHnActivationCmd(), G4HnMessenger::SetHnAsciiCmd(), G4GenericMessenger::Command::SetStates(), StepLimiterMessenger::StepLimiterMessenger(), WLSDetectorMessenger::WLSDetectorMessenger(), WLSEventActionMessenger::WLSEventActionMessenger(), WLSPhysicsListMessenger::WLSPhysicsListMessenger(), WLSPrimaryGeneratorMessenger::WLSPrimaryGeneratorMessenger(), WLSRunActionMessenger::WLSRunActionMessenger(), WLSSteppingActionMessenger::WLSSteppingActionMessenger(), XrayFluoDetectorMessenger::XrayFluoDetectorMessenger(), XrayFluoEventActionMessenger::XrayFluoEventActionMessenger(), XrayFluoMercuryDetectorMessenger::XrayFluoMercuryDetectorMessenger(), XrayFluoMercuryPrimaryGeneratorMessenger::XrayFluoMercuryPrimaryGeneratorMessenger(), XrayFluoPhysicsListMessenger::XrayFluoPhysicsListMessenger(), XrayFluoPlaneDetectorMessenger::XrayFluoPlaneDetectorMessenger(), XrayFluoPlanePrimaryGeneratorMessenger::XrayFluoPlanePrimaryGeneratorMessenger(), and XrayFluoPrimaryGeneratorMessenger::XrayFluoPrimaryGeneratorMessenger().

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2 
)

Definition at line 231 of file G4UIcommand.cc.

References availabelStateList.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3 
)

Definition at line 239 of file G4UIcommand.cc.

References availabelStateList.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3,
G4ApplicationState  s4 
)

Definition at line 249 of file G4UIcommand.cc.

References availabelStateList.

void G4UIcommand::AvailableForStates ( G4ApplicationState  s1,
G4ApplicationState  s2,
G4ApplicationState  s3,
G4ApplicationState  s4,
G4ApplicationState  s5 
)

Definition at line 261 of file G4UIcommand.cc.

References availabelStateList.

G4int G4UIcommand::Backslash ( G4int  c)
private
G4String G4UIcommand::CategoryOf ( const char *  unitName)
static

Definition at line 301 of file G4UIcommand.cc.

References G4UnitDefinition::GetCategory().

Referenced by G4UIcmdWithADoubleAndUnit::ConvertToStringWithBestUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit(), G4UIcmdWithADoubleAndUnit::DoIt(), G4UIcmdWith3VectorAndUnit::DoIt(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), and G4UIcmdWith3VectorAndUnit::SetDefaultUnit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::CheckNewValue ( const char *  newValue)
protected

Definition at line 482 of file G4UIcommand.cc.

References fParameterOutOfRange, G4String::isNull(), RangeCheck(), and rangeString.

Referenced by DoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::CompareDouble ( G4double  arg1,
G4int  op,
G4double  arg2 
)
private

Definition at line 982 of file G4UIcommand.cc.

References EQ, G4cerr, G4endl, GE, GT, LE, LT, NE, and paramERR.

Referenced by Eval2().

+ Here is the caller graph for this function:

G4int G4UIcommand::CompareInt ( G4int  arg1,
G4int  op,
G4int  arg2 
)
private

Definition at line 957 of file G4UIcommand.cc.

References EQ, G4cerr, G4endl, GE, GT, LE, LT, NE, and paramERR.

Referenced by Eval2().

+ Here is the caller graph for this function:

G4ThreeVector G4UIcommand::ConvertTo3Vector ( const char *  st)
static

Definition at line 449 of file G4UIcommand.cc.

Referenced by G4AnyType::Ref< ValueType >::FromString(), G4UIcmdWith3Vector::GetNew3VectorValue(), G4VisCommandsViewerSet::SetNewValue(), and G4AttCheck::Standard().

+ Here is the caller graph for this function:

G4ThreeVector G4UIcommand::ConvertToDimensioned3Vector ( const char *  st)
static

Definition at line 459 of file G4UIcommand.cc.

References ValueOf().

Referenced by G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4GenericMessenger::SetNewValue(), and G4AttCheck::Standard().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UIcommand::ConvertToDimensionedDouble ( const char *  st)
static

Definition at line 437 of file G4UIcommand.cc.

References ValueOf().

Referenced by G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4TrajectoryDrawerUtils::GetPointsAndTimes(), G4GenericMessenger::SetNewValue(), and G4AttCheck::Standard().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::ConvertToInt ( const char *  st)
static

Definition at line 421 of file G4UIcommand.cc.

Referenced by G4UIcmdWithAnInteger::GetNewIntValue(), DicomIntersectVolume::GetPhysicalVolumes(), main(), G4VisCommandsTouchableSet::SetNewValue(), G4H2Messenger::SetNewValue(), G4VisCommandsViewerSet::SetNewValue(), G4HnMessenger::SetNewValue(), G4H1Messenger::SetNewValue(), and G4TrackingMessenger::SetNewValue().

+ Here is the caller graph for this function:

G4String G4UIcommand::ConvertToString ( G4bool  boolVal)
static

Definition at line 357 of file G4UIcommand.cc.

Referenced by G4tgrParameterMgr::AddParameterNumber(), ExTGRCRegionCutsMgr::AddRegionCuts(), G4MPImanager::BeamOn(), G4tgbRotationMatrix::BuildG4RotMatrix(), G4HepRepFileSceneHandler::CheckFileOpen(), G4tgbPlaceParameterisation::CheckNExtraData(), G4tgbVolume::CheckNoSolidParams(), G4tgrUtils::CheckWLsize(), G4UIcmdWithADoubleAndUnit::ConvertToStringWithDefaultUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithDefaultUnit(), RE01TrackerHit::CreateAttValues(), RE01CalorimeterHit::CreateAttValues(), RE05CalorimeterHit::CreateAttValues(), RE01Trajectory::CreateAttValues(), B5HodoscopeHit::CreateAttValues(), B5EmCalorimeterHit::CreateAttValues(), B5DriftChamberHit::CreateAttValues(), B5HadCalorimeterHit::CreateAttValues(), F04Trajectory::CreateAttValues(), WLSTrajectory::CreateAttValues(), G4SmoothTrajectory::CreateAttValues(), G4Trajectory::CreateAttValues(), RE04Trajectory::CreateAttValues(), G4TheMTRayTracer::CreateBitMap(), G4TrajectoriesModel::CreateCurrentAttValues(), G4UIcmdWithADoubleAndUnit::DoIt(), G4UIcmdWith3VectorAndUnit::DoIt(), G4tgrFileIn::DumpException(), G4tgbGeometryDumper::DumpPVParameterised(), G4tgbGeometryDumper::DumpPVPlacement(), G4tgbGeometryDumper::DumpRotationMatrix(), ExTGRCRegionData::ExTGRCRegionData(), G4tgbVolume::FindOrConstructG4Solid(), G4tgrMaterialSimple::GetComponent(), G4HepRepMessenger::GetCurrentValue(), ExN04StackingActionMessenger::GetCurrentValue(), RE05StackingActionMessenger::GetCurrentValue(), RE06DetectorMessenger::GetCurrentValue(), G4GMocrenMessenger::GetCurrentValue(), G4MatScanMessenger::GetCurrentValue(), G4EvManMessenger::GetCurrentValue(), G4RTMessenger::GetCurrentValue(), G4tgrMessenger::GetCurrentValue(), G4ParticleGunMessenger::GetCurrentValue(), G4GeometryMessenger::GetCurrentValue(), G4TrackingMessenger::GetCurrentValue(), G4PolarizationMessenger::GetCurrentValue(), G4ScoringMessenger::GetCurrentValue(), G4DecayTableMessenger::GetCurrentValue(), G4UIcontrolMessenger::GetCurrentValue(), G4RunMessenger::GetCurrentValue(), G4ParticlePropertyMessenger::GetCurrentValue(), G4ProductionCutsTableMessenger::GetCurrentValue(), G4UserPhysicsListMessenger::GetCurrentValue(), G4ParticleMessenger::GetCurrentValue(), G4VisCommandViewerDolly::GetCurrentValue(), G4VisCommandViewerScale::GetCurrentValue(), G4VisCommandViewerZoom::GetCurrentValue(), G4tgrUtils::GetDouble(), G4tgrMaterialSimple::GetFraction(), G4tgbGeometryDumper::GetIsotopeName(), DicomIntersectVolume::GetLogicalVolumes(), G4ScoreLogColorMap::GetMapColor(), G4MolecularConfiguration::GetName(), G4tgbGeometryDumper::GetObjectName(), DicomIntersectVolume::GetPhysicalVolumes(), G4tgrUtils::GetRotationFromDirection(), G4tgrVolume::GetVolume(), G4EnergySplitter::GetVoxelID(), G4MolecularConfiguration::IonizeMolecule(), main(), G4MolecularConfiguration::MoveOneElectron(), G4DNAMolecularReactionTable::PrintTable(), DicomPartialDetectorConstruction::ReadPhantomDataFile(), DicomDetectorConstruction::ReadPhantomDataFile(), DicomPartialDetectorConstruction::ReadVoxelDensitiesPartial(), G4MolecularConfiguration::RemoveElectron(), ExTGRCRegionData::SetCutsData(), G4VisCommandsViewerSet::SetNewValue(), G4GenericMessenger::SetNewValue(), DicomIntersectVolume::SetNewValue(), G4AttCheck::Standard(), and G4TheMTRayTracer::Trace().

G4String G4UIcommand::ConvertToString ( G4int  intValue)
static

Definition at line 364 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4double  doubleValue)
static

Definition at line 372 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4double  doubleValue,
const char *  unitName 
)
static

Definition at line 380 of file G4UIcommand.cc.

References ValueOf().

+ Here is the call graph for this function:

G4String G4UIcommand::ConvertToString ( G4ThreeVector  vec)
static

Definition at line 391 of file G4UIcommand.cc.

G4String G4UIcommand::ConvertToString ( G4ThreeVector  vec,
const char *  unitName 
)
static

Definition at line 399 of file G4UIcommand.cc.

References ValueOf().

+ Here is the call graph for this function:

G4int G4UIcommand::DoIt ( G4String  parameterList)
virtual

Reimplemented in G4UIcmdWith3VectorAndUnit, and G4UIcmdWithADoubleAndUnit.

Definition at line 108 of file G4UIcommand.cc.

References G4String::append(), CheckNewValue(), fParameterOutOfRange, fParameterUnreadable, G4UImessenger::GetCurrentValue(), G4String::index(), G4String::isNull(), G4Threading::IsWorkerThread(), messenger, parameter, G4UImessenger::SetNewValue(), and workerThreadOnly.

Referenced by G4UImanager::ApplyCommand(), G4UIcmdWithADoubleAndUnit::DoIt(), and G4UIcmdWith3VectorAndUnit::DoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::EqualityExpression ( void  )
private

Definition at line 741 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, EQ, Eval2(), G4cerr, G4endl, yystype::I, NE, paramERR, RelationalExpression(), token, yystype::type, and Yylex().

Referenced by LogicalANDExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::Eval2 ( yystype  arg1,
G4int  op,
yystype  arg2 
)
private

Definition at line 899 of file G4UIcommand.cc.

References commandName, CompareDouble(), CompareInt(), CONSTDOUBLE, CONSTINT, yystype::D, G4cerr, G4endl, yystype::I, IDENTIFIER, IndexOf(), newVal, paramERR, parameter, rangeString, yystype::S, and yystype::type.

Referenced by EqualityExpression(), and RelationalExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::ExpectExponent ( const char *  str)
private

Definition at line 559 of file G4UIcommand.cc.

References IsInt().

Referenced by IsDouble().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::Expression ( void  )
private

Definition at line 659 of file G4UIcommand.cc.

References G4cerr, G4endl, and LogicalORExpression().

Referenced by PrimaryExpression(), and RangeCheck().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::Follow ( G4int  expect,
G4int  ifyes,
G4int  ifno 
)
private

Definition at line 1099 of file G4UIcommand.cc.

References G4UIpGetc(), and G4UIpUngetc().

Referenced by Yylex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcommand::G4UIcommandCommonConstructorCode ( const char *  theCommandPath)
private

Definition at line 75 of file G4UIcommand.cc.

References G4UImanager::AddNewCommand(), and G4UImanager::GetUIpointer().

Referenced by G4UIcommand().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::G4UIpGetc ( void  )
private

Definition at line 1110 of file G4UIcommand.cc.

References bp, and rangeString.

Referenced by Follow(), and Yylex().

+ Here is the caller graph for this function:

G4int G4UIcommand::G4UIpUngetc ( G4int  c)
private

Definition at line 1118 of file G4UIcommand.cc.

References bp, G4cerr, G4endl, paramERR, and rangeString.

Referenced by Follow(), and Yylex().

+ Here is the caller graph for this function:

const G4String& G4UIcommand::GetCommandName ( ) const
inline

Definition at line 141 of file G4UIcommand.hh.

References commandName.

Referenced by G4UIcommandTree::CreateHTML(), export_G4UIcommand(), G4GenericMessenger::GetCurrentValue(), G4GenericMessenger::SetNewValue(), and DicomIntersectVolume::SetNewValue().

+ Here is the caller graph for this function:

G4String G4UIcommand::GetCurrentValue ( )

Definition at line 220 of file G4UIcommand.cc.

References G4UImessenger::GetCurrentValue(), and messenger.

Referenced by export_G4UIcommand(), and G4UImanager::GetCurrentValues().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::GetGuidanceEntries ( ) const
inline

Definition at line 135 of file G4UIcommand.hh.

Referenced by G4UIGAG::CodeGenTclTree(), G4UIcommandTree::CreateHTML(), export_G4UIcommand(), G4UIGAG::SendAParamProperty(), G4UIGainServer::SendAParamProperty(), and G4GenericMessenger::Command::SetUnit().

+ Here is the caller graph for this function:

const G4String& G4UIcommand::GetGuidanceLine ( G4int  i) const
inline

Definition at line 137 of file G4UIcommand.hh.

Referenced by G4UIGAG::CodeGenTclTree(), G4UIcommandTree::CreateHTML(), export_G4UIcommand(), G4UIGAG::SendAParamProperty(), G4UIGainServer::SendAParamProperty(), and G4GenericMessenger::Command::SetUnit().

+ Here is the caller graph for this function:

G4UImessenger* G4UIcommand::GetMessenger ( ) const
inline

Definition at line 149 of file G4UIcommand.hh.

References messenger.

Referenced by G4GenericMessenger::Command::SetUnit().

+ Here is the caller graph for this function:

G4UIparameter* G4UIcommand::GetParameter ( G4int  i) const
inline
G4int G4UIcommand::GetParameterEntries ( ) const
inline
const G4String& G4UIcommand::GetRange ( ) const
inline

Definition at line 133 of file G4UIcommand.hh.

References rangeString.

Referenced by G4UIcommandTree::CreateHTML(), export_G4UIcommand(), G4UIGAG::SendAParamProperty(), G4UIGainServer::SendAParamProperty(), G4UIGAG::SendATclParamProperty(), and G4GenericMessenger::Command::SetUnit().

+ Here is the caller graph for this function:

std::vector<G4ApplicationState>* G4UIcommand::GetStateList ( )
inline

Definition at line 147 of file G4UIcommand.hh.

References availabelStateList.

Referenced by G4UIcommandTree::CreateHTML(), and pyG4UIcommand::f_GetStateList().

+ Here is the caller graph for this function:

const G4String G4UIcommand::GetTitle ( ) const
inline

Definition at line 170 of file G4UIcommand.hh.

Referenced by export_G4UIcommand(), G4UIGainServer::GetNewTreeStructure(), G4UIGAG::GetNewTreeStructure(), and G4UIcommandTree::GetTitle().

+ Here is the caller graph for this function:

unsigned G4UIcommand::IndexOf ( const char *  nam)
private

Definition at line 1008 of file G4UIcommand.cc.

References G4cerr, G4endl, paramERR, and parameter.

Referenced by Eval2().

+ Here is the caller graph for this function:

G4bool G4UIcommand::IsAvailable ( )

Definition at line 275 of file G4UIcommand.cc.

References availabelStateList, G4StateManager::GetCurrentState(), and G4StateManager::GetStateManager().

Referenced by G4UImanager::ApplyCommand(), export_G4UIcommand(), G4UIGAG::SendDisableList(), and G4UIGainServer::SendDisableList().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::IsDouble ( const char *  str)
private

Definition at line 568 of file G4UIcommand.cc.

References ExpectExponent().

Referenced by TypeCheck(), and Yylex().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::IsInt ( const char *  str,
short  maxLength 
)
private

Definition at line 535 of file G4UIcommand.cc.

References G4cerr, and G4endl.

Referenced by ExpectExponent(), TypeCheck(), and Yylex().

+ Here is the caller graph for this function:

unsigned G4UIcommand::IsParameter ( const char *  nam)
private

Definition at line 1026 of file G4UIcommand.cc.

References parameter.

Referenced by Yylex().

+ Here is the caller graph for this function:

G4bool G4UIcommand::IsWorkerThreadOnly ( ) const
inline

Definition at line 194 of file G4UIcommand.hh.

References workerThreadOnly.

Referenced by G4UIcommandTree::RemoveCommand().

+ Here is the caller graph for this function:

void G4UIcommand::List ( )
virtual

Definition at line 334 of file G4UIcommand.cc.

References commandGuidance, commandPath, G4cout, G4endl, G4String::isNull(), parameter, rangeString, and workerThreadOnly.

Referenced by export_G4UIcommand(), G4UIcommandTree::ListCurrent(), G4UIcommandTree::ListCurrentWithNum(), G4UIGAG::TerminalHelp(), G4VBasicShell::TerminalHelp(), and G4UIGainServer::TerminalHelp().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::LogicalANDExpression ( void  )
private

Definition at line 705 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, CONSTSTRING, yystype::D, EqualityExpression(), G4cerr, G4endl, yystype::I, IDENTIFIER, LOGICALAND, paramERR, token, yystype::type, and Yylex().

Referenced by LogicalORExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::LogicalORExpression ( void  )
private

Definition at line 670 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, CONSTSTRING, yystype::D, G4cerr, G4endl, yystype::I, IDENTIFIER, LogicalANDExpression(), LOGICALOR, paramERR, token, yystype::type, and Yylex().

Referenced by Expression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::MultiplicativeExpression ( void  )
private

Definition at line 813 of file G4UIcommand.cc.

References G4cerr, G4endl, paramERR, token, and UnaryExpression().

Referenced by AdditiveExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4UIcommand::operator!= ( const G4UIcommand right) const

Definition at line 101 of file G4UIcommand.cc.

References commandPath, and GetCommandPath().

+ Here is the call graph for this function:

G4int G4UIcommand::operator== ( const G4UIcommand right) const

Definition at line 96 of file G4UIcommand.cc.

References commandPath, and GetCommandPath().

+ Here is the call graph for this function:

yystype G4UIcommand::PrimaryExpression ( void  )
private

Definition at line 862 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, yystype::D, Expression(), G4cerr, G4endl, yystype::I, IDENTIFIER, paramERR, yystype::S, token, yystype::type, Yylex(), and yylval.

Referenced by UnaryExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcommand::PrintToken ( void  )
private
G4int G4UIcommand::RangeCheck ( const char *  t)
private

Definition at line 628 of file G4UIcommand.cc.

References bp, CONSTINT, Expression(), G4cerr, G4endl, yystype::I, newVal, paramERR, parameter, rangeString, token, yystype::type, and Yylex().

Referenced by CheckNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

yystype G4UIcommand::RelationalExpression ( void  )
private

Definition at line 772 of file G4UIcommand.cc.

References AdditiveExpression(), CONSTINT, Eval2(), G4cerr, G4endl, GE, GT, yystype::I, LE, LT, token, yystype::type, and Yylex().

Referenced by EqualityExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4UIcommand::SetGuidance ( const char *  aGuidance)
inline

Definition at line 161 of file G4UIcommand.hh.

Referenced by B2aDetectorMessenger::B2aDetectorMessenger(), B2bDetectorMessenger::B2bDetectorMessenger(), CCalPrimaryGeneratorMessenger::CCalPrimaryGeneratorMessenger(), CexmcChargeExchangeReconstructorMessenger::CexmcChargeExchangeReconstructorMessenger(), CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcEventActionMessenger::CexmcEventActionMessenger(), CexmcMessenger::CexmcMessenger(), CexmcParticleGunMessenger::CexmcParticleGunMessenger(), CexmcPhysicsManagerMessenger::CexmcPhysicsManagerMessenger(), CexmcPrimaryGeneratorActionMessenger::CexmcPrimaryGeneratorActionMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcReconstructorMessenger::CexmcReconstructorMessenger(), CexmcRunManagerMessenger::CexmcRunManagerMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), CML2AcceleratorConstructionMessenger::CML2AcceleratorConstructionMessenger(), CML2MainMessenger::CML2MainMessenger(), CML2PhantomConstructionMessenger::CML2PhantomConstructionMessenger(), CML2PrimaryGenerationActionMessenger::CML2PrimaryGenerationActionMessenger(), G4CascadeParamMessenger::CreateDirectory(), G4H1Messenger::CreateH1Cmd(), G4H2Messenger::CreateH2Cmd(), G4GenericMessenger::DeclareMethod(), G4GenericMessenger::DeclareMethodWithUnit(), G4GenericMessenger::DeclareProperty(), G4GenericMessenger::DeclarePropertyWithUnit(), DetectorMessenger::DetectorMessenger(), DicomIntersectVolume::DicomIntersectVolume(), DMXEventActionMessenger::DMXEventActionMessenger(), DMXRunActionMessenger::DMXRunActionMessenger(), ElectronBenchmarkDetectorMessenger::ElectronBenchmarkDetectorMessenger(), Em10DetectorMessenger::Em10DetectorMessenger(), Em10EventActionMessenger::Em10EventActionMessenger(), Em10PhysicsListMessenger::Em10PhysicsListMessenger(), Em10PrimaryGeneratorMessenger::Em10PrimaryGeneratorMessenger(), Em10RunMessenger::Em10RunMessenger(), EventActionMessenger::EventActionMessenger(), EventMessenger::EventMessenger(), ExErrorDetectorMessenger::ExErrorDetectorMessenger(), ExG4DetectorConstruction01Messenger::ExG4DetectorConstruction01Messenger(), ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger(), ExG4EventAction01Messenger::ExG4EventAction01Messenger(), ExG4RunAction01Messenger::ExG4RunAction01Messenger(), exGPSEventActionMessenger::exGPSEventActionMessenger(), ExN02DetectorMessenger::ExN02DetectorMessenger(), ExN03DetectorMessenger::ExN03DetectorMessenger(), ExP01DetectorMessenger::ExP01DetectorMessenger(), exrdmDetectorMessenger::exrdmDetectorMessenger(), exrdmEventActionMessenger::exrdmEventActionMessenger(), exrdmHistoMessenger::exrdmHistoMessenger(), exrdmMaterialMessenger::exrdmMaterialMessenger(), exrdmPhysicsListMessenger::exrdmPhysicsListMessenger(), F01DetectorMessenger::F01DetectorMessenger(), F01EventActionMessenger::F01EventActionMessenger(), F01FieldMessenger::F01FieldMessenger(), F01PhysicsListMessenger::F01PhysicsListMessenger(), F01PrimaryGeneratorMessenger::F01PrimaryGeneratorMessenger(), F01RunMessenger::F01RunMessenger(), F02DetectorMessenger::F02DetectorMessenger(), F02EventActionMessenger::F02EventActionMessenger(), F02FieldMessenger::F02FieldMessenger(), F02PhysicsListMessenger::F02PhysicsListMessenger(), F02PrimaryGeneratorMessenger::F02PrimaryGeneratorMessenger(), F02RunMessenger::F02RunMessenger(), F03DetectorMessenger::F03DetectorMessenger(), F03EventActionMessenger::F03EventActionMessenger(), F03FieldMessenger::F03FieldMessenger(), F03PhysicsListMessenger::F03PhysicsListMessenger(), F03PrimaryGeneratorMessenger::F03PrimaryGeneratorMessenger(), F03RunMessenger::F03RunMessenger(), F04DetectorMessenger::F04DetectorMessenger(), F04EventActionMessenger::F04EventActionMessenger(), F04FieldMessenger::F04FieldMessenger(), F04PhysicsListMessenger::F04PhysicsListMessenger(), F04PrimaryGeneratorMessenger::F04PrimaryGeneratorMessenger(), F04RunActionMessenger::F04RunActionMessenger(), F04SteppingActionMessenger::F04SteppingActionMessenger(), FCALTBEventActionMessenger::FCALTBEventActionMessenger(), G4ScoreQuantityMessenger::FilterCommands(), G02DetectorMessenger::G02DetectorMessenger(), G03DetectorMessenger::G03DetectorMessenger(), G4AdjointPhysicsMessenger::G4AdjointPhysicsMessenger(), G4AdjointSimMessenger::G4AdjointSimMessenger(), G4AnalysisMessenger::G4AnalysisMessenger(), G4BlineTracerMessenger::G4BlineTracerMessenger(), G4DecayTableMessenger::G4DecayTableMessenger(), G4DMmessenger::G4DMmessenger(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EmMessenger::G4EmMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4ErrorMessenger::G4ErrorMessenger(), G4EvManMessenger::G4EvManMessenger(), G4FastSimulationMessenger::G4FastSimulationMessenger(), G4FileMessenger::G4FileMessenger(), G4GDMLMessenger::G4GDMLMessenger(), G4GenericMessenger::G4GenericMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4H1Messenger::G4H1Messenger(), G4H2Messenger::G4H2Messenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4HepRepMessenger::G4HepRepMessenger(), G4HumanPhantomMessenger::G4HumanPhantomMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4InteractorMessenger::G4InteractorMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ModelCmdActive< M >::G4ModelCmdActive(), G4ModelCmdAddInt< M >::G4ModelCmdAddInt(), G4ModelCmdAddInterval< M >::G4ModelCmdAddInterval(), G4ModelCmdAddIntervalContext< M >::G4ModelCmdAddIntervalContext(), G4ModelCmdAddString< M >::G4ModelCmdAddString(), G4ModelCmdAddValue< M >::G4ModelCmdAddValue(), G4ModelCmdAddValueContext< M >::G4ModelCmdAddValueContext(), G4ModelCmdApplyColour< M >::G4ModelCmdApplyColour(), G4ModelCmdApplyStringColour< M >::G4ModelCmdApplyStringColour(), G4ModelCmdCreateContextDir< M >::G4ModelCmdCreateContextDir(), G4ModelCmdDraw< M >::G4ModelCmdDraw(), G4ModelCmdInvert< M >::G4ModelCmdInvert(), G4ModelCmdReset< M >::G4ModelCmdReset(), G4ModelCmdSetAuxPtsFillStyle< M >::G4ModelCmdSetAuxPtsFillStyle(), G4ModelCmdSetAuxPtsSize< M >::G4ModelCmdSetAuxPtsSize(), G4ModelCmdSetAuxPtsSizeType< M >::G4ModelCmdSetAuxPtsSizeType(), G4ModelCmdSetAuxPtsType< M >::G4ModelCmdSetAuxPtsType(), G4ModelCmdSetAuxPtsVisible< M >::G4ModelCmdSetAuxPtsVisible(), G4ModelCmdSetDrawAuxPts< M >::G4ModelCmdSetDrawAuxPts(), G4ModelCmdSetDrawLine< M >::G4ModelCmdSetDrawLine(), G4ModelCmdSetDrawStepPts< M >::G4ModelCmdSetDrawStepPts(), G4ModelCmdSetLineVisible< M >::G4ModelCmdSetLineVisible(), G4ModelCmdSetStepPtsFillStyle< M >::G4ModelCmdSetStepPtsFillStyle(), G4ModelCmdSetStepPtsSize< M >::G4ModelCmdSetStepPtsSize(), G4ModelCmdSetStepPtsSizeType< M >::G4ModelCmdSetStepPtsSizeType(), G4ModelCmdSetStepPtsType< M >::G4ModelCmdSetStepPtsType(), G4ModelCmdSetStepPtsVisible< M >::G4ModelCmdSetStepPtsVisible(), G4ModelCmdSetString< M >::G4ModelCmdSetString(), G4ModelCmdSetTimeSliceInterval< M >::G4ModelCmdSetTimeSliceInterval(), G4ModelCmdVerbose< M >::G4ModelCmdVerbose(), G4MonopoleFieldMessenger::G4MonopoleFieldMessenger(), G4MonopolePhysicsMessenger::G4MonopolePhysicsMessenger(), G4NeutronKillerMessenger::G4NeutronKillerMessenger(), 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(), G4ScoringMessenger::G4ScoringMessenger(), G4SDmessenger::G4SDmessenger(), G4StackingMessenger::G4StackingMessenger(), G4tgrMessenger::G4tgrMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UnitsMessenger::G4UnitsMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandDrawTree::G4VisCommandDrawTree(), G4VisCommandDrawView::G4VisCommandDrawView(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandGeometrySetColour::G4VisCommandGeometrySetColour(), G4VisCommandGeometrySetDaughtersInvisible::G4VisCommandGeometrySetDaughtersInvisible(), G4VisCommandGeometrySetForceAuxEdgeVisible::G4VisCommandGeometrySetForceAuxEdgeVisible(), G4VisCommandGeometrySetForceLineSegmentsPerCircle::G4VisCommandGeometrySetForceLineSegmentsPerCircle(), G4VisCommandGeometrySetForceSolid::G4VisCommandGeometrySetForceSolid(), G4VisCommandGeometrySetForceWireframe::G4VisCommandGeometrySetForceWireframe(), G4VisCommandGeometrySetLineStyle::G4VisCommandGeometrySetLineStyle(), G4VisCommandGeometrySetLineWidth::G4VisCommandGeometrySetLineWidth(), G4VisCommandGeometrySetVisibility::G4VisCommandGeometrySetVisibility(), G4VisCommandListManagerList< Manager >::G4VisCommandListManagerList(), G4VisCommandListManagerSelect< Manager >::G4VisCommandListManagerSelect(), G4VisCommandManagerMode< Manager >::G4VisCommandManagerMode(), G4VisCommandModelCreate< Factory >::G4VisCommandModelCreate(), G4VisCommandOpen::G4VisCommandOpen(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetLineWidth::G4VisCommandSetLineWidth(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandSetTextLayout::G4VisCommandSetTextLayout(), G4VisCommandSetTouchable::G4VisCommandSetTouchable(), G4VisCommandSpecify::G4VisCommandSpecify(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerDefaultHiddenEdge::G4VisCommandViewerDefaultHiddenEdge(), G4VisCommandViewerDefaultStyle::G4VisCommandViewerDefaultStyle(), GammaKnifeMessenger::GammaKnifeMessenger(), GammaKnifePhysicsListMessenger::GammaKnifePhysicsListMessenger(), GammaRayTelDetectorMessenger::GammaRayTelDetectorMessenger(), GammaRayTelPhysicsListMessenger::GammaRayTelPhysicsListMessenger(), GFlashShowerModelMessenger::GFlashShowerModelMessenger(), HadrontherapyAnalysisFileMessenger::HadrontherapyAnalysisFileMessenger(), HadrontherapyDetectorMessenger::HadrontherapyDetectorMessenger(), HadrontherapyEventActionMessenger::HadrontherapyEventActionMessenger(), HadrontherapyParameterMessenger::HadrontherapyParameterMessenger(), HadrontherapyPhysicsListMessenger::HadrontherapyPhysicsListMessenger(), HadrontherapyStepMaxMessenger::HadrontherapyStepMaxMessenger(), HistoManagerMessenger::HistoManagerMessenger(), HistoMessenger::HistoMessenger(), IORTDetectorMessenger::IORTDetectorMessenger(), IORTEventActionMessenger::IORTEventActionMessenger(), IORTGeometryMessenger::IORTGeometryMessenger(), IORTParameterMessenger::IORTParameterMessenger(), IORTPhysicsListMessenger::IORTPhysicsListMessenger(), IORTStepMaxMessenger::IORTStepMaxMessenger(), LXeDetectorMessenger::LXeDetectorMessenger(), LXeEventMessenger::LXeEventMessenger(), ML2PhysicsListMessenger::ML2PhysicsListMessenger(), ML2StepMaxMessenger::ML2StepMaxMessenger(), MyKleinNishinaMessenger::MyKleinNishinaMessenger(), NeutronHPMessenger::NeutronHPMessenger(), OpNovicePhysicsListMessenger::OpNovicePhysicsListMessenger(), OpNovicePrimaryGeneratorMessenger::OpNovicePrimaryGeneratorMessenger(), PhysicsListMessenger::PhysicsListMessenger(), PrimaryGeneratorMessenger::PrimaryGeneratorMessenger(), G4ScoreQuantityMessenger::QuantityCommands(), RE05PrimaryGeneratorMessenger::RE05PrimaryGeneratorMessenger(), RE05StackingActionMessenger::RE05StackingActionMessenger(), RE06DetectorMessenger::RE06DetectorMessenger(), RMC01AnalysisManagerMessenger::RMC01AnalysisManagerMessenger(), RMC01DetectorMessenger::RMC01DetectorMessenger(), RunActionMessenger::RunActionMessenger(), G4GenericMessenger::Command::SetGuidance(), G4GenericMessenger::SetGuidance(), G4H1Messenger::SetH1Cmd(), G4H1Messenger::SetH1TitleCmd(), G4H1Messenger::SetH1XAxisCmd(), G4H1Messenger::SetH1YAxisCmd(), G4H2Messenger::SetH2Cmd(), G4H2Messenger::SetH2TitleCmd(), G4H2Messenger::SetH2XAxisCmd(), G4H2Messenger::SetH2YAxisCmd(), G4H2Messenger::SetH2ZAxisCmd(), G4HnMessenger::SetHnActivationCmd(), G4HnMessenger::SetHnActivationToAllCmd(), G4HnMessenger::SetHnAsciiCmd(), G4VisCommandModelCreate< Factory >::SetNewValue(), G4GenericMessenger::Command::SetUnit(), StackingMessenger::StackingMessenger(), StepLimiterMessenger::StepLimiterMessenger(), StepMaxMessenger::StepMaxMessenger(), TrackingMessenger::TrackingMessenger(), WLSDetectorMessenger::WLSDetectorMessenger(), WLSEventActionMessenger::WLSEventActionMessenger(), WLSPhysicsListMessenger::WLSPhysicsListMessenger(), WLSPrimaryGeneratorMessenger::WLSPrimaryGeneratorMessenger(), WLSRunActionMessenger::WLSRunActionMessenger(), WLSSteppingActionMessenger::WLSSteppingActionMessenger(), XrayFluoDetectorMessenger::XrayFluoDetectorMessenger(), XrayFluoEventActionMessenger::XrayFluoEventActionMessenger(), XrayFluoMercuryDetectorMessenger::XrayFluoMercuryDetectorMessenger(), XrayFluoMercuryPrimaryGeneratorMessenger::XrayFluoMercuryPrimaryGeneratorMessenger(), XrayFluoPhysicsListMessenger::XrayFluoPhysicsListMessenger(), XrayFluoPlaneDetectorMessenger::XrayFluoPlaneDetectorMessenger(), XrayFluoPlanePrimaryGeneratorMessenger::XrayFluoPlanePrimaryGeneratorMessenger(), XrayFluoPrimaryGeneratorMessenger::XrayFluoPrimaryGeneratorMessenger(), and XrayFluoStepMaxMessenger::XrayFluoStepMaxMessenger().

void G4UIcommand::SetParameter ( G4UIparameter *const  newParameter)
inline

Definition at line 152 of file G4UIcommand.hh.

References newVal.

Referenced by CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), G4H1Messenger::CreateH1Cmd(), G4H2Messenger::CreateH2Cmd(), G4GenericMessenger::DeclareMethod(), G4GenericMessenger::DeclareProperty(), exrdmHistoMessenger::exrdmHistoMessenger(), exrdmMaterialMessenger::exrdmMaterialMessenger(), G4ScoreQuantityMessenger::FilterCommands(), G4AdjointSimMessenger::G4AdjointSimMessenger(), G4EmManagerMessenger::G4EmManagerMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4InteractorMessenger::G4InteractorMessenger(), G4LocalThreadCoutMessenger::G4LocalThreadCoutMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ModelCmdApplyColour< M >::G4ModelCmdApplyColour(), G4ModelCmdApplyStringColour< M >::G4ModelCmdApplyStringColour(), G4MonopolePhysicsMessenger::G4MonopolePhysicsMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4ProcessManagerMessenger::G4ProcessManagerMessenger(), G4ProcessTableMessenger::G4ProcessTableMessenger(), G4RunMessenger::G4RunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandGeometrySetColour::G4VisCommandGeometrySetColour(), G4VisCommandGeometrySetDaughtersInvisible::G4VisCommandGeometrySetDaughtersInvisible(), G4VisCommandGeometrySetForceAuxEdgeVisible::G4VisCommandGeometrySetForceAuxEdgeVisible(), G4VisCommandGeometrySetForceLineSegmentsPerCircle::G4VisCommandGeometrySetForceLineSegmentsPerCircle(), G4VisCommandGeometrySetForceSolid::G4VisCommandGeometrySetForceSolid(), G4VisCommandGeometrySetForceWireframe::G4VisCommandGeometrySetForceWireframe(), G4VisCommandGeometrySetLineStyle::G4VisCommandGeometrySetLineStyle(), G4VisCommandGeometrySetLineWidth::G4VisCommandGeometrySetLineWidth(), G4VisCommandGeometrySetVisibility::G4VisCommandGeometrySetVisibility(), G4VisCommandOpen::G4VisCommandOpen(), G4VisCommandSceneAddArrow::G4VisCommandSceneAddArrow(), G4VisCommandSceneAddAxes::G4VisCommandSceneAddAxes(), G4VisCommandSceneAddLine::G4VisCommandSceneAddLine(), G4VisCommandSceneAddLogo::G4VisCommandSceneAddLogo(), G4VisCommandSceneAddScale::G4VisCommandSceneAddScale(), G4VisCommandSceneAddText::G4VisCommandSceneAddText(), G4VisCommandSceneAddText2D::G4VisCommandSceneAddText2D(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandSetTouchable::G4VisCommandSetTouchable(), G4VisCommandSpecify::G4VisCommandSpecify(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerAddCutawayPlane::G4VisCommandViewerAddCutawayPlane(), G4VisCommandViewerChangeCutawayPlane::G4VisCommandViewerChangeCutawayPlane(), HistoMessenger::HistoMessenger(), G4ScoreQuantityMessenger::QuantityCommands(), RMC01AnalysisManagerMessenger::RMC01AnalysisManagerMessenger(), G4H1Messenger::SetH1Cmd(), G4H1Messenger::SetH1TitleCmd(), G4H1Messenger::SetH1XAxisCmd(), G4H1Messenger::SetH1YAxisCmd(), G4H2Messenger::SetH2Cmd(), G4H2Messenger::SetH2TitleCmd(), G4H2Messenger::SetH2XAxisCmd(), G4H2Messenger::SetH2YAxisCmd(), G4H2Messenger::SetH2ZAxisCmd(), and G4HnMessenger::SetHnActivationCmd().

void G4UIcommand::SetRange ( const char *  rs)
inline

Definition at line 125 of file G4UIcommand.hh.

Referenced by CexmcChargeExchangeReconstructorMessenger::CexmcChargeExchangeReconstructorMessenger(), CexmcEnergyDepositDigitizerMessenger::CexmcEnergyDepositDigitizerMessenger(), CexmcEventActionMessenger::CexmcEventActionMessenger(), CexmcParticleGunMessenger::CexmcParticleGunMessenger(), CexmcProductionModelMessenger::CexmcProductionModelMessenger(), CexmcScenePrimitivesMessenger::CexmcScenePrimitivesMessenger(), DMXEventActionMessenger::DMXEventActionMessenger(), Em10DetectorMessenger::Em10DetectorMessenger(), Em10EventActionMessenger::Em10EventActionMessenger(), Em10PhysicsListMessenger::Em10PhysicsListMessenger(), Em10RunMessenger::Em10RunMessenger(), EventActionMessenger::EventActionMessenger(), EventMessenger::EventMessenger(), ExG4DetectorConstruction02Messenger::ExG4DetectorConstruction02Messenger(), ExG4EventAction01Messenger::ExG4EventAction01Messenger(), exGPSEventActionMessenger::exGPSEventActionMessenger(), ExN03DetectorMessenger::ExN03DetectorMessenger(), exrdmMaterialMessenger::exrdmMaterialMessenger(), exrdmPhysicsListMessenger::exrdmPhysicsListMessenger(), F01DetectorMessenger::F01DetectorMessenger(), F01EventActionMessenger::F01EventActionMessenger(), F01RunMessenger::F01RunMessenger(), F02DetectorMessenger::F02DetectorMessenger(), F02EventActionMessenger::F02EventActionMessenger(), F02RunMessenger::F02RunMessenger(), F03DetectorMessenger::F03DetectorMessenger(), F03EventActionMessenger::F03EventActionMessenger(), F03RunMessenger::F03RunMessenger(), F04DetectorMessenger::F04DetectorMessenger(), F04EventActionMessenger::F04EventActionMessenger(), F04FieldMessenger::F04FieldMessenger(), F04PhysicsListMessenger::F04PhysicsListMessenger(), F04RunActionMessenger::F04RunActionMessenger(), FCALTBEventActionMessenger::FCALTBEventActionMessenger(), G4AnalysisMessenger::G4AnalysisMessenger(), G4DecayTableMessenger::G4DecayTableMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4EvManMessenger::G4EvManMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4HepRepMessenger::G4HepRepMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4MonopolePhysicsMessenger::G4MonopolePhysicsMessenger(), G4MPImessenger::G4MPImessenger(), 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(), G4ScoringMessenger::G4ScoringMessenger(), G4StackingMessenger::G4StackingMessenger(), G4tgrMessenger::G4tgrMessenger(), G4TrackingMessenger::G4TrackingMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandSetLineWidth::G4VisCommandSetLineWidth(), GammaKnifePhysicsListMessenger::GammaKnifePhysicsListMessenger(), GammaRayTelDetectorMessenger::GammaRayTelDetectorMessenger(), GammaRayTelPhysicsListMessenger::GammaRayTelPhysicsListMessenger(), HadrontherapyEventActionMessenger::HadrontherapyEventActionMessenger(), HadrontherapyPhysicsListMessenger::HadrontherapyPhysicsListMessenger(), HadrontherapyStepMaxMessenger::HadrontherapyStepMaxMessenger(), HistoMessenger::HistoMessenger(), IORTEventActionMessenger::IORTEventActionMessenger(), IORTPhysicsListMessenger::IORTPhysicsListMessenger(), IORTStepMaxMessenger::IORTStepMaxMessenger(), ML2PhysicsListMessenger::ML2PhysicsListMessenger(), ML2StepMaxMessenger::ML2StepMaxMessenger(), MyKleinNishinaMessenger::MyKleinNishinaMessenger(), OpNovicePhysicsListMessenger::OpNovicePhysicsListMessenger(), PhysicsListMessenger::PhysicsListMessenger(), PrimaryGeneratorMessenger::PrimaryGeneratorMessenger(), RE05StackingActionMessenger::RE05StackingActionMessenger(), RE06DetectorMessenger::RE06DetectorMessenger(), RunActionMessenger::RunActionMessenger(), G4HnMessenger::SetHnAsciiCmd(), G4GenericMessenger::Command::SetRange(), G4GenericMessenger::Command::SetUnit(), StackingMessenger::StackingMessenger(), StepLimiterMessenger::StepLimiterMessenger(), StepMaxMessenger::StepMaxMessenger(), WLSDetectorMessenger::WLSDetectorMessenger(), WLSEventActionMessenger::WLSEventActionMessenger(), WLSPhysicsListMessenger::WLSPhysicsListMessenger(), WLSPrimaryGeneratorMessenger::WLSPrimaryGeneratorMessenger(), WLSRunActionMessenger::WLSRunActionMessenger(), WLSSteppingActionMessenger::WLSSteppingActionMessenger(), XrayFluoEventActionMessenger::XrayFluoEventActionMessenger(), XrayFluoPhysicsListMessenger::XrayFluoPhysicsListMessenger(), and XrayFluoStepMaxMessenger::XrayFluoStepMaxMessenger().

void G4UIcommand::SetToBeFlushed ( G4bool  val)
inline

Definition at line 188 of file G4UIcommand.hh.

Referenced by G4GenericMessenger::Command::SetToBeFlushed().

+ Here is the caller graph for this function:

void G4UIcommand::SetWorkerThreadOnly ( G4bool  val = true)
inline

Definition at line 192 of file G4UIcommand.hh.

Referenced by G4UIcommandTree::AddNewCommand(), and G4GenericMessenger::Command::SetWorkerThreadOnly().

+ Here is the caller graph for this function:

G4bool G4UIcommand::ToBeBroadcasted ( ) const
inline

Definition at line 186 of file G4UIcommand.hh.

References toBeBroadcasted.

Referenced by G4UIcommandTree::AddNewCommand(), and G4UImanager::ApplyCommand().

+ Here is the caller graph for this function:

G4bool G4UIcommand::ToBeFlushed ( ) const
inline

Definition at line 190 of file G4UIcommand.hh.

References toBeFlushed.

G4String G4UIcommand::TokenToStr ( G4int  token)
private
G4int G4UIcommand::TypeCheck ( const char *  t)
private

Definition at line 494 of file G4UIcommand.cc.

References G4cerr, G4endl, IsDouble(), IsInt(), and parameter.

+ Here is the call graph for this function:

yystype G4UIcommand::UnaryExpression ( void  )
private

Definition at line 825 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, yystype::D, G4cerr, G4endl, yystype::I, paramERR, PrimaryExpression(), token, yystype::type, and Yylex().

Referenced by MultiplicativeExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String G4UIcommand::UnitsList ( const char *  unitCategory)
static

Definition at line 306 of file G4UIcommand.cc.

References G4cerr, G4endl, and G4UnitDefinition::GetUnitsTable().

Referenced by G4EmManagerMessenger::G4EmManagerMessenger(), G4EnergyLossMessenger::G4EnergyLossMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4UIcmdWithADoubleAndUnit::SetUnitCategory(), and G4UIcmdWith3VectorAndUnit::SetUnitCategory().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UIcommand::ValueOf ( const char *  unitName)
static
tokenNum G4UIcommand::Yylex ( void  )
private

Definition at line 1041 of file G4UIcommand.cc.

References CONSTDOUBLE, CONSTINT, yystype::D, G4String::data(), EQ, Follow(), G4cerr, G4endl, G4UIpGetc(), G4UIpUngetc(), GE, GT, yystype::I, IDENTIFIER, IsDouble(), IsInt(), IsParameter(), LE, LOGICALAND, LOGICALOR, LT, NE, paramERR, yystype::S, and yylval.

Referenced by EqualityExpression(), LogicalANDExpression(), LogicalORExpression(), PrimaryExpression(), RangeCheck(), RelationalExpression(), and UnaryExpression().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::vector<G4ApplicationState> G4UIcommand::availabelStateList
private

Definition at line 122 of file G4UIcommand.hh.

Referenced by AvailableForStates(), G4UIcommand(), GetStateList(), and IsAvailable().

G4int G4UIcommand::bp
private

Definition at line 233 of file G4UIcommand.hh.

Referenced by G4UIpGetc(), G4UIpUngetc(), and RangeCheck().

std::vector<G4String> G4UIcommand::commandGuidance
private

Definition at line 121 of file G4UIcommand.hh.

Referenced by List().

G4String G4UIcommand::commandName
private

Definition at line 118 of file G4UIcommand.hh.

Referenced by Eval2(), and GetCommandName().

G4String G4UIcommand::commandPath
private

Definition at line 117 of file G4UIcommand.hh.

Referenced by GetCommandPath(), List(), operator!=(), and operator==().

G4UImessenger* G4UIcommand::messenger
private

Definition at line 116 of file G4UIcommand.hh.

Referenced by DoIt(), GetCurrentValue(), and GetMessenger().

std::vector<yystype> G4UIcommand::newVal
private

Definition at line 236 of file G4UIcommand.hh.

Referenced by Eval2(), RangeCheck(), and SetParameter().

std::vector<G4UIparameter*> G4UIcommand::parameter
private

Definition at line 120 of file G4UIcommand.hh.

Referenced by DoIt(), Eval2(), IndexOf(), IsParameter(), List(), RangeCheck(), TypeCheck(), and ~G4UIcommand().

G4String G4UIcommand::rangeBuf
private

Definition at line 232 of file G4UIcommand.hh.

G4String G4UIcommand::rangeString
private

Definition at line 119 of file G4UIcommand.hh.

Referenced by CheckNewValue(), Eval2(), G4UIpGetc(), G4UIpUngetc(), GetRange(), List(), and RangeCheck().

G4bool G4UIcommand::toBeBroadcasted
protected

Definition at line 179 of file G4UIcommand.hh.

Referenced by ToBeBroadcasted().

G4bool G4UIcommand::toBeFlushed
protected

Definition at line 180 of file G4UIcommand.hh.

Referenced by ToBeFlushed().

G4bool G4UIcommand::workerThreadOnly
protected

Definition at line 181 of file G4UIcommand.hh.

Referenced by DoIt(), IsWorkerThreadOnly(), and List().

yystype G4UIcommand::yylval
private

Definition at line 235 of file G4UIcommand.hh.

Referenced by PrimaryExpression(), and Yylex().


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