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 compressionType=UT_COMPRESSION_TYPE_NONE) | |
Write to the given ostream (binary and optionally gzipped) More... | |
UT_AutoJSONWriter (const char *filename, bool binary, UT_CompressionType compressionType=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 576 of file UT_JSONWriter.h.
|
inline |
Write directly to the UT_WorkBuffer.
Definition at line 580 of file UT_JSONWriter.h.
|
inline |
Write to the given ostream (binary and optionally gzipped)
Definition at line 585 of file UT_JSONWriter.h.
|
inline |
Write to the given filename (binary and optionally gzipped)
Definition at line 592 of file UT_JSONWriter.h.
|
inline |
Write directly to the UT_JSONValue.
Definition at line 599 of file UT_JSONWriter.h.
|
inline |
Definition at line 603 of file UT_JSONWriter.h.
|
delete |
|
inline |
Close the stream (causing all data to be flushed)
Definition at line 622 of file UT_JSONWriter.h.
|
inline |
Allow implicit casting between an auto-writer and the underlying writer.
Definition at line 619 of file UT_JSONWriter.h.
|
inline |
Access to the writer
Definition at line 614 of file UT_JSONWriter.h.
|
inline |
Access to the writer
Definition at line 615 of file UT_JSONWriter.h.
|
delete |
|
inline |
Access to the writer
Definition at line 613 of file UT_JSONWriter.h.