ATLAS Offline Software
Loading...
Searching...
No Matches
XMLtoHeader.py File Reference

Go to the source code of this file.

Namespaces

namespace  XMLtoHeader

Functions

 XMLtoHeader.CreateFiles (time)

Variables

 XMLtoHeader.argv = sys.argv
str XMLtoHeader.inputXMLname = '../schema/L1CTSpecifications.xml'
str XMLtoHeader.outputNames = 'L1Common'
 XMLtoHeader.opts
 XMLtoHeader.remainder
dict XMLtoHeader.typeDictCpp = {'u32' :'uint32_t','u16':'uint16_t','s32' :'int32_t','s16':'int16_t','string':'string', 'bool':'bool','float':'float','double':'double'}
dict XMLtoHeader.typeDictJava = {'u32' :'long','u16':'long','s32' :'int','s16':'int','string':'String', 'bool':'Boolean','float':'Single','double':'Double'}
dict XMLtoHeader.versionDict = {}
str XMLtoHeader.message_missingElement = 'Concerning child #{number}: Sorry, no {element} specified. This is a necessary element. Please make sure to specify it in the config file.'
 XMLtoHeader.tree = ET.parse(inputXMLname)
 XMLtoHeader.root = tree.getroot()
dict XMLtoHeader.nameVersionsDict = {}
int XMLtoHeader.childIndex = 0
list XMLtoHeader.versionList = [child.attrib['ns']]
list XMLtoHeader.staticList = []
dict XMLtoHeader.count = nameVersionsDict[name].count(vers)
dict XMLtoHeader.numChangeVersionDict = {}
list XMLtoHeader.changedParameterNames = []
 XMLtoHeader.now = date.today().strftime("%d/%m/%y")