Public Member Functions | |
def | __init__ (self, filename, includeNonVersionedClasses=False, normalizeClassNames=True) |
def | end_element (self, name) |
def | genNName (self, name) |
def | readClassesDefXML (self) |
def | start_element (self, name, attrs) |
Public Attributes | |
classes | |
Static Public Attributes | |
classVersionIndex | |
originalNameIndex | |
versionsToChecksumIndex | |
Private Attributes | |
_file | |
_includeNonVersionedClasses | |
_normalizeClassNames | |
_presentClass | |
_presentClassForVersion | |
Parses a classes_def.xml file looking for class declarations that contain ClassVersion attributes. Once found looks for sub-elements named 'version' which contain the ClassVersion to checksum mappings.
Definition at line 1 of file ClassesDefXmlUtils.py.
def ClassesDefXmlUtils.XmlParser.__init__ | ( | self, | |
filename, | |||
includeNonVersionedClasses = False , |
|||
normalizeClassNames = True |
|||
) |
Definition at line 13 of file ClassesDefXmlUtils.py.
def ClassesDefXmlUtils.XmlParser.end_element | ( | self, | |
name | |||
) |
Definition at line 70 of file ClassesDefXmlUtils.py.
References ClassesDefXmlUtils.XmlParser._presentClass, and ClassesDefXmlUtils.XmlParser._presentClassForVersion.
Referenced by ClassesDefXmlUtils.XmlParser.readClassesDefXML().
def ClassesDefXmlUtils.XmlParser.genNName | ( | self, | |
name | |||
) |
Definition at line 74 of file ClassesDefXmlUtils.py.
References ClassesDefXmlUtils.XmlParser._normalizeClassNames, and join().
Referenced by ClassesDefXmlUtils.XmlParser.start_element().
def ClassesDefXmlUtils.XmlParser.readClassesDefXML | ( | self | ) |
Definition at line 21 of file ClassesDefXmlUtils.py.
References ClassesDefXmlUtils.XmlParser._file, CommonAnalyzer._file, condhdf5tohdf5.H5Tag._file, condhdf5tohdf5.H5GlobalTag._file, dqm-mbProfile.Profile._file, ClassesDefXmlUtils.XmlParser.end_element(), and ClassesDefXmlUtils.XmlParser.start_element().
def ClassesDefXmlUtils.XmlParser.start_element | ( | self, | |
name, | |||
attrs | |||
) |
Definition at line 43 of file ClassesDefXmlUtils.py.
References ClassesDefXmlUtils.XmlParser._includeNonVersionedClasses, ClassesDefXmlUtils.XmlParser._presentClass, ClassesDefXmlUtils.XmlParser._presentClassForVersion, mps_setup.append, ClassesDefXmlUtils.XmlParser.classes, MainPageGenerator.MainPageGenerator.classes, condformats_serialization_generate.SerializationCodeGenerator.classes, ClassesDefXmlUtils.XmlParser.genNName(), and createfilelist.int.
Referenced by ClassesDefXmlUtils.XmlParser.readClassesDefXML().
|
private |
Definition at line 14 of file ClassesDefXmlUtils.py.
Referenced by ntupleDataFormat.TrackingNtuple.file(), ClassesDefXmlUtils.XmlParser.readClassesDefXML(), and output.OutputTree.write().
|
private |
Definition at line 18 of file ClassesDefXmlUtils.py.
Referenced by ClassesDefXmlUtils.XmlParser.start_element().
|
private |
Definition at line 19 of file ClassesDefXmlUtils.py.
Referenced by ClassesDefXmlUtils.XmlParser.genNName().
|
private |
Definition at line 16 of file ClassesDefXmlUtils.py.
Referenced by ClassesDefXmlUtils.XmlParser.end_element(), and ClassesDefXmlUtils.XmlParser.start_element().
|
private |
Definition at line 17 of file ClassesDefXmlUtils.py.
Referenced by ClassesDefXmlUtils.XmlParser.end_element(), and ClassesDefXmlUtils.XmlParser.start_element().
ClassesDefXmlUtils.XmlParser.classes |
Definition at line 15 of file ClassesDefXmlUtils.py.
Referenced by ClassesDefXmlUtils.XmlParser.start_element().
|
static |
Definition at line 10 of file ClassesDefXmlUtils.py.
|
static |
Definition at line 9 of file ClassesDefXmlUtils.py.
|
static |
Definition at line 11 of file ClassesDefXmlUtils.py.