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
Config._ParameterModifier Class Reference
Inheritance diagram for Config._ParameterModifier:

Public Member Functions

def __call__
 
def __init__
 

Private Attributes

 __args
 

Detailed Description

Helper class for Modifier which takes key/value pairs and uses them to reset parameters of the object

Definition at line 1074 of file Config.py.

Constructor & Destructor Documentation

def Config._ParameterModifier.__init__ (   self,
  args 
)

Definition at line 1076 of file Config.py.

1077  def __init__(self,args):
self.__args = args

Member Function Documentation

def Config._ParameterModifier.__call__ (   self,
  obj 
)

Definition at line 1078 of file Config.py.

1079  def __call__(self,obj):
1080  for k,v in self.__args.iteritems():
1081  setattr(obj,k,v)

Member Data Documentation

Config._ParameterModifier.__args
private

Definition at line 1077 of file Config.py.