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

Constructor & Destructor Documentation

def Config.ProcessFragment.__init__ (   self,
  process 
)

Definition at line 1000 of file Config.py.

1001  def __init__(self, process):
1002  if isinstance(process, Process):
1003  self.__process = process
1004  elif isinstance(process, str):
1005  self.__process = Process(process)
1006  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 1019 of file Config.py.

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

1020  def __delattr__(self, name):
1021  if name == '_ProcessFragment__process':
1022  pass
1023  else:
1024  return delattr(self.__process, name)
1025 
def Config.ProcessFragment.__dir__ (   self)

Definition at line 1007 of file Config.py.

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

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

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

1010  def __getattribute__(self, name):
1011  if name == '_ProcessFragment__process':
1012  return object.__getattribute__(self, '_ProcessFragment__process')
1013  else:
return getattr(self.__process, name)
def Config.ProcessFragment.__setattr__ (   self,
  name,
  value 
)

Definition at line 1014 of file Config.py.

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

1015  def __setattr__(self, name, value):
1016  if name == '_ProcessFragment__process':
1017  object.__setattr__(self, name, value)
1018  else:
setattr(self.__process, name, value)

Member Data Documentation

Config.ProcessFragment.__process
private

Definition at line 1002 of file Config.py.

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