Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes

# PatchMaker.Patchfile Class Reference

List of all members.

## Public Member Functions
def | __init__
def | fromFile
def | getSourceKey
def | getTargetKey
def | loadXml
def | makeXml
## Public Attributes
| file
| fromPv
| hostUrl
| package
| packageName
| platform
| sourceFile
| targetFile
| toPv
| version

## Detailed Description

    A single patchfile for a package.

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | package
| ) |  |

## Member Function Documentation

def fromFile | ( |  | self,
|  |  | packageDir,
|  |  | patchFilename,
|  |  | sourceFile,
|  |  | targetFile
| ) |  |

    Creates the data structures from an existing patchfile
    on disk.

def getSourceKey | ( |  | self | ) |

    Returns the key for locating the package that this
    patchfile can be applied to.

def getTargetKey | ( |  | self | ) |

    Returns the key for locating the package that this
    patchfile will generate.

def loadXml | ( |  | self,
|  |  | xpatch
| ) |  |

    Reads the data structures from an xml file.

def makeXml | ( |  | self,
|  |  | package
| ) |  |

## Member Data Documentation

file

fromPv

hostUrl

package

packageName

platform

sourceFile

targetFile

toPv

version

All Classes Namespaces Functions Variables Enumerations Enumerator Properties