CMS 3D CMS Logo

helpers::MassSearchParamVisitor Class Reference

List of all members.

Public Member Functions

def __init__
def enter
def leave
def modules

Private Attributes

 _modules
 _paramName
 _paramSearch


Detailed Description

Visitor that travels within a cms.Sequence, looks for a parameter and returns a list of modules that have it

Definition at line 67 of file helpers.py.


Member Function Documentation

def helpers::MassSearchParamVisitor::__init__ (   self,
  paramName,
  paramSearch 
)

Definition at line 69 of file helpers.py.

00069                                             :
00070         self._paramName   = paramName
00071         self._paramSearch = paramSearch
00072         self._modules = []
    def enter(self,visitee):

def helpers::MassSearchParamVisitor::enter (   self,
  visitee 
)

Definition at line 73 of file helpers.py.

00073                            :
00074         if (hasattr(visitee,self._paramName)):
00075             if getattr(visitee,self._paramName) == self._paramSearch:
00076                 self._modules.append(visitee)
    def leave(self,visitee):

def helpers::MassSearchParamVisitor::leave (   self,
  visitee 
)

Definition at line 77 of file helpers.py.

00077                            :
00078         pass
    def modules(self):

def helpers::MassSearchParamVisitor::modules (   self  ) 

Definition at line 79 of file helpers.py.

00079                      :
00080         return self._modules
00081     
def massSearchReplaceParam(sequence,paramName,paramOldValue,paramValue):


Member Data Documentation

helpers::MassSearchParamVisitor::_modules [private]

Definition at line 72 of file helpers.py.

helpers::MassSearchParamVisitor::_paramName [private]

Definition at line 70 of file helpers.py.

helpers::MassSearchParamVisitor::_paramSearch [private]

Definition at line 71 of file helpers.py.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:47:30 2009 for CMSSW by  doxygen 1.5.4