Assimp
v4.1. (December 2018)
|
This class represents the OpenDDLExporter. More...
Public Member Functions | |
bool | exportContext (Context *ctx, const std::string &filename) |
Export the data of a parser context. More... | |
bool | handleNode (DDLNode *node) |
Handles a node export. More... | |
OpenDDLExport (IOStreamBase *stream=ddl_nullptr) | |
The class constructor. More... | |
bool | writeToStream (const std::string &statement) |
Writes the statement to the stream. More... | |
~OpenDDLExport () | |
The class destructor. More... | |
Protected Member Functions | |
bool | writeNode (DDLNode *node, std::string &statement) |
bool | writeNodeHeader (DDLNode *node, std::string &statement) |
bool | writeProperties (DDLNode *node, std::string &statement) |
bool | writeValue (Value *val, std::string &statement) |
bool | writeValueArray (DataArrayList *al, std::string &statement) |
bool | writeValueType (Value::ValueType type, size_t numItems, std::string &statement) |
This class represents the OpenDDLExporter.
OpenDDLExport::OpenDDLExport | ( | IOStreamBase * | stream = ddl_nullptr | ) |
The class constructor.
OpenDDLExport::~OpenDDLExport | ( | ) |
The class destructor.
bool OpenDDLExport::exportContext | ( | Context * | ctx, |
const std::string & | filename | ||
) |
Export the data of a parser context.
ctx | [in] Pointer to the context. |
filename | [in] The filename for the export. |
bool OpenDDLExport::handleNode | ( | DDLNode * | node | ) |
Handles a node export.
node | [in] The node to handle with. |
|
protected |
|
protected |
|
protected |
bool OpenDDLExport::writeToStream | ( | const std::string & | statement | ) |
Writes the statement to the stream.
statement | [in] The content to write. |
|
protected |
|
protected |
|
protected |