-------------------------------------------------------------------- INLINE DEFINITIONS --------------------------------------------------------------------
| 88 | // INLINE DEFINITIONS |
| 89 | // -------------------------------------------------------------------- |
| 90 | inline 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 | |
| 103 | inline G4bool G4UIRangeChecker::DoCheck(const G4UIcommand& cmd, const char* newValue) |
| 104 | { |
no test coverage detected