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 Member Functions | Private Attributes
Config.ModifierChain Class Reference
Inheritance diagram for Config.ModifierChain:

Public Member Functions

def __init__
 
def isChosen
 

Private Member Functions

def _applyNewProcessModifiers
 
def _setChosen
 

Private Attributes

 __chain
 
 __chosen
 

Detailed Description

A Modifier made up of a list of Modifiers

Definition at line 1130 of file Config.py.

Constructor & Destructor Documentation

def Config.ModifierChain.__init__ (   self,
  chainedModifiers 
)

Definition at line 1133 of file Config.py.

1134  def __init__(self, *chainedModifiers):
1135  self.__chosen = False
self.__chain = chainedModifiers

Member Function Documentation

def Config.ModifierChain._applyNewProcessModifiers (   self,
  process 
)
private
Should only be called by cms.Process instances
applies list of accumulated changes to the process

Definition at line 1136 of file Config.py.

References Config.ModifierChain.__chain.

1137  def _applyNewProcessModifiers(self,process):
1138  """Should only be called by cms.Process instances
1139  applies list of accumulated changes to the process"""
1140  for m in self.__chain:
m._applyNewProcessModifiers(process)
def _applyNewProcessModifiers
Definition: Config.py:1136
def Config.ModifierChain._setChosen (   self)
private
Should only be called by cms.Process instances

Definition at line 1141 of file Config.py.

References Config.ModifierChain.__chain, Config.Modifier.__chosen, and Config.ModifierChain.__chosen.

1142  def _setChosen(self):
1143  """Should only be called by cms.Process instances"""
1144  self.__chosen = True
1145  for m in self.__chain:
m._setChosen()
def Config.ModifierChain.isChosen (   self)

Definition at line 1146 of file Config.py.

References Config.Modifier.__chosen, and Config.ModifierChain.__chosen.

1147  def isChosen(self):
1148  return self.__chosen

Member Data Documentation

Config.ModifierChain.__chain
private

Definition at line 1135 of file Config.py.

Referenced by Config.ModifierChain._applyNewProcessModifiers(), and Config.ModifierChain._setChosen().

Config.ModifierChain.__chosen
private

Definition at line 1134 of file Config.py.

Referenced by Config.ModifierChain._setChosen(), and Config.ModifierChain.isChosen().