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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1008 of file Config.py.

1009  def __init__(self, process):
1010  if isinstance(process, Process):
1011  self.__process = process
1012  elif isinstance(process, str):
1013  self.__process = Process(process)
1014  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 1027 of file Config.py.

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

1028  def __delattr__(self, name):
1029  if name == '_ProcessFragment__process':
1030  pass
1031  else:
1032  return delattr(self.__process, name)
1033 
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1015 of file Config.py.

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

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

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

1018  def __getattribute__(self, name):
1019  if name == '_ProcessFragment__process':
1020  return object.__getattribute__(self, '_ProcessFragment__process')
1021  else:
return getattr(self.__process, name)
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1022 of file Config.py.

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

1023  def __setattr__(self, name, value):
1024  if name == '_ProcessFragment__process':
1025  object.__setattr__(self, name, value)
1026  else:
setattr(self.__process, name, value)

Member Data Documentation

Config.ProcessFragment.__process
private

Definition at line 1010 of file Config.py.

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