Panda3D
Public Member Functions | Public Attributes

moduleresource Class Reference

Inheritance diagram for moduleresource:
scriptresource pythonresource resource

List of all members.

Public Member Functions

def __init__
def __cmp__
def __getattr__
def __repr__
def asBinary
def asFilter
def asSource
def contents
def dependencies

Public Attributes

 binaries
 modules
 name
 path
 typ

Detailed Description

A module resource (differs from script in that it will generally
    be worked with as a .pyc instead of in source form) 

Constructor & Destructor Documentation

def __init__ (   self,
  name,
  fullname 
)

Reimplemented from scriptresource.


Member Function Documentation

def __cmp__ (   self,
  other 
) [inherited]
def __getattr__ (   self,
  name 
) [inherited]
def __repr__ (   self) [inherited]
def asBinary (   self)
Return self as a dataresource (ie, a binary file wrapper).

Reimplemented from resource.

def asFilter (   self) [inherited]
Return a ModFilter based on self.

Reimplemented from resource.

def asSource (   self)
Return self as a scriptresource (ie, uncompiled form).

Reimplemented from scriptresource.

def contents (   self) [inherited]
A list of resources within this resource.

   Overridable.
   Base implementation returns [self]
def dependencies (   self) [inherited]
Return all dependencies (Python and binary) of self.

Reimplemented from resource.


Member Data Documentation

binaries [inherited]
modules [inherited]
name [inherited]
path [inherited]
typ [inherited]
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties