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

Constructor & Destructor Documentation

def Config.ModifierChain.__init__ (   self,
  chainedModifiers 
)

Definition at line 1100 of file Config.py.

1101  def __init__(self, *chainedModifiers):
1102  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 1103 of file Config.py.

References Config.ModifierChain.__chain.

1104  def _applyNewProcessModifiers(self,process):
1105  """Should only be called by cms.Process instances
1106  applies list of accumulated changes to the process"""
1107  for m in self.__chain:
m._applyNewProcessModifiers(process)
def _applyNewProcessModifiers
Definition: Config.py:1103
def Config.ModifierChain._setChosen (   self)
private
Should only be called by cms.Process instances

Definition at line 1108 of file Config.py.

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

1109  def _setChosen(self):
1110  """Should only be called by cms.Process instances"""
1111  self.__chosen = True
1112  for m in self.__chain:
m._setChosen()
def Config.ModifierChain.isChosen (   self)

Definition at line 1113 of file Config.py.

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

1114  def isChosen(self):
1115  return self.__chosen
1116 

Member Data Documentation

Config.ModifierChain.__chain
private

Definition at line 1102 of file Config.py.

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

Config.ModifierChain.__chosen
private

Definition at line 1101 of file Config.py.

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