|
def | __init__ (self, cpp_type, valueSem=None) |
|
def | name (self) |
|
def | name (self, value) |
|
def | store (self, value) |
|
def | default (self, value) |
|
def | opt_value (self, value) |
|
def | __init__ (self, cpp_type) |
|
def | cpp_type (self) |
|
def | cpp_type (self, value) |
|
def | load (self, value) |
|
def | is_set (self, value) |
|
def | merge (self, a, b) |
|
Definition at line 344 of file semantics.py.
◆ __init__()
def GaudiConfig2.semantics.SequenceSemantics.__init__ |
( |
|
self, |
|
|
|
cpp_type, |
|
|
|
valueSem = None |
|
) |
| |
Definition at line 347 of file semantics.py.
347 def __init__(self, cpp_type, valueSem=None):
348 super(SequenceSemantics, self).__init__(cpp_type)
◆ default()
def GaudiConfig2.semantics.SequenceSemantics.default |
( |
|
self, |
|
|
|
value |
|
) |
| |
Definition at line 373 of file semantics.py.
374 new_value = _ListHelper(self.value_semantics)
375 new_value.default = value
◆ name() [1/2]
def GaudiConfig2.semantics.SequenceSemantics.name |
( |
|
self | ) |
|
◆ name() [2/2]
def GaudiConfig2.semantics.SequenceSemantics.name |
( |
|
self, |
|
|
|
value |
|
) |
| |
◆ opt_value()
def GaudiConfig2.semantics.SequenceSemantics.opt_value |
( |
|
self, |
|
|
|
value |
|
) |
| |
Option string version of value.
Reimplemented from GaudiConfig2.semantics.PropertySemantics.
Definition at line 378 of file semantics.py.
378 def opt_value(self, value):
380 Option string version of value.
382 if not isinstance(value, _ListHelper):
383 value = self.default(value)
384 return value.opt_value()
◆ store()
def GaudiConfig2.semantics.SequenceSemantics.store |
( |
|
self, |
|
|
|
value |
|
) |
| |
Validation/transformation of the data to be stored.
Reimplemented from GaudiConfig2.semantics.PropertySemantics.
Definition at line 362 of file semantics.py.
362 def store(self, value):
363 if not isinstance(value, (list, _ListHelper, tuple)):
365 "list or tuple expected, got {!r} in assignment to {}".
format(
369 new_value = _ListHelper(self.value_semantics)
370 new_value.extend(value)
◆ __handled_types__
GaudiConfig2.semantics.SequenceSemantics.__handled_types__ |
|
staticprivate |
◆ _name
GaudiConfig2.semantics.SequenceSemantics._name |
|
private |
◆ value_semantics
GaudiConfig2.semantics.SequenceSemantics.value_semantics |
The documentation for this class was generated from the following file: