Mēnsūra
Public Member Functions | List of all members
Json::BuiltStyledStreamWriter Struct Reference
Inheritance diagram for Json::BuiltStyledStreamWriter:
Json::StreamWriter

Public Member Functions

 BuiltStyledStreamWriter (JSONCPP_STRING const &indentation, CommentStyle::Enum cs, JSONCPP_STRING const &colonSymbol, JSONCPP_STRING const &nullSymbol, JSONCPP_STRING const &endingLineFeedSymbol, bool useSpecialFloats, unsigned int precision)
 
int write (Value const &root, JSONCPP_OSTREAM *sout) JSONCPP_OVERRIDE
 

Additional Inherited Members

- Protected Attributes inherited from Json::StreamWriter
JSONCPP_OSTREAM * sout_
 

Member Function Documentation

int Json::BuiltStyledStreamWriter::write ( Value const &  root,
JSONCPP_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::exceptionpossibly, depending on configuration

Implements Json::StreamWriter.


The documentation for this struct was generated from the following file: