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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1157 of file Config.py.

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

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1176 of file Config.py.

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

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

Definition at line 1164 of file Config.py.

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

1164  def __dir__(self):
1165  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 1166 of file Config.py.

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

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

Definition at line 1171 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

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

Member Data Documentation

Config.ProcessFragment.__process
private