Panda3D
Loading...
Searching...
No Matches
PatchMaker.Patchfile Class Reference

Public Member Functions

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

Public Attributes

 file = None
 
 fromPv = None
 
 hostUrl = None
 
 package = package
 
 packageName = package.packageName
 
 platform = package.platform
 
 sourceFile = None
 
 targetFile = None
 
 toPv = None
 
 version = package.version
 

Detailed Description

 A single patchfile for a package. 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
package )

Member Function Documentation

◆ fromFile()

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

◆ getSourceKey()

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

◆ getTargetKey()

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

◆ loadXml()

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

◆ makeXml()

makeXml ( self,
package )

Member Data Documentation

◆ file

file = None

◆ fromPv

fromPv = None

◆ hostUrl

hostUrl = None

◆ package

package = package

◆ packageName

packageName = package.packageName

◆ platform

platform = package.platform

◆ sourceFile

sourceFile = None

◆ targetFile

targetFile = None

◆ toPv

toPv = None

◆ version

version = package.version