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 443 of file helpers.py.
def helpers.CloneTaskVisitor.__init__ | ( | self, | |
process, | |||
label, | |||
postfix, | |||
removePostfix = "" , |
|||
noClones = [] , |
|||
verbose = False |
|||
) |
Definition at line 446 of file helpers.py.
|
private |
Definition at line 487 of file helpers.py.
References helpers.CloneTaskVisitor._clonedTask, and PVValHelper.add().
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 479 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 473 of file helpers.py.
def helpers.CloneTaskVisitor.enter | ( | self, | |
visitee | |||
) |
Definition at line 456 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 470 of file helpers.py.
|
private |
Definition at line 453 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.__appendToTopTask().
|
private |
Definition at line 452 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 450 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 448 of file helpers.py.
Referenced by helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 447 of file helpers.py.
Referenced by helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 449 of file helpers.py.
Referenced by helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 451 of file helpers.py.