CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Config.ProcessFragment Class Reference
Inheritance diagram for Config.ProcessFragment:

Public Member Functions

def __delattr__ (self, name)
 
def __dir__ (self)
 
def __getattribute__ (self, name)
 
def __init__ (self, process)
 
def __setattr__ (self, name, value)
 

Private Attributes

 __process
 

Detailed Description

Definition at line 1157 of file Config.py.

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1158 of file Config.py.

1158  def __init__(self, process):
1159  if isinstance(process, Process):
1160  self.__process = process
1161  elif isinstance(process, str):
1162  self.__process = Process(process)
1163  else:
1164  raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')
def __init__(self, process)
Definition: Config.py:1158

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1177 of file Config.py.

References Config.Process.__process, and Config.ProcessFragment.__process.

1177  def __delattr__(self, name):
1178  if name == '_ProcessFragment__process':
1179  pass
1180  else:
1181  return delattr(self.__process, name)
1182 
1183 
def __delattr__(self, name)
Definition: Config.py:1177
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1165 of file Config.py.

References Config.Process.__process, Config.ProcessFragment.__process, and dir.

1165  def __dir__(self):
1166  return [ x for x in dir(self.__process) if isinstance(getattr(self.__process, x), _ConfigureComponent) ]
dbl *** dir
Definition: mlp_gen.cc:35
def Config.ProcessFragment.__getattribute__ (   self,
  name 
)

Definition at line 1167 of file Config.py.

References Config.Process.__process, and Config.ProcessFragment.__process.

1167  def __getattribute__(self, name):
1168  if name == '_ProcessFragment__process':
1169  return object.__getattribute__(self, '_ProcessFragment__process')
1170  else:
1171  return getattr(self.__process, name)
def __getattribute__(self, name)
Definition: Config.py:1167
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1172 of file Config.py.

References Config.Process.__process, and Config.ProcessFragment.__process.

Referenced by GenObject.GenObject.setValue().

1172  def __setattr__(self, name, value):
1173  if name == '_ProcessFragment__process':
1174  object.__setattr__(self, name, value)
1175  else:
1176  setattr(self.__process, name, value)
def __setattr__(self, name, value)
Definition: Config.py:1172

Member Data Documentation

Config.ProcessFragment.__process
private