MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / BuiltStyledStreamWriter

Method BuiltStyledStreamWriter

src/jsoncpp.cpp:4912–4931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4910 unsigned int precision_;
4911};
4912BuiltStyledStreamWriter::BuiltStyledStreamWriter(
4913 std::string const& indentation,
4914 CommentStyle::Enum cs,
4915 std::string const& colonSymbol,
4916 std::string const& nullSymbol,
4917 std::string const& endingLineFeedSymbol,
4918 bool useSpecialFloats,
4919 unsigned int precision)
4920 : rightMargin_(74)
4921 , indentation_(indentation)
4922 , cs_(cs)
4923 , colonSymbol_(colonSymbol)
4924 , nullSymbol_(nullSymbol)
4925 , endingLineFeedSymbol_(endingLineFeedSymbol)
4926 , addChildValues_(false)
4927 , indented_(false)
4928 , useSpecialFloats_(useSpecialFloats)
4929 , precision_(precision)
4930{
4931}
4932int BuiltStyledStreamWriter::write(Value const& root, std::ostream* sout)
4933{
4934 sout_ = sout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected