Gaudi Framework, version v23r5

Home   Generated: Wed Nov 28 2012
 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 158 of file Variable.py.

Constructor & Destructor Documentation

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

Definition at line 163 of file Variable.py.

164  def __init__(self, name, local=False, report=None):
165  self.report = report
166  self.varName = name
167  self.local = local
168  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 169 of file Variable.py.

170  def process(self, value, env):
171  '''
172  Call all the processors defined in the processors list on 'value'.
173 
174  @return: the processed value
175  '''
176  for p in [c(env) for c in processors]:
177  if p.isTarget(self):
178  value = p(self, value)
179  return value

Member Data Documentation

EnvConfig.Variable.VariableBase.expandVars

Definition at line 167 of file Variable.py.

EnvConfig.Variable.VariableBase.local

Definition at line 166 of file Variable.py.

EnvConfig.Variable.VariableBase.report

Definition at line 164 of file Variable.py.

EnvConfig.Variable.VariableBase.varName

Definition at line 165 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Wed Nov 28 2012 12:17:35 for Gaudi Framework, version v23r5 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004