iLoaderPlugin Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
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:

List of all members.

## Public Member Functions
virtual csPtr< iBase > | Parse (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:

- imap/reader.h