|
| BuiltStyledStreamWriter (std::string const &indentation, CommentStyle::Enum cs, std::string const &colonSymbol, std::string const &nullSymbol, std::string const &endingLineFeedSymbol, bool useSpecialFloats, unsigned int precision) |
|
| BuiltStyledStreamWriter (std::string const &indentation, CommentStyle::Enum cs, std::string const &colonSymbol, std::string const &nullSymbol, std::string const &endingLineFeedSymbol, bool useSpecialFloats, unsigned int precision) |
|
int | write (Value const &root, std::ostream *sout) override |
|
int | write (Value const &root, std::ostream *sout) override |
|
| StreamWriter () |
|
| StreamWriter () |
|
virtual | ~StreamWriter () |
|
virtual | ~StreamWriter () |
|
◆ ChildValues [1/2]
◆ ChildValues [2/2]
◆ BuiltStyledStreamWriter() [1/2]
Json::BuiltStyledStreamWriter::BuiltStyledStreamWriter |
( |
std::string const & |
indentation, |
|
|
CommentStyle::Enum |
cs, |
|
|
std::string const & |
colonSymbol, |
|
|
std::string const & |
nullSymbol, |
|
|
std::string const & |
endingLineFeedSymbol, |
|
|
bool |
useSpecialFloats, |
|
|
unsigned int |
precision |
|
) |
| |
◆ BuiltStyledStreamWriter() [2/2]
Json::BuiltStyledStreamWriter::BuiltStyledStreamWriter |
( |
std::string const & |
indentation, |
|
|
CommentStyle::Enum |
cs, |
|
|
std::string const & |
colonSymbol, |
|
|
std::string const & |
nullSymbol, |
|
|
std::string const & |
endingLineFeedSymbol, |
|
|
bool |
useSpecialFloats, |
|
|
unsigned int |
precision |
|
) |
| |
◆ hasCommentForValue() [1/2]
bool Json::BuiltStyledStreamWriter::hasCommentForValue |
( |
const Value & |
value | ) |
|
|
staticprivate |
◆ hasCommentForValue() [2/2]
static bool Json::BuiltStyledStreamWriter::hasCommentForValue |
( |
const Value & |
value | ) |
|
|
staticprivate |
◆ indent() [1/2]
void Json::BuiltStyledStreamWriter::indent |
( |
| ) |
|
|
private |
◆ indent() [2/2]
void Json::BuiltStyledStreamWriter::indent |
( |
| ) |
|
|
private |
◆ isMultineArray() [1/2]
bool Json::BuiltStyledStreamWriter::isMultineArray |
( |
Value const & |
value | ) |
|
|
private |
◆ isMultineArray() [2/2]
bool Json::BuiltStyledStreamWriter::isMultineArray |
( |
Value const & |
value | ) |
|
|
private |
◆ pushValue() [1/2]
void Json::BuiltStyledStreamWriter::pushValue |
( |
std::string const & |
value | ) |
|
|
private |
◆ pushValue() [2/2]
void Json::BuiltStyledStreamWriter::pushValue |
( |
std::string const & |
value | ) |
|
|
private |
◆ unindent() [1/2]
void Json::BuiltStyledStreamWriter::unindent |
( |
| ) |
|
|
private |
◆ unindent() [2/2]
void Json::BuiltStyledStreamWriter::unindent |
( |
| ) |
|
|
private |
◆ write() [1/2]
int Json::BuiltStyledStreamWriter::write |
( |
Value const & |
root, |
|
|
std::ostream * |
sout |
|
) |
| |
|
overridevirtual |
◆ write() [2/2]
int Json::BuiltStyledStreamWriter::write |
( |
Value const & |
root, |
|
|
std::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.
◆ writeArrayValue() [1/2]
void Json::BuiltStyledStreamWriter::writeArrayValue |
( |
Value const & |
value | ) |
|
|
private |
◆ writeArrayValue() [2/2]
void Json::BuiltStyledStreamWriter::writeArrayValue |
( |
Value const & |
value | ) |
|
|
private |
◆ writeCommentAfterValueOnSameLine() [1/2]
void Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine |
( |
Value const & |
root | ) |
|
|
private |
◆ writeCommentAfterValueOnSameLine() [2/2]
void Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine |
( |
Value const & |
root | ) |
|
|
private |
◆ writeCommentBeforeValue() [1/2]
void Json::BuiltStyledStreamWriter::writeCommentBeforeValue |
( |
Value const & |
root | ) |
|
|
private |
◆ writeCommentBeforeValue() [2/2]
void Json::BuiltStyledStreamWriter::writeCommentBeforeValue |
( |
Value const & |
root | ) |
|
|
private |
◆ writeIndent() [1/2]
void Json::BuiltStyledStreamWriter::writeIndent |
( |
| ) |
|
|
private |
◆ writeIndent() [2/2]
void Json::BuiltStyledStreamWriter::writeIndent |
( |
| ) |
|
|
private |
◆ writeValue() [1/2]
void Json::BuiltStyledStreamWriter::writeValue |
( |
Value const & |
value | ) |
|
|
private |
◆ writeValue() [2/2]
void Json::BuiltStyledStreamWriter::writeValue |
( |
Value const & |
value | ) |
|
|
private |
◆ writeWithIndent() [1/2]
void Json::BuiltStyledStreamWriter::writeWithIndent |
( |
std::string const & |
value | ) |
|
|
private |
◆ writeWithIndent() [2/2]
void Json::BuiltStyledStreamWriter::writeWithIndent |
( |
std::string const & |
value | ) |
|
|
private |
◆ addChildValues_
bool Json::BuiltStyledStreamWriter::addChildValues_ |
|
private |
◆ childValues_
ChildValues Json::BuiltStyledStreamWriter::childValues_ |
|
private |
◆ colonSymbol_
std::string Json::BuiltStyledStreamWriter::colonSymbol_ |
|
private |
◆ cs_
◆ endingLineFeedSymbol_
std::string Json::BuiltStyledStreamWriter::endingLineFeedSymbol_ |
|
private |
◆ indentation_
std::string Json::BuiltStyledStreamWriter::indentation_ |
|
private |
◆ indented_
bool Json::BuiltStyledStreamWriter::indented_ |
|
private |
◆ indentString_
std::string Json::BuiltStyledStreamWriter::indentString_ |
|
private |
◆ nullSymbol_
std::string Json::BuiltStyledStreamWriter::nullSymbol_ |
|
private |
◆ precision_
unsigned int Json::BuiltStyledStreamWriter::precision_ |
|
private |
◆ rightMargin_
int Json::BuiltStyledStreamWriter::rightMargin_ |
|
private |
◆ useSpecialFloats_
bool Json::BuiltStyledStreamWriter::useSpecialFloats_ |
|
private |
The documentation for this struct was generated from the following file: