Gaudi Framework, version v23r7

Home   Generated: Wed Mar 20 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
EnvConfig.Variable.VariableBase Class Reference
Inheritance diagram for EnvConfig.Variable.VariableBase:
Inheritance graph
[legend]
Collaboration diagram for EnvConfig.Variable.VariableBase:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def process
 

Public Attributes

 report
 
 varName
 
 local
 
 expandVars
 

Detailed Description

Base class for the classes used to manipulate the environment.

Definition at line 163 of file Variable.py.

Constructor & Destructor Documentation

def EnvConfig.Variable.VariableBase.__init__ (   self,
  name,
  local = False,
  report = None 
)

Definition at line 168 of file Variable.py.

169  def __init__(self, name, local=False, report=None):
170  self.report = report
171  self.varName = name
172  self.local = local
173  self.expandVars = True

Member Function Documentation

def EnvConfig.Variable.VariableBase.process (   self,
  value,
  env 
)
Call all the processors defined in the processors list on 'value'.

@return: the processed value

Definition at line 174 of file Variable.py.

175  def process(self, value, env):
176  '''
177  Call all the processors defined in the processors list on 'value'.
178 
179  @return: the processed value
180  '''
181  for p in [c(env) for c in processors]:
182  if p.isTarget(self):
183  value = p(self, value)
184  return value

Member Data Documentation

EnvConfig.Variable.VariableBase.expandVars

Definition at line 172 of file Variable.py.

EnvConfig.Variable.VariableBase.local

Definition at line 171 of file Variable.py.

EnvConfig.Variable.VariableBase.report

Definition at line 169 of file Variable.py.

EnvConfig.Variable.VariableBase.varName

Definition at line 170 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Wed Mar 20 2013 17:59:48 for Gaudi Framework, version v23r7 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004