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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1156 of file Config.py.

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

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1175 of file Config.py.

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

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

Definition at line 1163 of file Config.py.

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

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

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

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

Definition at line 1170 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

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

Member Data Documentation

Config.ProcessFragment.__process
private