The Gaudi Framework  v36r6 (b1ee9983)
GaudiConfig.ControlFlow._TestVisitor Class Reference
Inheritance diagram for GaudiConfig.ControlFlow._TestVisitor:
Collaboration diagram for GaudiConfig.ControlFlow._TestVisitor:

Public Member Functions

def __init__ (self)
 
def enter (self, visitee)
 
def leave (self, visitee)
 

Public Attributes

 depths
 

Detailed Description

Definition at line 224 of file ControlFlow.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiConfig.ControlFlow._TestVisitor.__init__ (   self)

Definition at line 225 of file ControlFlow.py.

225  def __init__(self):
226  self.depths = 0
227 

Member Function Documentation

◆ enter()

def GaudiConfig.ControlFlow._TestVisitor.enter (   self,
  visitee 
)

Definition at line 228 of file ControlFlow.py.

228  def enter(self, visitee):
229  self.depths += 1
230  print("%sEntering %s" % (self.depths * " ", type(visitee)))
231  if isinstance(visitee, ControlFlowLeaf):
232  print("%s Algorithm name: %s" % (" " * self.depths, visitee))
233 

◆ leave()

def GaudiConfig.ControlFlow._TestVisitor.leave (   self,
  visitee 
)

Definition at line 234 of file ControlFlow.py.

234  def leave(self, visitee):
235  print("%sLeaving %s" % (self.depths * " ", type(visitee)))
236  self.depths -= 1
237 
238 

Member Data Documentation

◆ depths

GaudiConfig.ControlFlow._TestVisitor.depths

Definition at line 226 of file ControlFlow.py.


The documentation for this class was generated from the following file:
gaudirun.type
type
Definition: gaudirun.py:160