#include <dae.h>
Public Types | |
enum | charEncoding { Utf8, Latin1 } |
Public Member Functions | |
virtual domCOLLADA * | add (const std::string &path) |
virtual daeInt | clear () |
virtual void | close (const std::string &path) |
DAE (daeDatabase *database=NULL, daeIOPlugin *ioPlugin=NULL) | |
daeMetaElementRefArray & | getAllMetas () |
daeAtomicTypeList & | getAtomicTypes () |
daeURI & | getBaseURI () |
charEncoding | getCharEncoding () |
virtual daeDatabase * | getDatabase () |
virtual daeDocument * | getDoc (const std::string &path) |
virtual daeDocument * | getDoc (int i) |
virtual int | getDocCount () |
virtual domCOLLADA * | getDom (daeString uri) |
virtual daeString | getDomVersion () |
daeIDRefResolverList & | getIDRefResolvers () |
virtual daeIOPlugin * | getIOPlugin () |
daeMetaElement * | getMeta (daeInt typeID) |
daeRawRefCache & | getRawRefCache () |
virtual domCOLLADA * | getRoot (const std::string &path) |
daeSidRefCache & | getSidRefCache () |
daeURIResolverList & | getURIResolvers () |
virtual daeInt | load (daeString uri, daeString docBuffer=NULL) |
virtual domCOLLADA * | open (const std::string &path) |
virtual domCOLLADA * | openFromMemory (const std::string &path, daeString buffer) |
virtual daeInt | save (daeUInt documentIndex, daeBool replace=true) |
virtual daeInt | save (daeString uri, daeBool replace=true) |
virtual daeInt | saveAs (daeString uriToSaveTo, daeUInt documentIndex=0, daeBool replace=true) |
virtual daeInt | saveAs (daeString uriToSaveTo, daeString docUri, daeBool replace=true) |
void | setBaseURI (const std::string &uri) |
void | setBaseURI (const daeURI &uri) |
void | setCharEncoding (charEncoding encoding) |
virtual daeInt | setDatabase (daeDatabase *database) |
virtual daeInt | setDom (daeString uri, domCOLLADA *dom) |
virtual daeInt | setIOPlugin (daeIOPlugin *plugin) |
void | setMeta (daeInt typeID, daeMetaElement &meta) |
virtual bool | setRoot (const std::string &path, domCOLLADA *root) |
virtual daeInt | unload (daeString uri) |
virtual bool | write (const std::string &path) |
virtual bool | writeAll () |
virtual bool | writeTo (const std::string &docPath, const std::string &pathToWriteTo) |
virtual | ~DAE () |
Static Public Member Functions | |
static void | cleanup () |
static charEncoding | getGlobalCharEncoding () |
static void | setGlobalCharEncoding (charEncoding encoding) |
Private Member Functions | |
void | dummyFunction1 () |
void | init (daeDatabase *database, daeIOPlugin *ioPlugin) |
std::string | makeFullUri (const std::string &path) |
domCOLLADA * | openCommon (const std::string &path, daeString buffer) |
bool | writeCommon (const std::string &docPath, const std::string &pathToWriteTo, bool replace) |
Private Attributes | |
daeAtomicTypeList | atomicTypes |
daeURI | baseUri |
daeDatabase * | database |
bool | defaultDatabase |
bool | defaultPlugin |
daeIDRefResolverList | idRefResolvers |
std::auto_ptr< charEncoding > | localCharEncoding |
daeMetaElementRefArray | metas |
daeIOPlugin * | plugin |
daeRawRefCache | rawRefCache |
daeSidRefCache | sidRefCache |
daeURIResolverList | uriResolvers |
Static Private Attributes | |
static charEncoding | globalCharEncoding |
Definition at line 55 of file dae.h.
enum DAE::charEncoding |
DAE::DAE | ( | daeDatabase * | database = NULL , |
|
daeIOPlugin * | ioPlugin = NULL | |||
) | [inline] |
virtual DAE::~DAE | ( | ) | [virtual] |
virtual domCOLLADA* DAE::add | ( | const std::string & | path | ) | [virtual] |
static void DAE::cleanup | ( | ) | [static] |
virtual daeInt DAE::clear | ( | ) | [virtual] |
virtual void DAE::close | ( | const std::string & | path | ) | [virtual] |
void DAE::dummyFunction1 | ( | ) | [private] |
daeMetaElementRefArray& DAE::getAllMetas | ( | ) |
daeAtomicTypeList& DAE::getAtomicTypes | ( | ) |
daeURI& DAE::getBaseURI | ( | ) |
charEncoding DAE::getCharEncoding | ( | ) |
virtual daeDatabase* DAE::getDatabase | ( | ) | [virtual] |
virtual daeDocument* DAE::getDoc | ( | const std::string & | path | ) | [virtual] |
virtual daeDocument* DAE::getDoc | ( | int | i | ) | [virtual] |
virtual int DAE::getDocCount | ( | ) | [virtual] |
virtual domCOLLADA* DAE::getDom | ( | daeString | uri | ) | [virtual] |
virtual daeString DAE::getDomVersion | ( | ) | [virtual] |
static charEncoding DAE::getGlobalCharEncoding | ( | ) | [static] |
daeIDRefResolverList& DAE::getIDRefResolvers | ( | ) |
virtual daeIOPlugin* DAE::getIOPlugin | ( | ) | [virtual] |
daeMetaElement* DAE::getMeta | ( | daeInt | typeID | ) |
daeRawRefCache& DAE::getRawRefCache | ( | ) |
virtual domCOLLADA* DAE::getRoot | ( | const std::string & | path | ) | [virtual] |
daeSidRefCache& DAE::getSidRefCache | ( | ) |
daeURIResolverList& DAE::getURIResolvers | ( | ) |
void DAE::init | ( | daeDatabase * | database, | |
daeIOPlugin * | ioPlugin | |||
) | [private] |
std::string DAE::makeFullUri | ( | const std::string & | path | ) | [private] |
virtual domCOLLADA* DAE::open | ( | const std::string & | path | ) | [virtual] |
domCOLLADA* DAE::openCommon | ( | const std::string & | path, | |
daeString | buffer | |||
) | [private] |
virtual domCOLLADA* DAE::openFromMemory | ( | const std::string & | path, | |
daeString | buffer | |||
) | [virtual] |
virtual daeInt DAE::saveAs | ( | daeString | uriToSaveTo, | |
daeUInt | documentIndex = 0 , |
|||
daeBool | replace = true | |||
) | [virtual] |
virtual daeInt DAE::saveAs | ( | daeString | uriToSaveTo, | |
daeString | docUri, | |||
daeBool | replace = true | |||
) | [virtual] |
void DAE::setBaseURI | ( | const std::string & | uri | ) |
void DAE::setBaseURI | ( | const daeURI & | uri | ) |
void DAE::setCharEncoding | ( | charEncoding | encoding | ) |
virtual daeInt DAE::setDatabase | ( | daeDatabase * | database | ) | [virtual] |
virtual daeInt DAE::setDom | ( | daeString | uri, | |
domCOLLADA * | dom | |||
) | [virtual] |
static void DAE::setGlobalCharEncoding | ( | charEncoding | encoding | ) | [static] |
virtual daeInt DAE::setIOPlugin | ( | daeIOPlugin * | plugin | ) | [virtual] |
void DAE::setMeta | ( | daeInt | typeID, | |
daeMetaElement & | meta | |||
) |
virtual bool DAE::setRoot | ( | const std::string & | path, | |
domCOLLADA * | root | |||
) | [virtual] |
virtual bool DAE::write | ( | const std::string & | path | ) | [virtual] |
virtual bool DAE::writeAll | ( | ) | [virtual] |
bool DAE::writeCommon | ( | const std::string & | docPath, | |
const std::string & | pathToWriteTo, | |||
bool | replace | |||
) | [private] |
virtual bool DAE::writeTo | ( | const std::string & | docPath, | |
const std::string & | pathToWriteTo | |||
) | [virtual] |
daeAtomicTypeList DAE::atomicTypes [private] |
daeURI DAE::baseUri [private] |
daeDatabase* DAE::database [private] |
bool DAE::defaultDatabase [private] |
bool DAE::defaultPlugin [private] |
charEncoding DAE::globalCharEncoding [static, private] |
daeIDRefResolverList DAE::idRefResolvers [private] |
std::auto_ptr<charEncoding> DAE::localCharEncoding [private] |
daeMetaElementRefArray DAE::metas [private] |
daeIOPlugin* DAE::plugin [private] |
daeRawRefCache DAE::rawRefCache [private] |
daeSidRefCache DAE::sidRefCache [private] |
daeURIResolverList DAE::uriResolvers [private] |