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