CrystalSpace

Public API Reference

iBinaryLoaderPlugin Struct Reference
[Loading & Saving support]

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

#include <imap/reader.h>

Inheritance diagram for iBinaryLoaderPlugin:

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:
data The data to parse.
ssource An optional stream source where we can get (additional) resources from, such as buffers, in a fast way.
ldr_context Can be used to get the context for the loading. You can use this to find meshes/materials/...
context The context in which we are loading (can be the mesh wrapper for meshes for example).
failed An 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.6.1