Registry information about a type. No additional state beyond BaseInfo is required.
| 371 | |
| 372 | |
| 373 | class 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 | |
| 392 | class GroupInfo(BaseInfo): |