|
| BuiltStyledStreamWriter (String indentation, CommentStyle::Enum cs, String colonSymbol, String nullSymbol, String endingLineFeedSymbol, bool useSpecialFloats, unsigned int precision, PrecisionType precisionType) |
|
int | write (Value const &root, OStream *sout) override |
|
| BuiltStyledStreamWriter (String indentation, CommentStyle::Enum cs, String colonSymbol, String nullSymbol, String endingLineFeedSymbol, bool useSpecialFloats, unsigned int precision, PrecisionType precisionType) |
|
int | write (Value const &root, OStream *sout) override |
|
| StreamWriter () |
|
virtual | ~StreamWriter () |
|
int Json::BuiltStyledStreamWriter::write |
( |
Value const & |
root, |
|
|
OStream * |
sout |
|
) |
| |
|
overridevirtual |
Write Value into document as configured in sub-class. Do not take ownership of sout, but maintain a reference during function.
- Precondition
- sout != NULL
- Returns
- zero on success (For now, we always return zero, so check the stream instead.)
- Exceptions
-
std::exception | possibly, depending on configuration |
Implements Json::StreamWriter.
int Json::BuiltStyledStreamWriter::write |
( |
Value const & |
root, |
|
|
OStream * |
sout |
|
) |
| |
|
overridevirtual |
Write Value into document as configured in sub-class. Do not take ownership of sout, but maintain a reference during function.
- Precondition
- sout != NULL
- Returns
- zero on success (For now, we always return zero, so check the stream instead.)
- Exceptions
-
std::exception | possibly, depending on configuration |
Implements Json::StreamWriter.
The documentation for this struct was generated from the following file: