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

Constructor & Destructor Documentation

def Config.ModifierChain.__init__ (   self,
  chainedModifiers 
)

Definition at line 1127 of file Config.py.

1128  def __init__(self, *chainedModifiers):
1129  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 1130 of file Config.py.

References Config.ModifierChain.__chain.

1131  def _applyNewProcessModifiers(self,process):
1132  """Should only be called by cms.Process instances
1133  applies list of accumulated changes to the process"""
1134  for m in self.__chain:
m._applyNewProcessModifiers(process)
def _applyNewProcessModifiers
Definition: Config.py:1130
def Config.ModifierChain._setChosen (   self)
private
Should only be called by cms.Process instances

Definition at line 1135 of file Config.py.

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

1136  def _setChosen(self):
1137  """Should only be called by cms.Process instances"""
1138  self.__chosen = True
1139  for m in self.__chain:
m._setChosen()
def Config.ModifierChain.isChosen (   self)

Definition at line 1140 of file Config.py.

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

1141  def isChosen(self):
1142  return self.__chosen

Member Data Documentation

Config.ModifierChain.__chain
private

Definition at line 1129 of file Config.py.

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

Config.ModifierChain.__chosen
private

Definition at line 1128 of file Config.py.

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