Geant4-11
|
#include <G4UIparameter.hh>
Public Member Functions | |
G4int | CheckNewValue (const char *newValue) |
G4UIparameter () | |
G4UIparameter (char theType) | |
G4UIparameter (const char *theName, char theType, G4bool theOmittable) | |
G4bool | GetCurrentAsDefault () const |
const G4String & | GetDefaultValue () const |
const G4String & | GetParameterCandidates () const |
const G4String & | GetParameterGuidance () const |
const G4String & | GetParameterName () const |
const G4String & | GetParameterRange () const |
char | GetParameterType () const |
G4bool | IsOmittable () const |
void | List () |
G4bool | operator!= (const G4UIparameter &right) const |
G4bool | operator== (const G4UIparameter &right) const |
void | SetCurrentAsDefault (G4bool val) |
void | SetDefaultUnit (const char *theDefaultUnit) |
void | SetDefaultValue (const char *theDefaultValue) |
void | SetDefaultValue (G4double theDefaultValue) |
void | SetDefaultValue (G4int theDefaultValue) |
void | SetDefaultValue (G4long theDefaultValue) |
void | SetGuidance (const char *theGuidance) |
void | SetOmittable (G4bool om) |
void | SetParameterCandidates (const char *theString) |
void | SetParameterName (const char *pName) |
void | SetParameterRange (const char *theRange) |
void | SetWidget (G4int theWidget) |
~G4UIparameter () | |
Protected Types | |
using | tokenNum = G4UItokenNum::tokenNum |
using | yystype = G4UItokenNum::yystype |
Private Member Functions | |
yystype | AdditiveExpression (void) |
G4int | Backslash (G4int c) |
G4int | CandidateCheck (const char *newValue) |
G4int | CompareDouble (double arg1, G4int op, double arg2) |
G4int | CompareInt (G4int arg1, G4int op, G4int arg2) |
G4int | CompareLong (G4long arg1, G4int op, G4long arg2) |
yystype | EqualityExpression (void) |
G4int | Eval2 (yystype arg1, G4int op, yystype arg2) |
G4int | ExpectExponent (const char *str) |
yystype | Expression (void) |
G4int | Follow (G4int expect, G4int ifyes, G4int ifno) |
G4int | G4UIpGetc (void) |
G4int | G4UIpUngetc (G4int c) |
G4int | IsDouble (const char *str) |
G4int | IsInt (const char *str, short maxDigit) |
yystype | LogicalANDExpression (void) |
yystype | LogicalORExpression (void) |
yystype | MultiplicativeExpression (void) |
yystype | PrimaryExpression (void) |
G4int | RangeCheck (const char *newValue) |
yystype | RelationalExpression (void) |
G4int | TypeCheck (const char *newValue) |
yystype | UnaryExpression (void) |
tokenNum | Yylex (void) |
Private Attributes | |
G4int | bp = 0 |
G4bool | currentAsDefaultFlag = false |
G4String | defaultValue |
yystype | newVal |
G4bool | omittable = false |
G4int | paramERR = 0 |
G4String | parameterCandidate |
G4String | parameterGuidance |
G4String | parameterName |
G4String | parameterRange |
char | parameterType = '\0' |
G4String | rangeBuf |
tokenNum | token = G4UItokenNum::NONE |
G4int | widget = 0 |
yystype | yylval |
Definition at line 45 of file G4UIparameter.hh.
|
protected |
Definition at line 135 of file G4UIparameter.hh.
|
protected |
Definition at line 134 of file G4UIparameter.hh.
G4UIparameter::G4UIparameter | ( | ) |
Definition at line 43 of file G4UIparameter.cc.
G4UIparameter::G4UIparameter | ( | char | theType | ) |
Definition at line 48 of file G4UIparameter.cc.
References parameterType.
G4UIparameter::G4UIparameter | ( | const char * | theName, |
char | theType, | ||
G4bool | theOmittable | ||
) |
Definition at line 54 of file G4UIparameter.cc.
References omittable, parameterName, and parameterType.
G4UIparameter::~G4UIparameter | ( | ) |
Definition at line 63 of file G4UIparameter.cc.
|
private |
Definition at line 625 of file G4UIparameter.cc.
References G4cerr, G4endl, MultiplicativeExpression(), paramERR, and token.
Referenced by RelationalExpression().
|
private |
Definition at line 191 of file G4UIparameter.cc.
References anonymous_namespace{G4MTcoutDestination.cc}::empty, G4cerr, G4endl, and parameterCandidate.
Referenced by CheckNewValue().
G4int G4UIparameter::CheckNewValue | ( | const char * | newValue | ) |
Definition at line 173 of file G4UIparameter.cc.
References CandidateCheck(), fParameterOutOfCandidates, fParameterOutOfRange, fParameterUnreadable, parameterCandidate, parameterRange, RangeCheck(), and TypeCheck().
Definition at line 927 of file G4UIparameter.cc.
References EQ, G4cerr, G4endl, GE, GT, LE, LT, NE, and paramERR.
Referenced by Eval2().
Definition at line 843 of file G4UIparameter.cc.
References EQ, G4cerr, G4endl, GE, GT, LE, LT, NE, and paramERR.
Referenced by Eval2().
Definition at line 885 of file G4UIparameter.cc.
References EQ, G4cerr, G4endl, GE, GT, LE, LT, NE, and paramERR.
Referenced by Eval2().
|
private |
Definition at line 560 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, EQ, Eval2(), G4cerr, G4endl, G4UItokenNum::yystype::I, NE, paramERR, RelationalExpression(), token, G4UItokenNum::yystype::type, and Yylex().
Referenced by LogicalANDExpression().
Definition at line 743 of file G4UIparameter.cc.
References CompareDouble(), CompareInt(), CompareLong(), G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::CONSTLONG, G4UItokenNum::yystype::D, G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::IDENTIFIER, G4UItokenNum::yystype::L, newVal, paramERR, parameterName, parameterRange, parameterType, and G4UItokenNum::yystype::type.
Referenced by EqualityExpression(), and RelationalExpression().
|
private |
Definition at line 336 of file G4UIparameter.cc.
References IsInt().
Referenced by IsDouble().
|
private |
Definition at line 459 of file G4UIparameter.cc.
References G4cerr, G4endl, and LogicalORExpression().
Referenced by PrimaryExpression(), and RangeCheck().
Definition at line 1045 of file G4UIparameter.cc.
References G4UIpGetc(), and G4UIpUngetc().
Referenced by Yylex().
|
private |
Definition at line 1056 of file G4UIparameter.cc.
References bp, and parameterRange.
Definition at line 1066 of file G4UIparameter.cc.
References bp, G4cerr, G4endl, paramERR, and parameterRange.
|
inline |
Definition at line 118 of file G4UIparameter.hh.
References currentAsDefaultFlag.
Referenced by G4UIQt::CreateCommandWidget(), G4UIcommandTree::CreateHTML(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), and G4UIQt::updateHelpArea().
|
inline |
Definition at line 84 of file G4UIparameter.hh.
References defaultValue.
Referenced by G4UIcmdWithADoubleAndUnit::ConvertToStringWithDefaultUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithDefaultUnit(), G4UIQt::CreateCommandWidget(), G4UIcommandTree::CreateHTML(), G4UIcmdWith3VectorAndUnit::DoIt(), G4UIcmdWithADoubleAndUnit::DoIt(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), G4UIQt::updateHelpArea(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inline |
Definition at line 109 of file G4UIparameter.hh.
References parameterCandidate.
Referenced by G4UIcmdWithADoubleAndUnit::ConvertToStringWithBestUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit(), G4UIQt::CreateCommandWidget(), G4UIcommandTree::CreateHTML(), G4UIterminal::ExecuteCommand(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), and G4UIQt::updateHelpArea().
|
inline |
Definition at line 123 of file G4UIparameter.hh.
References parameterGuidance.
Referenced by G4UIQt::CreateCommandWidget(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), and G4UIQt::updateHelpArea().
|
inline |
Definition at line 100 of file G4UIparameter.hh.
References parameterName.
Referenced by G4UIQt::CreateCommandWidget(), G4UIQt::CreateCompleterModel(), G4UIcommandTree::CreateHTML(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), G4UImanager::GetCurrentStringValue(), G4GenericMessenger::Command::SetUnit(), and G4UIQt::updateHelpArea().
|
inline |
Definition at line 97 of file G4UIparameter.hh.
References parameterRange.
Referenced by G4UIQt::CreateCommandWidget(), G4UIcommandTree::CreateHTML(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), and G4UIQt::updateHelpArea().
|
inline |
Definition at line 85 of file G4UIparameter.hh.
References parameterType.
Referenced by G4UIQt::CreateCommandWidget(), G4UIcommandTree::CreateHTML(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), G4UIQt::IsGUICommand(), and G4UIQt::updateHelpArea().
|
private |
Definition at line 346 of file G4UIparameter.cc.
References ExpectExponent().
Referenced by TypeCheck(), and Yylex().
|
private |
Definition at line 298 of file G4UIparameter.cc.
References G4cerr, and G4endl.
Referenced by ExpectExponent(), TypeCheck(), and Yylex().
|
inline |
Definition at line 115 of file G4UIparameter.hh.
References omittable.
Referenced by G4UIcmdWithADoubleAndUnit::ConvertToStringWithDefaultUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithDefaultUnit(), G4UIQt::CreateCommandWidget(), G4UIQt::CreateCompleterModel(), G4UIcommandTree::CreateHTML(), export_G4UIparameter(), G4UIQt::GetCommandList(), G4OpenGLQtViewer::GetCommandParameterList(), G4GenericMessenger::Command::SetUnit(), and G4UIQt::updateHelpArea().
void G4UIparameter::List | ( | ) |
Definition at line 80 of file G4UIparameter.cc.
References currentAsDefaultFlag, defaultValue, G4cout, G4endl, omittable, parameterCandidate, parameterGuidance, parameterName, parameterRange, and parameterType.
Referenced by export_G4UIparameter().
|
private |
Definition at line 515 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::CONSTLONG, G4UItokenNum::CONSTSTRING, G4UItokenNum::yystype::D, EqualityExpression(), G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::IDENTIFIER, L, G4UItokenNum::yystype::L, G4UItokenNum::LOGICALAND, paramERR, token, G4UItokenNum::yystype::type, and Yylex().
Referenced by LogicalORExpression().
|
private |
Definition at line 470 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::CONSTLONG, G4UItokenNum::CONSTSTRING, G4UItokenNum::yystype::D, G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::IDENTIFIER, L, G4UItokenNum::yystype::L, LogicalANDExpression(), G4UItokenNum::LOGICALOR, paramERR, token, G4UItokenNum::yystype::type, and Yylex().
Referenced by Expression().
|
private |
Definition at line 638 of file G4UIparameter.cc.
References G4cerr, G4endl, paramERR, token, and UnaryExpression().
Referenced by AdditiveExpression().
G4bool G4UIparameter::operator!= | ( | const G4UIparameter & | right | ) | const |
Definition at line 74 of file G4UIparameter.cc.
G4bool G4UIparameter::operator== | ( | const G4UIparameter & | right | ) | const |
Definition at line 68 of file G4UIparameter.cc.
|
private |
Definition at line 697 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::CONSTLONG, G4UItokenNum::yystype::D, Expression(), G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::IDENTIFIER, G4UItokenNum::yystype::L, paramERR, G4UItokenNum::yystype::S, token, G4UItokenNum::yystype::type, Yylex(), and yylval.
Referenced by UnaryExpression().
|
private |
Definition at line 216 of file G4UIparameter.cc.
References bp, G4UItokenNum::CONSTINT, G4UItokenNum::yystype::D, Expression(), G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::yystype::L, newVal, paramERR, parameterRange, parameterType, token, G4UItokenNum::yystype::type, and Yylex().
Referenced by CheckNewValue().
|
private |
Definition at line 593 of file G4UIparameter.cc.
References AdditiveExpression(), G4UItokenNum::CONSTINT, Eval2(), G4cerr, G4endl, GE, GT, G4UItokenNum::yystype::I, LE, LT, token, G4UItokenNum::yystype::type, and Yylex().
Referenced by EqualityExpression().
|
inline |
Definition at line 117 of file G4UIparameter.hh.
References currentAsDefaultFlag.
Referenced by G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADouble::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithALongInt::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithNucleusLimits::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), and G4GenericMessenger::Command::SetParameterName().
void G4UIparameter::SetDefaultUnit | ( | const char * | theDefaultUnit | ) |
Definition at line 133 of file G4UIparameter.cc.
References G4UIcommand::CategoryOf(), FatalException, G4Exception(), parameterName, parameterType, SetDefaultValue(), SetParameterCandidates(), and G4UIcommand::UnitsList().
Referenced by G4ScoreQuantityMessenger::FilterCommands(), G4EmExtraParametersMessenger::G4EmExtraParametersMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), and G4ScoreQuantityMessenger::QuantityCommands().
|
inline |
Definition at line 70 of file G4UIparameter.hh.
References defaultValue.
Referenced by G4ScoreQuantityMessenger::FilterCommands(), G4AdjointSimMessenger::G4AdjointSimMessenger(), G4EmExtraParametersMessenger::G4EmExtraParametersMessenger(), G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4InteractorMessenger::G4InteractorMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4OpenGLViewerMessenger::G4OpenGLViewerMessenger(), G4OpticalParametersMessenger::G4OpticalParametersMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4PolarizationMessenger::G4PolarizationMessenger(), G4ProcessManagerMessenger::G4ProcessManagerMessenger(), G4ProcessTableMessenger::G4ProcessTableMessenger(), G4RunMessenger::G4RunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandGeometrySetColour::G4VisCommandGeometrySetColour(), G4VisCommandGeometrySetDaughtersInvisible::G4VisCommandGeometrySetDaughtersInvisible(), G4VisCommandGeometrySetForceAuxEdgeVisible::G4VisCommandGeometrySetForceAuxEdgeVisible(), G4VisCommandGeometrySetForceCloud::G4VisCommandGeometrySetForceCloud(), G4VisCommandGeometrySetForceLineSegmentsPerCircle::G4VisCommandGeometrySetForceLineSegmentsPerCircle(), G4VisCommandGeometrySetForceSolid::G4VisCommandGeometrySetForceSolid(), G4VisCommandGeometrySetForceWireframe::G4VisCommandGeometrySetForceWireframe(), G4VisCommandGeometrySetLineStyle::G4VisCommandGeometrySetLineStyle(), G4VisCommandGeometrySetLineWidth::G4VisCommandGeometrySetLineWidth(), G4VisCommandGeometrySetVisibility::G4VisCommandGeometrySetVisibility(), G4VisCommandOpen::G4VisCommandOpen(), G4VisCommandSceneAddArrow::G4VisCommandSceneAddArrow(), G4VisCommandSceneAddAxes::G4VisCommandSceneAddAxes(), G4VisCommandSceneAddLine::G4VisCommandSceneAddLine(), G4VisCommandSceneAddLogicalVolume::G4VisCommandSceneAddLogicalVolume(), G4VisCommandSceneAddLogo::G4VisCommandSceneAddLogo(), G4VisCommandSceneAddScale::G4VisCommandSceneAddScale(), G4VisCommandSceneAddText::G4VisCommandSceneAddText(), G4VisCommandSceneAddText2D::G4VisCommandSceneAddText2D(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandSpecify::G4VisCommandSpecify(), G4VisCommandsTouchableSet::G4VisCommandsTouchableSet(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn(), G4VisCommandViewerCreate::G4VisCommandViewerCreate(), G4ToolsSGViewer< SG_SESSION, SG_VIEWER >::Messenger::Messenger(), G4ScoreQuantityMessenger::QuantityCommands(), G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWithADouble::SetDefaultValue(), G4UIcmdWithADoubleAndUnit::SetDefaultValue(), G4UIcmdWithAnInteger::SetDefaultValue(), G4GenericMessenger::Command::SetDefaultValue(), G4UIcmdWithALongInt::SetDefaultValue(), G4UIcmdWithNucleusLimits::SetDefaultValue(), G4UIcmdWith3Vector::SetDefaultValue(), and G4UIcmdWith3VectorAndUnit::SetDefaultValue().
void G4UIparameter::SetDefaultValue | ( | G4double | theDefaultValue | ) |
Definition at line 125 of file G4UIparameter.cc.
References defaultValue.
void G4UIparameter::SetDefaultValue | ( | G4int | theDefaultValue | ) |
Definition at line 109 of file G4UIparameter.cc.
References defaultValue.
void G4UIparameter::SetDefaultValue | ( | G4long | theDefaultValue | ) |
Definition at line 117 of file G4UIparameter.cc.
References defaultValue.
|
inline |
Definition at line 127 of file G4UIparameter.hh.
References parameterGuidance.
Referenced by G4OpenGLViewerMessenger::G4OpenGLViewerMessenger(), G4OpticalParametersMessenger::G4OpticalParametersMessenger(), G4RadioactiveDecayMessenger::G4RadioactiveDecayMessenger(), G4VisCommandGeometrySetColour::G4VisCommandGeometrySetColour(), G4VisCommandGeometrySetDaughtersInvisible::G4VisCommandGeometrySetDaughtersInvisible(), G4VisCommandGeometrySetForceAuxEdgeVisible::G4VisCommandGeometrySetForceAuxEdgeVisible(), G4VisCommandGeometrySetForceCloud::G4VisCommandGeometrySetForceCloud(), G4VisCommandGeometrySetForceLineSegmentsPerCircle::G4VisCommandGeometrySetForceLineSegmentsPerCircle(), G4VisCommandGeometrySetForceSolid::G4VisCommandGeometrySetForceSolid(), G4VisCommandGeometrySetForceWireframe::G4VisCommandGeometrySetForceWireframe(), G4VisCommandGeometrySetLineStyle::G4VisCommandGeometrySetLineStyle(), G4VisCommandGeometrySetLineWidth::G4VisCommandGeometrySetLineWidth(), G4VisCommandGeometrySetVisibility::G4VisCommandGeometrySetVisibility(), G4VisCommandOpen::G4VisCommandOpen(), G4VisCommandSceneAddLogo::G4VisCommandSceneAddLogo(), G4VisCommandSceneAddScale::G4VisCommandSceneAddScale(), G4VisCommandSceneAddText::G4VisCommandSceneAddText(), G4VisCommandSceneAddText2D::G4VisCommandSceneAddText2D(), G4VisCommandSetColour::G4VisCommandSetColour(), G4VisCommandSetTextColour::G4VisCommandSetTextColour(), G4VisCommandSetTouchable::G4VisCommandSetTouchable(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4VisCommandViewerCentreOn::G4VisCommandViewerCentreOn(), and G4VisCommandViewerCreate::G4VisCommandViewerCreate().
|
inline |
Definition at line 114 of file G4UIparameter.hh.
References G4InuclParticleNames::om, and omittable.
Referenced by G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADouble::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithALongInt::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithNucleusLimits::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), and G4GenericMessenger::Command::SetParameterName().
|
inline |
Definition at line 102 of file G4UIparameter.hh.
References parameterCandidate.
Referenced by G4EmExtraParametersMessenger::G4EmExtraParametersMessenger(), G4EmLowEParametersMessenger::G4EmLowEParametersMessenger(), G4InteractorMessenger::G4InteractorMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4OpenGLViewerMessenger::G4OpenGLViewerMessenger(), G4OpticalParametersMessenger::G4OpticalParametersMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandGeometrySetLineStyle::G4VisCommandGeometrySetLineStyle(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), G4UIcmdWithAString::SetCandidates(), G4GenericMessenger::Command::SetCandidates(), SetDefaultUnit(), G4UIcmdWith3VectorAndUnit::SetUnitCandidates(), and G4UIcmdWithADoubleAndUnit::SetUnitCandidates().
|
inline |
Definition at line 99 of file G4UIparameter.hh.
References parameterName.
Referenced by G4UIcmdWith3VectorAndUnit::G4UIcmdWith3VectorAndUnit(), G4UIcmdWithADoubleAndUnit::G4UIcmdWithADoubleAndUnit(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADouble::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWithALongInt::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithNucleusLimits::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), and G4GenericMessenger::Command::SetParameterName().
|
inline |
Definition at line 87 of file G4UIparameter.hh.
References parameterRange.
Referenced by G4AdjointSimMessenger::G4AdjointSimMessenger(), G4EmExtraParametersMessenger::G4EmExtraParametersMessenger(), G4GMocrenMessenger::G4GMocrenMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4RadioactiveDecayMessenger::G4RadioactiveDecayMessenger(), G4RunMessenger::G4RunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UIcontrolMessenger::G4UIcontrolMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), and G4ScoreQuantityMessenger::QuantityCommands().
|
inline |
|
private |
Definition at line 250 of file G4UIparameter.cc.
References G4cerr, G4endl, IsDouble(), IsInt(), parameterType, and G4StrUtil::to_upper().
Referenced by CheckNewValue().
|
private |
Definition at line 651 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::CONSTLONG, G4UItokenNum::yystype::D, G4cerr, G4endl, G4UItokenNum::yystype::I, G4UItokenNum::yystype::L, paramERR, PrimaryExpression(), token, G4UItokenNum::yystype::type, UnaryExpression(), and Yylex().
Referenced by MultiplicativeExpression(), and UnaryExpression().
|
private |
Definition at line 970 of file G4UIparameter.cc.
References G4UItokenNum::CONSTDOUBLE, G4UItokenNum::CONSTINT, G4UItokenNum::yystype::D, EQ, Follow(), G4cerr, G4endl, G4UIpGetc(), G4UIpUngetc(), GE, GT, G4UItokenNum::yystype::I, G4UItokenNum::IDENTIFIER, IsDouble(), IsInt(), LE, G4UItokenNum::LOGICALAND, G4UItokenNum::LOGICALOR, LT, NE, paramERR, parameterName, G4UItokenNum::yystype::S, and yylval.
Referenced by EqualityExpression(), LogicalANDExpression(), LogicalORExpression(), PrimaryExpression(), RangeCheck(), RelationalExpression(), and UnaryExpression().
|
private |
Definition at line 183 of file G4UIparameter.hh.
Referenced by G4UIpGetc(), G4UIpUngetc(), and RangeCheck().
|
private |
Definition at line 178 of file G4UIparameter.hh.
Referenced by GetCurrentAsDefault(), List(), and SetCurrentAsDefault().
|
private |
Definition at line 173 of file G4UIparameter.hh.
Referenced by GetDefaultValue(), List(), and SetDefaultValue().
|
private |
Definition at line 186 of file G4UIparameter.hh.
Referenced by Eval2(), and RangeCheck().
|
private |
Definition at line 177 of file G4UIparameter.hh.
Referenced by G4UIparameter(), IsOmittable(), List(), and SetOmittable().
|
private |
Definition at line 187 of file G4UIparameter.hh.
Referenced by AdditiveExpression(), CompareDouble(), CompareInt(), CompareLong(), EqualityExpression(), Eval2(), G4UIpUngetc(), LogicalANDExpression(), LogicalORExpression(), MultiplicativeExpression(), PrimaryExpression(), RangeCheck(), UnaryExpression(), and Yylex().
|
private |
Definition at line 175 of file G4UIparameter.hh.
Referenced by CandidateCheck(), CheckNewValue(), GetParameterCandidates(), List(), and SetParameterCandidates().
|
private |
Definition at line 172 of file G4UIparameter.hh.
Referenced by GetParameterGuidance(), List(), and SetGuidance().
|
private |
Definition at line 171 of file G4UIparameter.hh.
Referenced by Eval2(), G4UIparameter(), GetParameterName(), List(), SetDefaultUnit(), SetParameterName(), and Yylex().
|
private |
Definition at line 174 of file G4UIparameter.hh.
Referenced by CheckNewValue(), Eval2(), G4UIpGetc(), G4UIpUngetc(), GetParameterRange(), List(), RangeCheck(), and SetParameterRange().
|
private |
Definition at line 176 of file G4UIparameter.hh.
Referenced by Eval2(), G4UIparameter(), GetParameterType(), List(), RangeCheck(), SetDefaultUnit(), and TypeCheck().
|
private |
Definition at line 182 of file G4UIparameter.hh.
|
private |
Definition at line 184 of file G4UIparameter.hh.
Referenced by AdditiveExpression(), EqualityExpression(), LogicalANDExpression(), LogicalORExpression(), MultiplicativeExpression(), PrimaryExpression(), RangeCheck(), RelationalExpression(), and UnaryExpression().
|
private |
Definition at line 179 of file G4UIparameter.hh.
Referenced by SetWidget().
|
private |
Definition at line 185 of file G4UIparameter.hh.
Referenced by PrimaryExpression(), and Yylex().