Public Member Functions | |
def | __init__ (self, process, label, postfix, removePostfix="", noClones=[], verbose=False) |
def | clonedTask (self) |
def | enter (self, visitee) |
def | leave (self, visitee) |
Private Member Functions | |
def | __appendToTopTask (self, visitee) |
def | _newLabel (self, label) |
Private Attributes | |
_clonedTask | |
_moduleLabels | |
_noClones | |
_postfix | |
_process | |
_removePostfix | |
_verbose | |
Visitor that travels within a cms.Task, and returns a cloned version of the Task. All modules are cloned and a postfix is added
Definition at line 437 of file helpers.py.
def helpers.CloneTaskVisitor.__init__ | ( | self, | |
process, | |||
label, | |||
postfix, | |||
removePostfix = "" , |
|||
noClones = [] , |
|||
verbose = False |
|||
) |
Definition at line 440 of file helpers.py.
|
private |
Definition at line 481 of file helpers.py.
References helpers.CloneTaskVisitor._clonedTask, and PVValHelper.add().
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 473 of file helpers.py.
References helpers.CloneSequenceVisitor._postfix, helpers.CloneTaskVisitor._postfix, helpers.CloneSequenceVisitor._removePostfix, and helpers.CloneTaskVisitor._removePostfix.
Referenced by helpers.CloneTaskVisitor.enter().
def helpers.CloneTaskVisitor.clonedTask | ( | self | ) |
Definition at line 467 of file helpers.py.
def helpers.CloneTaskVisitor.enter | ( | self, | |
visitee | |||
) |
Definition at line 450 of file helpers.py.
References helpers.CloneTaskVisitor.__appendToTopTask(), helpers.CloneSequenceVisitor._moduleLabels, helpers.CloneTaskVisitor._moduleLabels, helpers.CloneSequenceVisitor._newLabel(), helpers.CloneTaskVisitor._newLabel(), helpers.CloneSequenceVisitor._noClones, helpers.CloneTaskVisitor._noClones, helpers.CloneSequenceVisitor._process, helpers.CloneTaskVisitor._process, and mps_setup.append.
def helpers.CloneTaskVisitor.leave | ( | self, | |
visitee | |||
) |
Definition at line 464 of file helpers.py.
|
private |
Definition at line 447 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.__appendToTopTask().
|
private |
Definition at line 446 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 444 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 442 of file helpers.py.
Referenced by helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 441 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 443 of file helpers.py.
Referenced by helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 445 of file helpers.py.