The Gaudi Framework
master (37c0b60a)
|
Classes | |
class | DefaultName |
Public Member Functions | |
def | __new__ (cls, *args, **kwargs) |
def | __init__ (self, name=DefaultName) |
def | __getstate__ (self) |
def | __getnewargs__ (self) |
def | __setstate__ (self, dict) |
def | __len__ (self) |
def | __iter__ (self) |
def | __deepcopy__ (self, memo) |
def | __iadd__ (self, configs, descr=None) |
def | __getattr__ (self, attr) |
def | __setattr__ (self, name, value) |
def | __delattr__ (self, attr) |
def | __bool__ (self) |
def | remove (self, items) |
def | removeAll (self) |
def | copyChild (self, child) |
def | setParent (self, parentName) |
def | getParent (self) |
def | hasParent (self, parent) |
def | copyChildAndSetParent (self, cfg, parent) |
def | getChildren (self) |
def | getTools (self) |
def | children (self) |
def | getAllChildren (self) |
def | getSequence (self) |
def | setup (self) |
def | getProperties (self) |
def | getPropertiesWithDescription (self) |
def | getValuedProperties (self) |
def | properties (self) |
def | getDefaultProperties (cls) |
def | getDefaultProperty (cls, name) |
def | getProp (self, name) |
def | setProp (self, name, value) |
def | isPropertySet (self, name) |
def | getType (cls) |
def | getName (self) |
def | name (self) |
def | getJobOptName (self) |
def | isPublic (self) |
def | jobOptName (self) |
def | getFullName (self) |
def | getFullJobOptName (self) |
def | getPrintTitle (self) |
def | getTitleName (self) |
def | setDefaults (cls, handle) |
def | clone (self, name=None, **kwargs) |
def | splitName (self) |
def | addTool (self, tool, name=None) |
def | __repr__ (self) |
def | __str__ (self, indent=0, headerLastIndentUnit=indentUnit) |
def | isApplicable (self) |
Public Member Functions inherited from GaudiKernel.ConfigurableMeta.ConfigurableMeta | |
def | __new__ (self, name, bases, dct) |
def | __call__ (cls, *args, **kwargs) |
Static Public Attributes | |
propertyNoValue | |
indentUnit | |
printHeaderWidth | |
printHeaderPre | |
allConfigurables | |
configurableServices | |
Private Member Functions | |
def | _isInSetDefaults (self) |
def | __setupServices (self) |
def | __setupDlls (self) |
def | __setupDefaults (self) |
Static Private Member Functions | |
def | _printHeader (indentStr, title) |
def | _printFooter (indentStr, title) |
Private Attributes | |
__children | |
__tools | |
_name | |
_inSetDefaults | |
_initok | |
_setupok | |
_unpickling | |
Static Private Attributes | |
__slots__ | |
_configurationLocked | |
Base class for Gaudi components that implement the IProperty interface. Provides most of the boilerplate code, but the actual useful classes are its derived ConfigurableAlgorithm, ConfigurableService, and ConfigurableAlgTool.
Definition at line 149 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__init__ | ( | self, | |
name = DefaultName |
|||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAuditor, GaudiKernel.Configurable.ConfigurableAlgTool, GaudiKernel.Configurable.ConfigurableAlgorithm, and GaudiKernel.Configurable.ConfigurableGeneric.
Definition at line 339 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__bool__ | ( | self | ) |
Definition at line 547 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__deepcopy__ | ( | self, | |
memo | |||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableService, GaudiKernel.Configurable.ConfigurableAlgorithm, and GaudiKernel.Configurable.ConfigurableGeneric.
Definition at line 441 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__delattr__ | ( | self, | |
attr | |||
) |
Definition at line 522 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getattr__ | ( | self, | |
attr | |||
) |
Definition at line 492 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getnewargs__ | ( | self | ) |
Definition at line 414 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__getstate__ | ( | self | ) |
Definition at line 401 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iadd__ | ( | self, | |
configs, | |||
descr = None |
|||
) |
Definition at line 457 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__iter__ | ( | self | ) |
Definition at line 437 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__len__ | ( | self | ) |
Definition at line 434 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__new__ | ( | cls, | |
* | args, | ||
** | kwargs | ||
) |
To Gaudi, any object with the same type/name is the same object. Hence, this is mimicked in the configuration: instantiating a new Configurable of a type with the same name will return the same instance.
Definition at line 180 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__repr__ | ( | self | ) |
Definition at line 969 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableGeneric.
Definition at line 508 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__setstate__ | ( | self, | |
dict | |||
) |
Definition at line 417 of file Configurable.py.
|
private |
Definition at line 944 of file Configurable.py.
|
private |
Definition at line 931 of file Configurable.py.
|
private |
Definition at line 913 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.__str__ | ( | self, | |
indent = 0 , |
|||
headerLastIndentUnit = indentUnit |
|||
) |
Definition at line 972 of file Configurable.py.
|
private |
Definition at line 910 of file Configurable.py.
|
staticprivate |
Definition at line 961 of file Configurable.py.
|
staticprivate |
Definition at line 952 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.addTool | ( | self, | |
tool, | |||
name = None |
|||
) |
Definition at line 887 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.children | ( | self | ) |
Definition at line 598 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.clone | ( | self, | |
name = None , |
|||
** | kwargs | ||
) |
Definition at line 840 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChild | ( | self, | |
child | |||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableService.
Definition at line 560 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.copyChildAndSetParent | ( | self, | |
cfg, | |||
parent | |||
) |
Definition at line 572 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getAllChildren | ( | self | ) |
Get all (private) configurable children, both explicit ones (added with +=) and the ones in the private GaudiHandle properties
Definition at line 606 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getChildren | ( | self | ) |
Definition at line 592 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperties | ( | cls | ) |
Definition at line 736 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getDefaultProperty | ( | cls, | |
name | |||
) |
Definition at line 752 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullJobOptName | ( | self | ) |
Definition at line 825 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getFullName | ( | self | ) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 822 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getJobOptName | ( | self | ) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAuditor, GaudiKernel.Configurable.ConfigurableAlgTool, GaudiKernel.Configurable.ConfigurableAlgorithm, and GaudiKernel.Configurable.ConfigurableGeneric.
Definition at line 808 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getName | ( | self | ) |
Definition at line 802 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getParent | ( | self | ) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 566 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPrintTitle | ( | self | ) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 828 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProp | ( | self, | |
name | |||
) |
Returns the value of the given property.
Definition at line 773 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getProperties | ( | self | ) |
Definition at line 685 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getPropertiesWithDescription | ( | self | ) |
Get all properties with their description string as { name : (value, desc) }.
Definition at line 695 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getSequence | ( | self | ) |
Definition at line 645 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTitleName | ( | self | ) |
Definition at line 831 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getTools | ( | self | ) |
Definition at line 595 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getType | ( | cls | ) |
Definition at line 799 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.getValuedProperties | ( | self | ) |
Definition at line 705 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.hasParent | ( | self, | |
parent | |||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 569 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isApplicable | ( | self | ) |
Return True is the instance can be "applied". Always False for plain Configurable instances (i.e. not ConfigurableUser).
Reimplemented in GaudiKernel.Configurable.ConfigurableUser.
Definition at line 1068 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isPropertySet | ( | self, | |
name | |||
) |
Tell if the property 'name' has been set or not. Because of a problem with list and dictionary properties, in those cases if the value is equal to the default, the property is considered as not set.
Definition at line 784 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.isPublic | ( | self | ) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 811 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.jobOptName | ( | self | ) |
Definition at line 815 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.name | ( | self | ) |
Definition at line 805 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.properties | ( | self | ) |
Definition at line 732 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.remove | ( | self, | |
items | |||
) |
Definition at line 550 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.removeAll | ( | self | ) |
Definition at line 556 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setDefaults | ( | cls, | |
handle | |||
) |
Definition at line 837 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setParent | ( | self, | |
parentName | |||
) |
Reimplemented in GaudiKernel.Configurable.ConfigurableAlgTool.
Definition at line 563 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setProp | ( | self, | |
name, | |||
value | |||
) |
Set the value of a given property
Definition at line 780 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.setup | ( | self | ) |
Definition at line 651 of file Configurable.py.
def GaudiKernel.Configurable.Configurable.splitName | ( | self | ) |
Definition at line 871 of file Configurable.py.
|
private |
Definition at line 376 of file Configurable.py.
|
staticprivate |
Definition at line 164 of file Configurable.py.
|
private |
Definition at line 377 of file Configurable.py.
|
staticprivate |
Definition at line 178 of file Configurable.py.
|
private |
Definition at line 392 of file Configurable.py.
|
private |
Definition at line 389 of file Configurable.py.
|
private |
Definition at line 382 of file Configurable.py.
|
private |
Definition at line 395 of file Configurable.py.
|
private |
Definition at line 398 of file Configurable.py.
|
static |
Definition at line 174 of file Configurable.py.
|
static |
Definition at line 175 of file Configurable.py.
|
static |
Definition at line 160 of file Configurable.py.
|
static |
Definition at line 162 of file Configurable.py.
|
static |
Definition at line 161 of file Configurable.py.
|
static |
Definition at line 159 of file Configurable.py.