<html> <head> <title> JsonCpp - JSON data format manipulation library </title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table width="100%"> <tr> <td width="40%" align="left" valign="center"> <a href="https://github.com/open-source-parsers/jsoncpp"> JsonCpp project page </a> </td> <td width="40%" align="right" valign="center"> <a href="http://open-source-parsers.github.io/jsoncpp-docs/doxygen/">JsonCpp home page</a> </td> </tr> </table> <hr> <!-- Generated by Doxygen 1.8.8 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespace_json.html">Json</a></li><li class="navelem"><a class="el" href="class_json_1_1_writer.html">Writer</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="class_json_1_1_writer-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Json::Writer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Abstract class for writers. <a href="class_json_1_1_writer.html#details">More...</a></p> <p><code>#include <<a class="el" href="writer_8h_source.html">/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/writer.h</a>></code></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for Json::Writer:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"><img src="class_json_1_1_writer__inherit__graph.png" border="0" usemap="#_json_1_1_writer_inherit__map" alt="Inheritance graph"/></div> <map name="_json_1_1_writer_inherit__map" id="_json_1_1_writer_inherit__map"> <area shape="rect" id="node2" href="class_json_1_1_fast_writer.html" title="Outputs a Value in JSON format without formatting (not human friendly). " alt="" coords="5,145,297,296"/><area shape="rect" id="node3" href="class_json_1_1_styled_writer.html" title="Writes a Value in JSON format in a human friendly way. " alt="" coords="322,167,525,274"/></map> </div> <div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Collaboration diagram for Json::Writer:</div> <div id="dynsection-1-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-1-content" class="dyncontent" style="display:none;"> <div class="center"><img src="class_json_1_1_writer__coll__graph.png" border="0" usemap="#_json_1_1_writer_coll__map" alt="Collaboration graph"/></div> <map name="_json_1_1_writer_coll__map" id="_json_1_1_writer_coll__map"> </map> </div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3e618564336f26b14921f0d840db668c"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_writer.html#a3e618564336f26b14921f0d840db668c">~Writer</a> ()</td></tr> <tr class="separator:a3e618564336f26b14921f0d840db668c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7b2273a4ffd6f32b369ac8a53b7b5a0d"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_writer.html#a7b2273a4ffd6f32b369ac8a53b7b5a0d">write</a> (const <a class="el" href="class_json_1_1_value.html">Value</a> &root)=0</td></tr> <tr class="separator:a7b2273a4ffd6f32b369ac8a53b7b5a0d"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Abstract class for writers. </p> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>Use <a class="el" href="class_json_1_1_stream_writer.html" title="Usage: ">StreamWriter</a>. (And really, this is an implementation detail.) </dd></dl> <p>Definition at line <a class="el" href="writer_8h_source.html#l00137">137</a> of file <a class="el" href="writer_8h_source.html">writer.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a3e618564336f26b14921f0d840db668c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Json::Writer::~Writer </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="json__writer_8cpp_source.html#l00289">289</a> of file <a class="el" href="json__writer_8cpp_source.html">json_writer.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a7b2273a4ffd6f32b369ac8a53b7b5a0d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual std::string Json::Writer::write </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_json_1_1_value.html">Value</a> & </td> <td class="paramname"><em>root</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Implemented in <a class="el" href="class_json_1_1_styled_writer.html#a56f0fd80f60272b3f3c85690aae66e7d">Json::StyledWriter</a>, and <a class="el" href="class_json_1_1_fast_writer.html#aa66218a56447222f91d64db618935a19">Json::FastWriter</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li>/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/<a class="el" href="writer_8h_source.html">writer.h</a></li> <li>/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/src/lib_json/<a class="el" href="json__writer_8cpp_source.html">json_writer.cpp</a></li> </ul> </div><!-- contents --> <hr> </body> </html>