# zlibresource

from direct.pyinst.resource import zlibresource

A subclass for ZlibArchives.

## Inheritance:

zlibresource: dataresource
dataresource: resource
resource:

## Methods of zlibresource:

__init__

## Methods of dataresource:

__init__
asFilter

## Methods of resource:

__cmp__
__init__
__repr__
asBinary
asFilter
asSource
contents
dependencies

__init__ def __init__(self, name, fullname=None) Undocumented function.

__init__ def __init__(self, name, fullname=None) Undocumented function.

asFilter def asFilter(self) Create a FileFilter from self.

__cmp__ def __cmp__(self, other) Undocumented function.

__init__ def __init__(self, name, path, typ) NAME is the logical name of the resource. PATH is the full path to the resource. TYP is the type code. No editting or sanity checks.

__repr__ def __repr__(self) Undocumented function.

asBinary def asBinary(self) Return self in binary form. Base implementation returns self

asFilter def asFilter(self) Create a tocfilter based on self. Pure virtual

asSource def asSource(self) Return self in source form. Base implementation returns self

contents def contents(self) A list of resources within this resource. Overridable. Base implementation returns [self]

dependencies def dependencies(self) A list of resources this resource requires. Overridable. Base implementation returns []