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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1152 of file Config.py.

1152  def __init__(self, process):
1153  if isinstance(process, Process):
1154  self.__process = process
1155  elif isinstance(process, str):
1156  self.__process = Process(process)
1157  else:
1158  raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')
def __init__(self, process)
Definition: Config.py:1152

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1171 of file Config.py.

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

1171  def __delattr__(self, name):
1172  if name == '_ProcessFragment__process':
1173  pass
1174  else:
1175  return delattr(self.__process, name)
1176 
1177 
def __delattr__(self, name)
Definition: Config.py:1171
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1159 of file Config.py.

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

1159  def __dir__(self):
1160  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 1161 of file Config.py.

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

1161  def __getattribute__(self, name):
1162  if name == '_ProcessFragment__process':
1163  return object.__getattribute__(self, '_ProcessFragment__process')
1164  else:
1165  return getattr(self.__process, name)
def __getattribute__(self, name)
Definition: Config.py:1161
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1166 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1166  def __setattr__(self, name, value):
1167  if name == '_ProcessFragment__process':
1168  object.__setattr__(self, name, value)
1169  else:
1170  setattr(self.__process, name, value)
def __setattr__(self, name, value)
Definition: Config.py:1166

Member Data Documentation

Config.ProcessFragment.__process
private