ServiceHandles (and the deprecated PublicToolHandles) are assigned as strings
Definition at line 120 of file AtlasSemantics.py.
◆ __init__()
def python.AtlasSemantics.PublicHandleSemantics.__init__ |
( |
|
self, |
|
|
|
cpp_type |
|
) |
| |
◆ default()
def python.AtlasSemantics.PublicHandleSemantics.default |
( |
|
self, |
|
|
|
value |
|
) |
| |
◆ store()
def python.AtlasSemantics.PublicHandleSemantics.store |
( |
|
self, |
|
|
|
value |
|
) |
| |
Definition at line 132 of file AtlasSemantics.py.
132 def store(self,value):
133 if isinstance(value,str):
139 if not hasattr(value,
"__component_type__"):
140 raise TypeError(
"Got {}, expected Tool or Service in assignment to {}".
format(
type(value),self.name))
142 if value.__component_type__
not in (
'Service',
'AlgTool'):
143 raise TypeError(
'{} expected, got {!r} in assignemnt to {}'.\
144 format(value.__component_type__,value, self.name))
150 return "{}/{}".
format(value.__cpp_type__,value.name)
◆ __handled_types__
tuple python.AtlasSemantics.PublicHandleSemantics.__handled_types__ = ("PublicToolHandle","ServiceHandle") |
|
staticprivate |
The documentation for this class was generated from the following file: