Public Member Functions | |
def | __and__ (self, other) |
def | __init__ (self, lhs, rhs=None) |
def | __invert__ (self) |
def | __or__ (self, other) |
def | makeProcessModifier (self, func) |
def | toModify (self, obj, func=None, **kw) |
def | toReplaceWith (self, toObj, fromObj) |
Private Attributes | |
_lhs | |
_rhs | |
A helper base class for _AndModifier, _InvertModifier, and _OrModifier to contain the common code
def Config._BoolModifierBase.__init__ | ( | self, | |
lhs, | |||
rhs = None |
|||
) |
Reimplemented in Config._OrModifier, and Config._AndModifier.
def Config._BoolModifierBase.__and__ | ( | self, | |
other | |||
) |
def Config._BoolModifierBase.__invert__ | ( | self | ) |
def Config._BoolModifierBase.__or__ | ( | self, | |
other | |||
) |
Definition at line 1557 of file Config.py.
Referenced by LumiList.LumiList.__add__().
def Config._BoolModifierBase.makeProcessModifier | ( | self, | |
func | |||
) |
This is used to create a ProcessModifer that can perform actions on the process as a whole. This takes as argument a callable object (e.g. function) that takes as its sole argument an instance of Process. In order to work, the value returned from this function must be assigned to a uniquely named variable.
def Config._BoolModifierBase.toModify | ( | self, | |
obj, | |||
func = None , |
|||
** | kw | ||
) |
Definition at line 1538 of file Config.py.
References Config._AndModifier._isChosen(), Config._InvertModifier._isChosen(), Config._OrModifier._isChosen(), Config.Modifier._isChosen(), and Config.ModifierChain._isChosen().
def Config._BoolModifierBase.toReplaceWith | ( | self, | |
toObj, | |||
fromObj | |||
) |
Definition at line 1543 of file Config.py.
References Config._AndModifier._isChosen(), Config._InvertModifier._isChosen(), Config._OrModifier._isChosen(), Config.Modifier._isChosen(), and Config.ModifierChain._isChosen().
|
private |
Definition at line 1535 of file Config.py.
Referenced by Config._AndModifier._isChosen(), Config._InvertModifier._isChosen(), and Config._OrModifier._isChosen().
|
private |
Definition at line 1537 of file Config.py.
Referenced by Config._AndModifier._isChosen(), and Config._OrModifier._isChosen().