CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
Config.ProcessFragment Class Reference
Inheritance diagram for Config.ProcessFragment:

Public Member Functions

def __delattr__
 
def __dir__
 
def __getattribute__
 
def __init__
 
def __setattr__
 

Private Attributes

 __process
 

Detailed Description

Definition at line 978 of file Config.py.

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 979 of file Config.py.

980  def __init__(self, process):
981  if isinstance(process, Process):
982  self.__process = process
983  elif isinstance(process, str):
984  self.__process = Process(process)
985  else:
raise TypeError('a ProcessFragment can only be constructed from an existig Process or from process name')

Member Function Documentation

def Config.ProcessFragment.__delattr__ (   self,
  name 
)

Definition at line 998 of file Config.py.

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

999  def __delattr__(self, name):
1000  if name == '_ProcessFragment__process':
1001  pass
1002  else:
1003  return delattr(self.__process, name)
1004 
def Config.ProcessFragment.__dir__ (   self)

Definition at line 986 of file Config.py.

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

987  def __dir__(self):
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 988 of file Config.py.

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

989  def __getattribute__(self, name):
990  if name == '_ProcessFragment__process':
991  return object.__getattribute__(self, '_ProcessFragment__process')
992  else:
return getattr(self.__process, name)
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 993 of file Config.py.

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

994  def __setattr__(self, name, value):
995  if name == '_ProcessFragment__process':
996  object.__setattr__(self, name, value)
997  else:
setattr(self.__process, name, value)

Member Data Documentation

Config.ProcessFragment.__process
private

Definition at line 981 of file Config.py.

Referenced by Config.ProcessFragment.__delattr__(), Config.ProcessFragment.__dir__(), Config.ProcessFragment.__getattribute__(), Config.ProcessFragment.__setattr__(), and Config.SubProcess.process().