Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
PackageMerger.PackageEntry Class Reference

Public Member Functions

def __init__
 
def getKey
 
def isNewer
 
def loadXml
 
def makeXml
 
def validatePackageContents
 

Public Attributes

 descFile
 
 importDescFile
 
 packageName
 
 packageSeq
 
 packageSetVer
 
 perPlatform
 
 platform
 
 solo
 
 sourceDir
 
 version
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self,
  xpackage,
  sourceDir 
)

Member Function Documentation

def getKey (   self)
Returns a tuple used for sorting the PackageEntry
objects uniquely per package. 
def isNewer (   self,
  other 
)
def loadXml (   self,
  xpackage 
)
def makeXml (   self)
Returns a new TiXmlElement. 
def 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
importDescFile
packageName
packageSeq
packageSetVer
perPlatform
platform
solo
sourceDir
version