CS::DocSystem::iDocumentPreprocessor Struct Reference
Interface to document preprocessor plugin. More...
#include <ivaria/docpreproc.h>

Public Member Functions | |
| virtual csPtr< iDocumentNode > | Process (iDocumentNode *doc)=0 |
| Preprocess a document node and it's children. | |
Detailed Description
Interface to document preprocessor plugin.
This applies a preprocessing step featuring “templates” (comparable to C++ preprocessor macros), “defines” (comparable to C++ preprocessor conditions) and “generation” (like a for-loop for nodes).
For a reference, see the “Shader Processing Instructions” section in: http://crystalspace3d.org/docs/online/manual/Shader-Conditions-and-Processing-Instructions-Reference.html (Note: “Shader Conditions” support is not handled by the preprocessor plugin!)
Main implementor of this interface:
- Document preprocessor plugin (crystalspace.document.preprocessor)
Definition at line 47 of file docpreproc.h.
Member Function Documentation
| virtual csPtr<iDocumentNode> CS::DocSystem::iDocumentPreprocessor::Process | ( | iDocumentNode * | doc | ) | [pure virtual] |
Preprocess a document node and it's children.
Returns a new node instance with the preprocessed result.
- Remarks:
- The original document node will still be referred to; changing it and simulatenously keeping a preprocessed node around will have undefined results!
The documentation for this struct was generated from the following file:
- ivaria/docpreproc.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
