|
Pyrogenesis
13997
|
Standard document loader. More...
#include <CommonConvert.h>
Public Member Functions | |
| void | LoadFromText (const char *text) |
| Loads the document from the given XML string. More... | |
| FCDocument * | GetDocument () const |
| Returns the FCDocument that was loaded. More... | |
| FCDExtra * | GetExtra () const |
| Returns the <extra> data from the <COLLADA> element. More... | |
Private Member Functions | |
| void | ReadExtras (xmlNode *colladaNode) |
Private Attributes | |
| std::auto_ptr< FCDocument > | document |
| std::auto_ptr< FCDExtra > | extra |
Standard document loader.
Based on FCDocument::LoadFromText, but allows access to <extra> nodes at the document level (i.e. directly in <COLLADA>).
Definition at line 71 of file CommonConvert.h.
|
inline |
Returns the FCDocument that was loaded.
Definition at line 82 of file CommonConvert.h.
|
inline |
Returns the <extra> data from the <COLLADA> element.
Definition at line 85 of file CommonConvert.h.
| void FColladaDocument::LoadFromText | ( | const char * | text | ) |
Loads the document from the given XML string.
Should be the first function called on this object, and should only be called once.
| ColladaException | if unable to load. |
Definition at line 96 of file CommonConvert.cpp.
|
private |
Definition at line 113 of file CommonConvert.cpp.
|
private |
Definition at line 89 of file CommonConvert.h.
|
private |
Definition at line 90 of file CommonConvert.h.
1.8.5