def getClassName(self):
    names = {CompositeType.CLASS_STRUCT: 'struct', CompositeType.CLASS_UNION: 'union'}
    return names[self.typeClass]
def getClassName(self):
    names = {CompositeType.CLASS_STRUCT: 'struct', CompositeType.CLASS_UNION: 'union'}
    return names[self.typeClass]