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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1187 of file Config.py.

1187  def __init__(self, process):
1188  if isinstance(process, Process):
1189  self.__process = process
1190  elif isinstance(process, str):
1191  self.__process = Process(process)
1192  else:
1193  raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')
def __init__(self, process)
Definition: Config.py:1187

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 1206 of file Config.py.

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

1206  def __delattr__(self, name):
1207  if name == '_ProcessFragment__process':
1208  pass
1209  else:
1210  return delattr(self.__process, name)
1211 
1212 
def __delattr__(self, name)
Definition: Config.py:1206
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1194 of file Config.py.

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

1194  def __dir__(self):
1195  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 1196 of file Config.py.

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

1196  def __getattribute__(self, name):
1197  if name == '_ProcessFragment__process':
1198  return object.__getattribute__(self, '_ProcessFragment__process')
1199  else:
1200  return getattr(self.__process, name)
def __getattribute__(self, name)
Definition: Config.py:1196
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1201 of file Config.py.

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

Referenced by GenObject.GenObject.setValue().

1201  def __setattr__(self, name, value):
1202  if name == '_ProcessFragment__process':
1203  object.__setattr__(self, name, value)
1204  else:
1205  setattr(self.__process, name, value)
def __setattr__(self, name, value)
Definition: Config.py:1201

Member Data Documentation

Config.ProcessFragment.__process
private