|
Gaudi Framework, version v23r5 |
| Home | Generated: Wed Nov 28 2012 |
Public Member Functions | |
| def | __init__ |
| def | errors |
| def | warnings |
| def | check |
| def | merge |
Public Attributes | |
| posActions | |
| separator | |
| report | |
| varNames | |
| realVariables | |
| variables | |
| file | |
| output | |
Private Member Functions | |
| def | _processVars |
| def | _checkVariable |
| def | _loadVariables |
This class is for checking and merging XML files. Variables are stored in a double dictionary with keys of names and then actions.
Definition at line 213 of file xmlModule.py.
| def EnvConfig.xmlModule.XMLOperations.__init__ | ( | self, | |
separator = ':', |
|||
reportLevel = 0, |
|||
reportOutput = None |
|||
| ) |
Definition at line 218 of file xmlModule.py.
|
private |
Tries to add to variables dict, checks for errors during process
Definition at line 298 of file xmlModule.py.
|
private |
loads XML file for input variables
Definition at line 339 of file xmlModule.py.
|
private |
Definition at line 282 of file xmlModule.py.
| def EnvConfig.xmlModule.XMLOperations.check | ( | self, | |
| xmlFile | |||
| ) |
Runs a check through file First check is made on wrong action parameter. All valid actions are checked after and duplicated variables as well.
Definition at line 234 of file xmlModule.py.
| def EnvConfig.xmlModule.XMLOperations.errors | ( | self | ) |
Definition at line 228 of file xmlModule.py.
| def EnvConfig.xmlModule.XMLOperations.merge | ( | self, | |
| xmlDoc1, | |||
| xmlDoc2, | |||
outputFile = '', |
|||
reportCheck = False |
|||
| ) |
Merges two files together. Files are checked first during variables loading process. Second file is processed first, then the first file and after that they are merged together.
Definition at line 259 of file xmlModule.py.
| def EnvConfig.xmlModule.XMLOperations.warnings | ( | self | ) |
Definition at line 231 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.file |
Definition at line 225 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.output |
Definition at line 226 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.posActions |
Definition at line 219 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.realVariables |
Definition at line 223 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.report |
Definition at line 221 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.separator |
Definition at line 220 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.variables |
Definition at line 224 of file xmlModule.py.
| EnvConfig.xmlModule.XMLOperations.varNames |
Definition at line 222 of file xmlModule.py.