Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Static Public Attributes

# dirresource Class Reference

Inheritance diagram for dirresource:

List of all members.

## Public Member Functions
def | __init__
def | asFilter
def | contents
## Static Public Attributes
int | RECURSIVE = 0

## Detailed Description

    A sublcass for a directory.

       Generally transformed to a list of files through
        contents() and filtered by file extensions or resource type.
        Note that contents() is smart enough to regard a .py and .pyc
        as the same resource.

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | name,
|  |  | fullname = `None`
| ) |  |

Reimplemented in treeresource.

## Member Function Documentation

def asFilter | ( |  | self | ) |

    Create a tocfilter based on self.

       Pure virtual

Reimplemented from resource.

def contents | ( |  | self,
|  |  | prefix = `''`
| ) |  |

    Return the list of (typed) resources in self.name

## Member Data Documentation

int RECURSIVE = 0`[static]`

Reimplemented in treeresource.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties