Package iceprod :: Package core :: Module paramdb :: Class XMLParamDB
[hide private]
[frames] | no frames]

Class XMLParamDB

source code

ParamDb --+
          |
         XMLParamDB

Instance Methods [hide private]
 
__init__(self, uri='http://x2100.icecube.wisc.edu/dtd/i3paramdb.dtd')
Initialize and build DOM tree from IceTrayConfig object
source code
 
AddMetaProject(self, metaproject) source code
 
AddMetaProjects(self)
Load projects from IceTrayConfig and add the to DOM tree
source code
 
mkValueElement(self, ptype, pvalue, doc)
Create a value element depending on the type
source code
 
AddServices(self, docElement, project)
Load services from IceTrayConfig and add the to DOM tree
source code
 
AddModules(self, docElement, project)
Load modules from IceTrayConfig and add the to DOM tree
source code
 
getDOM(self) source code
 
write_to_file(self, fname=None)
Write DOM tree as human readable xml to a file
source code

Inherited from ParamDb: GetMetaProjects, GetModules, GetModulesP, GetParameters, GetProjectDependencies, GetProjects, GetProjectsMM, GetProjectsSM, GetServices, GetServicesP, SetMetaProjectId, SwitchMetaProject, adddependencies, load, loadcache, loadfile

Class Variables [hide private]
  logger = logging.getLogger('XMLParamDB')
Method Details [hide private]

__init__(self, uri='http://x2100.icecube.wisc.edu/dtd/i3paramdb.dtd')
(Constructor)

source code 

Initialize and build DOM tree from IceTrayConfig object

Overrides: ParamDb.__init__