Panda3D
Public Member Functions | Public Attributes | List of all members
PackageMerger.PackageEntry Class Reference

Public Member Functions

def __init__ (self, xpackage, sourceDir)
 
def getKey (self)
 
def isNewer (self, other)
 
def loadXml (self, xpackage)
 
def makeXml (self)
 
def validatePackageContents (self)
 

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

◆ __init__()

def __init__ (   self,
  xpackage,
  sourceDir 
)

Member Function Documentation

◆ getKey()

def getKey (   self)
Returns a tuple used for sorting the PackageEntry
objects uniquely per package. 

◆ isNewer()

def isNewer (   self,
  other 
)

◆ loadXml()

def loadXml (   self,
  xpackage 
)

◆ makeXml()

def makeXml (   self)
Returns a new TiXmlElement. 

◆ validatePackageContents()

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

descFile

◆ importDescFile

importDescFile

◆ packageName

packageName

◆ packageSeq

packageSeq

◆ packageSetVer

packageSetVer

◆ perPlatform

perPlatform

◆ platform

platform

◆ solo

solo

◆ sourceDir

sourceDir

◆ version

version