CrystalSpace

Public API Reference

iLoaderPlugin Struct Reference
[Loading & Saving support]

This is a plugin for the loader based on document tree. More...

#include <imap/reader.h>

Inheritance diagram for iLoaderPlugin:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual csPtr< iBaseParse (iDocumentNode *node, iStreamSource *ssource, iLoaderContext *ldr_context, iBase *context)=0
 Parse a given document node and return a new object for it.

Detailed Description

This is a plugin for the loader based on document tree.

Definition at line 37 of file reader.h.


Member Function Documentation

virtual csPtr<iBase> iLoaderPlugin::Parse ( iDocumentNode node,
iStreamSource ssource,
iLoaderContext ldr_context,
iBase context 
) [pure virtual]

Parse a given document node and return a new object for it.

Parameters:
node The node 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).

Implemented in csBaseRenderStepLoader.


The documentation for this struct was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7