OpenGLContext.loaders.base
index
/home/mcfletch/pylive/OpenGLContext/loaders/base.py

Base loader module for OpenGLContext

 
Modules
       
urllib

 
Classes
       
object
BaseHandler

 
class BaseHandler(object)
    Base handler class providing common loading operations
 
  Methods defined here:
__call__(self, baseURL, filename, file, *args, **named)
Load encoded scenegraph from the file
 
baseURL -- the URL from which the file was loaded
filename -- the local filename for the file
file -- open read-only file handle
 
Returns a scenegraph or None
getData(self, baseURL, filename, file)
Retrieve data to be parsed
 
Will handle gunzipping data which has .gz extension
parse(self, data, baseURL, filename, file, *args, **named)
Parse the loaded data (with the provided meta-information)

Class methods defined here:
gunzip(cls, file) from type
Get a gzip-aware file for the given file handle
isGzip(cls, file) from type
Determine whether the data is a gzip stream

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
filename_extensions = []

 
Data
        DEBUG = 10
__file__ = '/home/mcfletch/pylive/OpenGLContext/loaders/base.pyc'
__name__ = 'OpenGLContext.loaders.base'
__package__ = 'OpenGLContext.loaders'
loader_log = <logging.Logger instance at 0x35f8fc8>