Standard document loader.
More...
#include <CommonConvert.h>
|
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...
|
|
|
std::unique_ptr< FCDocument > | document |
|
std::unique_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>).
◆ GetDocument()
FCDocument * FColladaDocument::GetDocument |
( |
| ) |
const |
|
inline |
Returns the FCDocument that was loaded.
◆ GetExtra()
FCDExtra * FColladaDocument::GetExtra |
( |
| ) |
const |
|
inline |
Returns the <extra> data from the <COLLADA> element.
◆ LoadFromText()
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.
- Exceptions
-
◆ ReadExtras()
void FColladaDocument::ReadExtras |
( |
xmlNode * |
colladaNode | ) |
|
|
private |
◆ document
std::unique_ptr<FCDocument> FColladaDocument::document |
|
private |
◆ extra
std::unique_ptr<FCDExtra> FColladaDocument::extra |
|
private |
The documentation for this class was generated from the following files: