CrystalSpace

Public API Reference

Public Member Functions
iBinaryLoaderPlugin Struct Reference

This is a binary plugin for the loader. More...

#include <imap/reader.h>

Inheritance diagram for iBinaryLoaderPlugin:
iBase

List of all members.

Public Member Functions

virtual csPtr< iBaseParse (iDataBuffer *data, iStreamSource *ssource, iLoaderContext *ldr_context, iBase *context, iStringArray *failed=0)=0
 Parse given data and return a new object for it.

Detailed Description

This is a binary plugin for the loader.

Definition at line 60 of file reader.h.


Member Function Documentation

virtual csPtr<iBase> iBinaryLoaderPlugin::Parse ( iDataBuffer data,
iStreamSource ssource,
iLoaderContext ldr_context,
iBase context,
iStringArray failed = 0 
) [pure virtual]

Parse given data and return a new object for it.

Parameters:
dataThe data to parse.
ssourceAn optional stream source where we can get (additional) resources from, such as buffers, in a fast way.
ldr_contextCan be used to get the context for the loading. You can use this to find meshes/materials/...
contextThe context in which we are loading (can be the mesh wrapper for meshes for example).
failedAn array containing the names of all objects that failed to load.

The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.0 by doxygen 1.7.6.1