daeInterface Class Reference
#include <daeInterface.h>
Inheritance diagram for daeInterface:
Detailed Description
ThedaeInterface
class provides an interface with the COLLADA runtime database.
Public Member Functions | |
virtual | ~daeInterface () |
Destructor. | |
Database setup | |
management of the database that stores the COLLADA elements. | |
virtual daeDatabase * | getDatabase ()=0 |
Gets the COLLADA runtime database currently being used. | |
virtual daeInt | setDatabase (daeDatabase *database)=0 |
Sets the COLLADA runtime database to use. | |
IOPlugin setup | |
handle the backend, which can import or export the COLLADA database to a file system, to a runtime or to any other storage system. | |
virtual daeIOPlugin * | getIOPlugin ()=0 |
Gets the daeIOPlugin currently set. | |
virtual daeInt | setIOPlugin (daeIOPlugin *plugin)=0 |
Sets the plugin which will be the interface between the COLLADA runtime database and the rest of the system. | |
Integration Library Setup | |
definition of an integration library to use when processing COLLADA file. It defines a framework for a user to insert a source code that will be called in the context of an import or export. Hence, it's the preferred way of accessing COLLADA runtime structure and convert between COLLADA and the user's runtime. | |
virtual daeIntegrationLibraryFunc | getIntegrationLibrary ()=0 |
Gets the integration library register function currently being used. | |
virtual daeInt | setIntegrationLibrary (daeIntegrationLibraryFunc regFunc)=0 |
Sets the integration library register function. | |
Batch import/export operations | |
virtual daeInt | load (daeString name, daeString docBuffer=NULL)=0 |
Loads a COLLADA document into the runtime database. | |
virtual daeInt | save (daeString collectionName, daeBool replace=true)=0 |
Saves a single collection/document back to the location it was loaded from. | |
virtual daeInt | save (daeUInt collectionIndex=0, daeBool replace=true)=0 |
Saves a single collection/document back to the location it was loaded from. | |
virtual daeInt | saveAs (daeString name, daeString collectionName, daeBool replace=true)=0 |
Saves a single collection/document from the runtime database by name. | |
virtual daeInt | saveAs (daeString name, daeUInt collectionIndex=0, daeBool replace=true)=0 |
Saves a single collection/document from the runtime database by index. | |
virtual daeInt | unload (daeString name)=0 |
Unloads a specific collection from the runtime database. | |
virtual daeInt | clear ()=0 |
Unloads all the collections of the runtime database. | |
Import/export progress | |
virtual void | getProgress (daeInt *bytesParsed, daeInt *lineNumber, daeInt *totalBytes, daeBool reset=false)=0 |
Gets the progress of load() operation. | |
Main DOM Query | |
virtual domCOLLADA * | getDom (daeString name)=0 |
Gets the COLLADA tree root of a given collection. | |
virtual daeString | getDomVersion ()=0 |
Gets the COLLADA schema version that was used to build the DOM classes. | |
virtual daeInt | setDom (daeString name, domCOLLADA *dom)=0 |
Sets or inserts a COLLADA tree into the database. |
Member Function Documentation
|
Unloads all the collections of the runtime database.
This function frees all the
Implemented in DAE. |
|
Gets the COLLADA runtime database currently being used.
Implemented in DAE. |
|
Gets the COLLADA tree root of a given collection.
Implemented in DAE. |
|
Gets the COLLADA schema version that was used to build the DOM classes.
Implemented in DAE. |
|
Gets the integration library register function currently being used.
Implemented in DAE. |
|
Gets the
Implemented in DAE. |
|
Gets the progress of
This function can be used from another thread to check the progress of a
Implemented in DAE. |
|
Loads a COLLADA document into the runtime database.
Implemented in DAE. |
|
Saves a single collection/document back to the location it was loaded from.
Implemented in DAE. |
|
Saves a single collection/document back to the location it was loaded from.
Implemented in DAE. |
|
Saves a single collection/document from the runtime database by index.
Implemented in DAE. |
|
Saves a single collection/document from the runtime database by name.
Implemented in DAE. |
|
Sets the COLLADA runtime database to use.
Implemented in DAE. |
|
Sets or inserts a COLLADA tree into the database.
The system creates a default database if none is set and then creates a collection if the collection doesn't already exist. The collection keeps a reference on the
Implemented in DAE. |
|
Sets the integration library register function.
Implemented in DAE. |
|
Sets the plugin which will be the interface between the COLLADA runtime database and the rest of the system. It can be used to read or write from a native XML file, to convert, or to store in a more complex structure like a storage database.
Implemented in DAE. |
|
Unloads a specific collection from the runtime database.
Implemented in DAE. |
The documentation for this class was generated from the following file:
- C:/SVN_wf/COLLADA_DOM/include/dae/daeInterface.h
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:00 2006 for COLLADA 1.4 DOM by 1.4.3