daeLIBXMLPlugin Class Reference
#include <daeLIBXMLPlugin.h>
Inheritance diagram for daeLIBXMLPlugin:
Detailed Description
ThedaeLIBXMLPlugin
class derives from daeIOPlugin
and implements an XML input/output backend using libxml2 as a parser.
When using this plugin, daeInterface::load() expects an rfc 2396 compliant URI, any URI supported by libxml2 should be properly handled including ones with network schemes and authority. If the URI contains a fragment it will be ignored and the entire referenced document will be loaded. daeInterface::saveAs will only handle a filename path at present (ie: no scheme or authority).
Public Member Functions | |
daeLIBXMLPlugin () | |
Constructor. | |
virtual | ~daeLIBXMLPlugin () |
Destructor. | |
virtual daeInt | setMeta (daeMetaElement *topMeta) |
Sets the top meta object. | |
virtual void | setDatabase (daeDatabase *database) |
Sets the database to use. | |
virtual daeInt | read (daeURI &uri, daeString docBuffer) |
Imports content into the database from an input. | |
virtual daeInt | write (daeURI *name, daeCollection *collection, daeBool replace) |
Writes a specific collection to an output. | |
daeElementRef | startParse (daeMetaElement *thisMetaElement, xmlTextReaderPtr reader) |
daeElementRef | nextElement (daeMetaElement *thisMetaElement, xmlTextReaderPtr reader) |
virtual void | getProgress (daeInt *bytesParsed, daeInt *lineNumber, daeInt *totalBytes, daeBool reset=false) |
Gets the progress of load() operation. |
Member Function Documentation
|
Gets the progress of
This function can be used from another thread to check the progress of a
Implements daeIOPlugin. |
|
Imports content into the database from an input. The input can be a file, a database or another runtime.
Implements daeIOPlugin. |
|
Sets the database to use.
All
Implements daeIOPlugin. |
|
Sets the top meta object.
Called by
Implements daeIOPlugin. |
|
Writes a specific collection to an output.
Implements daeIOPlugin. |
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/modules/daeLIBXMLPlugin.h
- C:/SVN_wf/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:03 2006 for COLLADA 1.4 DOM by 1.4.3