Helper decorator class to workaround ROOT-6697
Definition at line 1178 of file Algs.py.
◆ __init__()
| def GaudiAlg.Algs.TupleDecColumnDispatcher.__init__ |
( |
|
self, |
|
|
|
func |
|
) |
| |
Definition at line 1181 of file Algs.py.
1181 def __init__(self, func):
1183 self.__doc__ = func.__doc__
1184 dispatcher = func.disp
if hasattr(func,
"disp")
else func.__overload__
1186 mapping = {int:
"int", bool:
"bool", float:
"double"}
1189 "const Tuples::Tuple& tuple, const string& name, const %s value"
1192 mapping[k] = dispatcher(signature)
1193 self.mapping = mapping
◆ __call__()
| def GaudiAlg.Algs.TupleDecColumnDispatcher.__call__ |
( |
|
self, |
|
|
* |
a |
|
) |
| |
Explicitly call the explicit signature for the case with 3 arguments and
the last one is 'int', 'bool' or 'float', for the other cases fall back
on the default dispatcher.
Definition at line 1195 of file Algs.py.
1195 def __call__(self, *a):
1197 Explicitly call the explicit signature for the case with 3 arguments and
1198 the last one is 'int', 'bool' or 'float', for the other cases fall back
1199 on the default dispatcher.
1204 return self.mapping[t](*a)
1207 return self.func(*a)
◆ __doc__
| GaudiAlg.Algs.TupleDecColumnDispatcher.__doc__ |
|
private |
◆ func
| GaudiAlg.Algs.TupleDecColumnDispatcher.func |
◆ mapping
| GaudiAlg.Algs.TupleDecColumnDispatcher.mapping |
The documentation for this class was generated from the following file: