39#define G4UIcommand_hh 1
120 inline void SetRange(
const char* rs) { rangeExpression = rs; }
129 inline std::vector<G4ApplicationState>*
GetStateList() {
return &availabelStateList; }
138 parameter.push_back(newParameter);
145 inline void SetGuidance(
const char* aGuidance) { commandGuidance.emplace_back(aGuidance); }
149 return (commandGuidance.empty()) ?
G4String(
"...Title not available...") : commandGuidance[0];
211 void G4UIcommandCommonConstructorCode(
const char* theCommandPath);
219 std::vector<G4UIparameter*> parameter;
220 std::vector<G4String> commandGuidance;
221 std::vector<G4ApplicationState> availabelStateList;
std::ostringstream G4ExceptionDescription
CLHEP::Hep3Vector G4ThreeVector
void SetToBeBroadcasted(G4bool val)
G4bool IsWorkerThreadOnly() const
G4UImessenger * GetMessenger() const
std::size_t GetParameterEntries() const
const G4String & GetGuidanceLine(G4int i) const
static G4ThreeVector ConvertTo3Vector(const char *st)
G4UIparameter * GetParameter(G4int i) const
static G4String CategoryOf(const char *unitName)
static G4double ValueOf(const char *unitName)
void SetCommandType(CommandType)
G4bool ToBeBroadcasted() const
static G4long ConvertToLongInt(const char *st)
virtual G4int DoIt(const G4String ¶meterList)
const G4String GetTitle() const
G4bool operator==(const G4UIcommand &right) const
static G4String ConvertToString(G4bool boolVal)
const G4String & GetCommandPath() const
void SetParameter(G4UIparameter *const newParameter)
void SetGuidance(const char *aGuidance)
CommandType GetCommandType() const
G4int CheckNewValue(const char *newValue)
void CommandFailed(G4int errCode, G4ExceptionDescription &ed)
std::size_t GetGuidanceEntries() const
static G4int ConvertToInt(const char *st)
static G4String UnitsList(const char *unitCategory)
void SetToBeFlushed(G4bool val)
static G4bool ConvertToBool(const char *st)
std::vector< G4ApplicationState > * GetStateList()
void SetRange(const char *rs)
void SetWorkerThreadOnly(G4bool val=true)
static G4double ConvertToDouble(const char *st)
static G4double ConvertToDimensionedDouble(const char *st)
const G4String & GetFailureDescription()
G4bool ToBeFlushed() const
void AvailableForStates(G4ApplicationState s1)
const G4String & GetCommandName() const
G4bool operator!=(const G4UIcommand &right) const
const G4String & GetRange() const
G4String failureDescription
static G4ThreeVector ConvertToDimensioned3Vector(const char *st)
void SetDefaultSortFlag(G4bool val)
void CommandFailed(G4ExceptionDescription &ed)
G4String GetCurrentValue()