LoveBrains  1.0.0
Public Member Functions | List of all members
Json::BuiltStyledStreamWriter Struct Reference
Inheritance diagram for Json::BuiltStyledStreamWriter:
Json::StreamWriter

Public Member Functions

 BuiltStyledStreamWriter (std::string const &indentation, CommentStyle::Enum cs, std::string const &colonSymbol, std::string const &nullSymbol, std::string const &endingLineFeedSymbol)
 
virtual int write (Value const &root, std::ostream *sout)
 

Additional Inherited Members

- Protected Attributes inherited from Json::StreamWriter
std::ostream * sout_
 

Member Function Documentation

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::exceptionpossibly, depending on configuration

Implements Json::StreamWriter.


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