|
HDK
|
#include <UT_JSONWriter.h>
Public Member Functions | |
| UT_AutoJSONWriter (UT_WorkBuffer &b) | |
| Write directly to the UT_WorkBuffer. More... | |
| UT_AutoJSONWriter (std::ostream &os, bool binary, UT_CompressionType compression_type=UT_COMPRESSION_TYPE_NONE) | |
| Write to the given ostream (binary and optionally gzipped) More... | |
| UT_AutoJSONWriter (const char *filename, bool binary, UT_CompressionType compression_type=UT_COMPRESSION_TYPE_NONE) | |
| Write to the given filename (binary and optionally gzipped) More... | |
| UT_AutoJSONWriter (UT_JSONValue &value) | |
| Write directly to the UT_JSONValue. More... | |
| ~UT_AutoJSONWriter () | |
| UT_AutoJSONWriter (const UT_AutoJSONWriter &)=delete | |
| UT_AutoJSONWriter & | operator= (const UT_AutoJSONWriter &)=delete |
| operator UT_JSONWriter & () | |
| Allow implicit casting between an auto-writer and the underlying writer. More... | |
| void | close () |
| Close the stream (causing all data to be flushed) More... | |
| UT_JSONWriter & | writer () const |
| UT_JSONWriter & | operator* () const |
| UT_JSONWriter * | operator-> () const |
Convenience class to allocate a writer which is automatically deleted For example:
Definition at line 620 of file UT_JSONWriter.h.
|
inline |
Write directly to the UT_WorkBuffer.
Definition at line 624 of file UT_JSONWriter.h.
|
inline |
Write to the given ostream (binary and optionally gzipped)
Definition at line 629 of file UT_JSONWriter.h.
|
inline |
Write to the given filename (binary and optionally gzipped)
Definition at line 636 of file UT_JSONWriter.h.
|
inline |
Write directly to the UT_JSONValue.
Definition at line 643 of file UT_JSONWriter.h.
|
inline |
Definition at line 647 of file UT_JSONWriter.h.
|
delete |
|
inline |
Close the stream (causing all data to be flushed)
Definition at line 666 of file UT_JSONWriter.h.
|
inline |
Allow implicit casting between an auto-writer and the underlying writer.
Definition at line 663 of file UT_JSONWriter.h.
|
inline |
Access to the writer
Definition at line 658 of file UT_JSONWriter.h.
|
inline |
Access to the writer
Definition at line 659 of file UT_JSONWriter.h.
|
delete |
|
inline |
Access to the writer
Definition at line 657 of file UT_JSONWriter.h.