update docs, writeString()

This commit is contained in:
Christopher Dunn
2015-02-09 15:25:57 -06:00
parent 732abb80ef
commit 694dbcb328
4 changed files with 30 additions and 28 deletions

View File

@@ -69,8 +69,10 @@ public:
}; // Factory
}; // StreamWriter
/// \brief Write into stringstream, then return string, for convenience.
std::string writeString(Value const& root, StreamWriter::Factory const& factory);
/** \brief Write into stringstream, then return string, for convenience.
* A StreamWriter will be created from the factory, used, and then deleted.
*/
std::string writeString(StreamWriter::Factory const& factory, Value const& root);
/** \brief Build a StreamWriter implementation.