MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / TypeInfo

Class TypeInfo

scripts/reg.py:373–389  ·  view source on GitHub ↗

Registry information about a type. No additional state beyond BaseInfo is required.

Source from the content-addressed store, hash-verified

371
372
373class TypeInfo(BaseInfo):
374 """Registry information about a type. No additional state
375 beyond BaseInfo is required."""
376
377 def __init__(self, elem):
378 BaseInfo.__init__(self, elem)
379 self.additionalValidity = []
380 self.removedValidity = []
381
382 def getMembers(self):
383 """Get a collection of all member elements for this type, if any."""
384 return self.elem.findall('member')
385
386 def resetState(self):
387 BaseInfo.resetState(self)
388 self.additionalValidity = []
389 self.removedValidity = []
390
391
392class GroupInfo(BaseInfo):

Callers 1

parseTreeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected