|
HDK
|
#include <GT_Primitive.h>
Public Member Functions | |
| jsonWriter (UT_JSONWriter &w, const char *primitive_name) | |
| ~jsonWriter () | |
| UT_JSONWriter & | operator* () |
The jsonWriter class can be used by sub-classes to simplify saving primitives to a JSON object. For example:
The constructor automatically starts an array. The destructor closes the array.
Definition at line 199 of file GT_Primitive.h.
| GT_Primitive::jsonWriter::jsonWriter | ( | UT_JSONWriter & | w, |
| const char * | primitive_name | ||
| ) |
| GT_Primitive::jsonWriter::~jsonWriter | ( | ) |
|
inline |
Definition at line 204 of file GT_Primitive.h.