![]() |
The Gaudi Framework
master (76fc3702)
|


Public Member Functions | |
| __init__ (self, cpp_type) | |
| name (self) | |
| name (self, value) | |
| cpp_type (self) | |
| cpp_type (self, value) | |
| load (self, value) | |
| store (self, value) | |
| is_set (self, value) | |
| opt_value (self, value) | |
| merge (self, a, b) | |
Public Attributes | |
| cpp_type = cpp_type | |
Protected Attributes | |
| _name = None | |
| _cpp_type = value | |
Static Private Attributes | |
| tuple | __handled_types__ = () |
Basic property semantics implementation, with no validation/transformation. Not to be used directly for any actual property, use only specializations.
Definition at line 28 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.__init__ | ( | self, | |
| cpp_type ) |
Definition at line 37 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.cpp_type | ( | self | ) |
Definition at line 50 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.cpp_type | ( | self, | |
| value ) |
Definition at line 54 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.is_set | ( | self, | |
| value ) |
Allow overriding the definition of "is set" if we need helper types.
Reimplemented in GaudiConfig2.semantics.DefaultSemantics, and GaudiConfig2.semantics.JSONSemantics.
Definition at line 74 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.load | ( | self, | |
| value ) |
Transformation for data when reading the property.
Reimplemented in GaudiConfig2.semantics.JSONSemantics.
Definition at line 62 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.merge | ( | self, | |
| a, | |||
| b ) |
"Merge" two values. Used when merging two Configurable instances, by default just ensure the two values do not conflict, but it can be overridden in derived semantics to, for example, append to the two lists.
Reimplemented in GaudiConfig2.semantics.ComponentHandleSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.OrderedSetSemantics, and GaudiConfig2.semantics.SetSemantics.
Definition at line 88 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.name | ( | self | ) |
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.SetSemantics.
Definition at line 42 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.name | ( | self, | |
| value ) |
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.SetSemantics.
Definition at line 46 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.opt_value | ( | self, | |
| value ) |
Option string version of value.
Reimplemented in GaudiConfig2.semantics.DataHandleSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, GaudiConfig2.semantics.JSONSemantics, GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SequenceSemantics, and GaudiConfig2.semantics.SetSemantics.
Definition at line 80 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.store | ( | self, | |
| value ) |
Validation/transformation of the data to be stored.
Reimplemented in GaudiConfig2.semantics.BoolSemantics, GaudiConfig2.semantics.ComponentHandleSemantics, GaudiConfig2.semantics.ComponentSemantics, GaudiConfig2.semantics.DataHandleSemantics, GaudiConfig2.semantics.DefaultSemantics, GaudiConfig2.semantics.FloatSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, GaudiConfig2.semantics.IntSemantics, GaudiConfig2.semantics.JSONSemantics, GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.StringSemantics.
Definition at line 68 of file semantics.py.
|
staticprivate |
Definition at line 35 of file semantics.py.
|
protected |
Definition at line 60 of file semantics.py.
|
protected |
Definition at line 38 of file semantics.py.
| GaudiConfig2.semantics.PropertySemantics.cpp_type = cpp_type |
Definition at line 39 of file semantics.py.