Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 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 165 of file Variable.py.

Constructor & Destructor Documentation

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

Definition at line 170 of file Variable.py.

171  def __init__(self, name, local=False):
172  self.varName = name
173  self.local = local
174  self.expandVars = True
175  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 176 of file Variable.py.

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

Member Data Documentation

EnvConfig.Variable.VariableBase.expandVars

Definition at line 173 of file Variable.py.

EnvConfig.Variable.VariableBase.local

Definition at line 172 of file Variable.py.

EnvConfig.Variable.VariableBase.log

Definition at line 174 of file Variable.py.

EnvConfig.Variable.VariableBase.varName

Definition at line 171 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Wed Jun 4 2014 14:49:04 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004