![]() |
The Gaudi Framework
v27r0
|


Public Member Functions | |
| def | __init__ |
| def | name (self) |
| def | set |
| def | unset |
| def | value |
| def | remove_regexp |
| def | remove |
| def | append |
| def | prepend |
| def | search (self, expr) |
| def | __str__ (self) |
Public Member Functions inherited from EnvConfig.Variable.VariableBase | |
| def | __init__ |
| def | process (self, value, env) |
Public Attributes | |
| val | |
Public Attributes inherited from EnvConfig.Variable.VariableBase | |
| varName | |
| local | |
| expandVars | |
| log | |
Class for manipulating with environment scalars.
Definition at line 295 of file Variable.py.
| def EnvConfig.Variable.Scalar.__init__ | ( | self, | |
| name, | |||
local = False |
|||
| ) |
Definition at line 298 of file Variable.py.
| def EnvConfig.Variable.Scalar.__str__ | ( | self | ) |
Definition at line 339 of file Variable.py.
| def EnvConfig.Variable.Scalar.append | ( | self, | |
| value, | |||
separator = ':', |
|||
environment = None |
|||
| ) |
| def EnvConfig.Variable.Scalar.name | ( | self | ) |
| def EnvConfig.Variable.Scalar.prepend | ( | self, | |
| value, | |||
separator = ':', |
|||
environment = None |
|||
| ) |
| def EnvConfig.Variable.Scalar.remove | ( | self, | |
| value, | |||
separator = ':', |
|||
regexp = True |
|||
| ) |
Removes value(s) from the scalar. If value is not found, removal is canceled.
Definition at line 321 of file Variable.py.
| def EnvConfig.Variable.Scalar.remove_regexp | ( | self, | |
| value, | |||
separator = ':' |
|||
| ) |
Definition at line 318 of file Variable.py.
| def EnvConfig.Variable.Scalar.search | ( | self, | |
| expr | |||
| ) |
| def EnvConfig.Variable.Scalar.set | ( | self, | |
| value, | |||
separator = ':', |
|||
environment = None |
|||
| ) |
Sets the value of the scalar. Any previous value is overwritten.
Definition at line 306 of file Variable.py.
| def EnvConfig.Variable.Scalar.unset | ( | self, | |
| value, | |||
separator = ':', |
|||
environment = None |
|||
| ) |
Sets the value of the variable to empty. Any previous value is overwritten.
Definition at line 310 of file Variable.py.
| def EnvConfig.Variable.Scalar.value | ( | self, | |
asString = False, |
|||
separator = ':' |
|||
| ) |
| EnvConfig.Variable.Scalar.val |
Definition at line 300 of file Variable.py.