Definition at line 17 of file MakerAlgConfig.py.
◆ __init__()
def python.MakerAlgConfig.MakerAlg.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
flags, |
|
|
|
acc, |
|
|
|
registry, |
|
|
* |
args, |
|
|
** |
kw |
|
) |
| |
Definition at line 18 of file MakerAlgConfig.py.
18 def __init__ (self, name, flags, acc, registry, *args, **kw):
20 self.registry = registry
◆ __iadd__()
def python.MakerAlgConfig.MakerAlg.__iadd__ |
( |
|
self, |
|
|
|
configs |
|
) |
| |
Add a new IObjFillerTool to a tree.
Definition at line 26 of file MakerAlgConfig.py.
26 def __iadd__( self, configs ):
27 """Add a new IObjFillerTool to a tree."""
30 nchild = len (self.alg.Tools)
31 if not isinstance(configs, list):
33 self.alg.Tools += configs
35 for c
in self.alg.Tools[nchild:]:
39 D3PDObject.runHooks (c, self.flags, self.acc)
◆ _setRegistry()
def python.MakerAlgConfig.MakerAlg._setRegistry |
( |
|
self, |
|
|
|
conf |
|
) |
| |
|
private |
Scan CONF and all children to set the proper
collection getter registry for this tree.
Definition at line 43 of file MakerAlgConfig.py.
43 def _setRegistry (self, conf):
44 """Scan CONF and all children to set the proper
45 collection getter registry for this tree.
48 if 'CollectionGetterRegistry' in conf.getDefaultProperties():
49 conf.CollectionGetterRegistry = self.registry
50 if 'BlockFillers' in conf.getDefaultProperties():
51 for c
in conf.BlockFillers:
53 D3PDObject.runHooks (c, self.flags, self.acc)
54 if 'Getter' in conf.getDefaultProperties():
55 self._setRegistry (conf.Getter)
56 if 'SelectionGetter' in conf.getDefaultProperties():
57 self._setRegistry (conf.SelectionGetter)
58 if 'Associator' in conf.getDefaultProperties():
59 self._setRegistry (conf.Associator)
◆ acc
python.MakerAlgConfig.MakerAlg.acc |
◆ alg
python.MakerAlgConfig.MakerAlg.alg |
◆ flags
python.MakerAlgConfig.MakerAlg.flags |
◆ registry
python.MakerAlgConfig.MakerAlg.registry |
The documentation for this class was generated from the following file: