Definition at line 4743 of file jsoncpp.cpp.
Json::BuiltStyledStreamWriter::BuiltStyledStreamWriter |
( |
std::string const & |
indentation, |
|
|
CommentStyle::Enum |
cs, |
|
|
std::string const & |
colonSymbol, |
|
|
std::string const & |
nullSymbol, |
|
|
std::string const & |
endingLineFeedSymbol |
|
) |
| |
bool Json::BuiltStyledStreamWriter::hasCommentForValue |
( |
const Value & |
value | ) |
|
|
staticprivate |
void Json::BuiltStyledStreamWriter::indent |
( |
| ) |
|
|
private |
bool Json::BuiltStyledStreamWriter::isMultineArray |
( |
Value const & |
value | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::pushValue |
( |
std::string const & |
value | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::unindent |
( |
| ) |
|
|
private |
int Json::BuiltStyledStreamWriter::write |
( |
Value const & |
root, |
|
|
std::ostream * |
sout |
|
) |
| |
|
virtual |
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.
Definition at line 4794 of file jsoncpp.cpp.
void Json::BuiltStyledStreamWriter::writeArrayValue |
( |
Value const & |
value | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::writeCommentAfterValueOnSameLine |
( |
Value const & |
root | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::writeCommentBeforeValue |
( |
Value const & |
root | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::writeIndent |
( |
| ) |
|
|
private |
void Json::BuiltStyledStreamWriter::writeValue |
( |
Value const & |
value | ) |
|
|
private |
void Json::BuiltStyledStreamWriter::writeWithIndent |
( |
std::string const & |
value | ) |
|
|
private |
bool Json::BuiltStyledStreamWriter::addChildValues_ |
|
private |
ChildValues Json::BuiltStyledStreamWriter::childValues_ |
|
private |
std::string Json::BuiltStyledStreamWriter::colonSymbol_ |
|
private |
std::string Json::BuiltStyledStreamWriter::endingLineFeedSymbol_ |
|
private |
std::string Json::BuiltStyledStreamWriter::indentation_ |
|
private |
bool Json::BuiltStyledStreamWriter::indented_ |
|
private |
std::string Json::BuiltStyledStreamWriter::indentString_ |
|
private |
std::string Json::BuiltStyledStreamWriter::nullSymbol_ |
|
private |
int Json::BuiltStyledStreamWriter::rightMargin_ |
|
private |
The documentation for this struct was generated from the following file: