MCPcopy Create free account
hub / github.com/Geant4/geant4 / DoCheck

Method DoCheck

source/intercoms/src/G4UIparsing.cc:90–101  ·  view source on GitHub ↗

-------------------------------------------------------------------- INLINE DEFINITIONS --------------------------------------------------------------------

Source from the content-addressed store, hash-verified

88// INLINE DEFINITIONS
89// --------------------------------------------------------------------
90inline G4bool G4UIRangeChecker::DoCheck(const G4UIparameter& p, const char* newValue)
91{
92 // Copy data needed from parameter
93 rangeExpression = p.GetParameterRange();
94
95 commandName = p.GetParameterName();
96 parameter.resize(1);
97 newVal.resize(1);
98 parameter[0] = &p;
99
100 return RangeCheckImpl(newValue);
101}
102
103inline G4bool G4UIRangeChecker::DoCheck(const G4UIcommand& cmd, const char* newValue)
104{

Callers 1

RangeCheckFunction · 0.80

Calls 5

GetParameterEntriesMethod · 0.80
GetParameterMethod · 0.80
resizeMethod · 0.45
GetRangeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected