![]() |
The Gaudi Framework
master (b6adf5d0)
|
Public Member Functions | |
def | __init__ (self, cpp_type) |
def | name (self) |
def | name (self, value) |
def | cpp_type (self) |
def | cpp_type (self, value) |
def | load (self, value) |
def | store (self, value) |
def | is_set (self, value) |
def | opt_value (self, value) |
def | merge (self, a, b) |
Public Attributes | |
cpp_type | |
Private Attributes | |
_name | |
_cpp_type | |
Static Private Attributes | |
__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 26 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.__init__ | ( | self, | |
cpp_type | |||
) |
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.OrderedSetSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, GaudiConfig2.semantics.ComponentHandleSemantics, and GaudiConfig2.semantics.ComponentSemantics.
Definition at line 35 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.cpp_type | ( | self | ) |
Definition at line 48 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.cpp_type | ( | self, | |
value | |||
) |
Definition at line 52 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.is_set | ( | self, | |
value | |||
) |
Allow overriding the definition of "is set" if we need helper types.
Reimplemented in GaudiConfig2.semantics.DefaultSemantics.
Definition at line 72 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.load | ( | self, | |
value | |||
) |
Transformation for data when reading the property.
Definition at line 60 of file semantics.py.
def 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.OrderedSetSemantics, GaudiConfig2.semantics.SetSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, and GaudiConfig2.semantics.ComponentHandleSemantics.
Definition at line 86 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.name | ( | self | ) |
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.SequenceSemantics.
Definition at line 40 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.name | ( | self, | |
value | |||
) |
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.SequenceSemantics.
Definition at line 44 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.opt_value | ( | self, | |
value | |||
) |
Option string version of value.
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SetSemantics, and GaudiConfig2.semantics.SequenceSemantics.
Definition at line 78 of file semantics.py.
def GaudiConfig2.semantics.PropertySemantics.store | ( | self, | |
value | |||
) |
Validation/transformation of the data to be stored.
Reimplemented in GaudiConfig2.semantics.MappingSemantics, GaudiConfig2.semantics.SetSemantics, GaudiConfig2.semantics.SequenceSemantics, GaudiConfig2.semantics.GaudiHandleArraySemantics, GaudiConfig2.semantics.ComponentHandleSemantics, GaudiConfig2.semantics.ComponentSemantics, GaudiConfig2.semantics.IntSemantics, GaudiConfig2.semantics.FloatSemantics, GaudiConfig2.semantics.BoolSemantics, GaudiConfig2.semantics.StringSemantics, and GaudiConfig2.semantics.DefaultSemantics.
Definition at line 66 of file semantics.py.
|
staticprivate |
Definition at line 33 of file semantics.py.
|
private |
Definition at line 58 of file semantics.py.
|
private |
Definition at line 36 of file semantics.py.
GaudiConfig2.semantics.PropertySemantics.cpp_type |
Definition at line 37 of file semantics.py.