Definition at line 198 of file semantics.py.
◆ store()
| GaudiConfig2.semantics.FloatSemantics.store |
( |
| self, |
|
|
| value ) |
Validation/transformation of the data to be stored.
Reimplemented from GaudiConfig2.semantics.PropertySemantics.
Definition at line 201 of file semantics.py.
201 def store(self, value):
202 from numbers import Number
203
204 if not isinstance(value, Number):
205 raise TypeError(
206 "number expected, got {!r} in assignment to {}".
format(value, self.name)
207 )
208 return float(value)
209
210
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
◆ __handled_types__
| tuple GaudiConfig2.semantics.FloatSemantics.__handled_types__ = ("float", "double") |
|
staticprivate |
The documentation for this class was generated from the following file: