test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HiHelperTools.MassSearchParamVisitor Class Reference
Inheritance diagram for HiHelperTools.MassSearchParamVisitor:

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 184 of file HiHelperTools.py.

Constructor & Destructor Documentation

def HiHelperTools.MassSearchParamVisitor.__init__ (   self,
  paramName,
  paramSearch 
)

Member Function Documentation

def HiHelperTools.MassSearchParamVisitor.enter (   self,
  visitee 
)

Definition at line 190 of file HiHelperTools.py.

References HiHelperTools.MassSearchReplaceParamVisitor._paramName, helpers.MassSearchReplaceParamVisitor._paramName, HiHelperTools.MassSearchParamVisitor._paramName, helpers.MassSearchParamVisitor._paramName, HiHelperTools.MassSearchReplaceParamVisitor._paramSearch, HiHelperTools.MassSearchReplaceAnyInputTagVisitor._paramSearch, helpers.MassSearchReplaceParamVisitor._paramSearch, helpers.MassSearchReplaceAnyInputTagVisitor._paramSearch, HiHelperTools.MassSearchParamVisitor._paramSearch, helpers.MassSearchParamVisitor._paramSearch, and ConfigBuilder.ConfigBuilder.MassSearchReplaceProcessNameVisitor._paramSearch.

191  def enter(self,visitee):
192  if (hasattr(visitee,self._paramName)):
193  if getattr(visitee,self._paramName) == self._paramSearch:
self._modules.append(visitee)
def HiHelperTools.MassSearchParamVisitor.leave (   self,
  visitee 
)

Definition at line 194 of file HiHelperTools.py.

195  def leave(self,visitee):
pass
def HiHelperTools.MassSearchParamVisitor.modules (   self)

Definition at line 196 of file HiHelperTools.py.

197  def modules(self):
198  return self._modules

Member Data Documentation

HiHelperTools.MassSearchParamVisitor._modules
private

Definition at line 189 of file HiHelperTools.py.

Referenced by HiHelperTools.MassSearchParamVisitor.modules().

HiHelperTools.MassSearchParamVisitor._paramName
private

Definition at line 187 of file HiHelperTools.py.

Referenced by HiHelperTools.MassSearchParamVisitor.enter().

HiHelperTools.MassSearchParamVisitor._paramSearch
private

Definition at line 188 of file HiHelperTools.py.

Referenced by HiHelperTools.MassSearchParamVisitor.enter().