Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PackageMerger.PackageEntry Class Reference

## 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

## Detailed Description

     This corresponds to a <package> entry in the contents.xml
    file.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | xpackage,
|  |  | sourceDir )

## Member Function Documentation

## ◆ getKey()

getKey | ( |  | self | ) |

     Returns a tuple used for sorting the PackageEntry
    objects uniquely per package.

## ◆ isNewer()

isNewer | ( |  | self,
|  |  | other )

## ◆ loadXml()

loadXml | ( |  | self,
|  |  | xpackage )

## ◆ makeXml()

makeXml | ( |  | self | ) |

     Returns a new TiXmlElement.

## ◆ validatePackageContents()

validatePackageContents | ( |  | self | ) |

     Validates the contents of the package directory itself
    against the expected hashes and timestamps.  Updates
    hashes and timestamps where needed.

## Member Data Documentation

## ◆ descFile

descFile = FileSpec()

## ◆ importDescFile

importDescFile = None

## ◆ packageName

packageName

## ◆ packageSeq

packageSeq = SeqValue()

## ◆ packageSetVer

packageSetVer = SeqValue()

## ◆ perPlatform

perPlatform = int(perPlatform or '0')

## ◆ platform

platform

## ◆ solo

solo = int(solo or '0')

## ◆ sourceDir

sourceDir = sourceDir

## ◆ version

version