EnvConfig.Variable.VariableBase Class Reference
Inheritance diagram for EnvConfig.Variable.VariableBase:
Collaboration diagram for EnvConfig.Variable.VariableBase:

Public Member Functions

def __init__
 
def process (self, value, env)
 

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.

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

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.

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

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: