Semantics for arrays of string-based pointers to components defined elsewhere
Definition at line 152 of file AtlasSemantics.py.
◆ __init__()
def python.AtlasSemantics.PublicHandleArraySemantics.__init__ |
( |
|
self, |
|
|
|
cpp_type |
|
) |
| |
◆ default()
def python.AtlasSemantics.PublicHandleArraySemantics.default |
( |
|
self, |
|
|
|
value |
|
) |
| |
◆ merge()
def python.AtlasSemantics.PublicHandleArraySemantics.merge |
( |
|
self, |
|
|
|
bb, |
|
|
|
aa |
|
) |
| |
◆ store()
def python.AtlasSemantics.PublicHandleArraySemantics.store |
( |
|
self, |
|
|
|
value |
|
) |
| |
Definition at line 160 of file AtlasSemantics.py.
160 def store(self, value):
161 if not isinstance(value,Sequence)
and not isinstance(value,set):
166 if isinstance(v,GaudiConfig2._configurables.Configurable):
167 if v.__component_type__
not in (
'Service',
'AlgTool'):
168 raise TypeError(
'{} expected, got {!r} in assignemnt to {}'.\
169 format(value.__component_type__,v, self.name))
171 newValue.append(
"{}/{}".
format(v.__cpp_type__,v.name))
173 elif isinstance(v,(PublicToolHandle,ServiceHandle)):
174 newValue.append(
"{}/{}".
format(v.getType(),v.getName()))
176 elif isinstance(v,str):
181 raise TypeError(
'Configurable expected, got {!r} in assignment to {}'.\
◆ __handled_types__
tuple python.AtlasSemantics.PublicHandleArraySemantics.__handled_types__ = ("PublicToolHandleArray","ServiceHandleArray") |
|
staticprivate |
The documentation for this class was generated from the following file: