Gaudi Framework, version v23r8

Home   Generated: Fri May 31 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

 varName
 
 local
 
 expandVars
 
 log
 

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 
)

Definition at line 168 of file Variable.py.

169  def __init__(self, name, local=False):
170  self.varName = name
171  self.local = local
172  self.expandVars = True
173  self.log = logging.getLogger('Variable')

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 171 of file Variable.py.

EnvConfig.Variable.VariableBase.local

Definition at line 170 of file Variable.py.

EnvConfig.Variable.VariableBase.log

Definition at line 172 of file Variable.py.

EnvConfig.Variable.VariableBase.varName

Definition at line 169 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Fri May 31 2013 15:09:23 for Gaudi Framework, version v23r8 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004