| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:
[legend]
Collaboration diagram for EnvConfig.Variable.VariableBase:
[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.

168
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.

174
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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/cmake/EnvConfig/Variable.py