Panda3D
Public Member Functions | Public Attributes | List of all members
PatchMaker.Patchfile Class Reference

Public Member Functions

def __init__ (self, package)
 
def fromFile (self, packageDir, patchFilename, sourceFile, targetFile)
 
def getSourceKey (self)
 
def getTargetKey (self)
 
def loadXml (self, xpatch)
 
def makeXml (self, package)
 

Public Attributes

 file
 
 fromPv
 
 hostUrl
 
 package
 
 packageName
 
 platform
 
 sourceFile
 
 targetFile
 
 toPv
 
 version
 

Detailed Description

A single patchfile for a package. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  package 
)

Member Function Documentation

◆ fromFile()

def fromFile (   self,
  packageDir,
  patchFilename,
  sourceFile,
  targetFile 
)
Creates the data structures from an existing patchfile
on disk. 

◆ getSourceKey()

def getSourceKey (   self)
Returns the key for locating the package that this
patchfile can be applied to. 

◆ getTargetKey()

def getTargetKey (   self)
Returns the key for locating the package that this
patchfile will generate. 

◆ loadXml()

def loadXml (   self,
  xpatch 
)
Reads the data structures from an xml file. 

◆ makeXml()

def makeXml (   self,
  package 
)

Member Data Documentation

◆ file

file

◆ fromPv

fromPv

◆ hostUrl

hostUrl

◆ package

package

◆ packageName

packageName

◆ platform

platform

◆ sourceFile

sourceFile

◆ targetFile

targetFile

◆ toPv

toPv

◆ version

version