Definition at line 148 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 151 of file semantics.py.
151 def store(self, value):
152 from numbers import Number
153
154 if not isinstance(value, Number):
155 raise TypeError(
156 "number expected, got {!r} in assignment to {}".
format(value, self.name)
157 )
158 return float(value)
159
160
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: