|
Panda3D
|
Public Member Functions | |
| __init__ (self, xpackage, sourceDir) | |
| getKey (self) | |
| isNewer (self, other) | |
| loadXml (self, xpackage) | |
| makeXml (self) | |
| validatePackageContents (self) | |
Public Attributes | |
| descFile = FileSpec() | |
| importDescFile = None | |
| packageName | |
| packageSeq = SeqValue() | |
| packageSetVer = SeqValue() | |
| perPlatform = int(perPlatform or '0') | |
| platform | |
| solo = int(solo or '0') | |
| sourceDir = sourceDir | |
| version | |
This corresponds to a <package> entry in the contents.xml file.
| __init__ | ( | self, | |
| xpackage, | |||
| sourceDir ) |
| getKey | ( | self | ) |
Returns a tuple used for sorting the PackageEntry objects uniquely per package.
| isNewer | ( | self, | |
| other ) |
| loadXml | ( | self, | |
| xpackage ) |
| makeXml | ( | self | ) |
Returns a new TiXmlElement.
| validatePackageContents | ( | self | ) |
Validates the contents of the package directory itself against the expected hashes and timestamps. Updates hashes and timestamps where needed.
| descFile = FileSpec() |
| importDescFile = None |
| packageName |
| packageSeq = SeqValue() |
| packageSetVer = SeqValue() |
| perPlatform = int(perPlatform or '0') |
| platform |
| solo = int(solo or '0') |
| sourceDir = sourceDir |
| version |