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 1217 of file Config.py.

Constructor & Destructor Documentation

def Config.ModifierChain.__init__ (   self,
  chainedModifiers 
)

Definition at line 1220 of file Config.py.

1221  def __init__(self, *chainedModifiers):
1222  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 1223 of file Config.py.

References Config.ModifierChain.__chain.

1224  def _applyNewProcessModifiers(self,process):
1225  """Should only be called by cms.Process instances
1226  applies list of accumulated changes to the process"""
1227  for m in self.__chain:
m._applyNewProcessModifiers(process)
def _applyNewProcessModifiers
Definition: Config.py:1223
def Config.ModifierChain._setChosen (   self)
private
Should only be called by cms.Process instances

Definition at line 1228 of file Config.py.

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

1229  def _setChosen(self):
1230  """Should only be called by cms.Process instances"""
1231  self.__chosen = True
1232  for m in self.__chain:
m._setChosen()
def Config.ModifierChain.isChosen (   self)

Definition at line 1233 of file Config.py.

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

1234  def isChosen(self):
1235  return self.__chosen

Member Data Documentation

Config.ModifierChain.__chain
private

Definition at line 1222 of file Config.py.

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

Config.ModifierChain.__chosen
private

Definition at line 1221 of file Config.py.

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