<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_char_reader.html">CharReader</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="class_json_1_1_char_reader-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Json::CharReader Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Interface for reading JSON from a char array. <a href="class_json_1_1_char_reader.html#details">More...</a></p> <p><code>#include <<a class="el" href="reader_8h_source.html">/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/reader.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::CharReader:</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_char_reader__inherit__graph.png" border="0" usemap="#_json_1_1_char_reader_inherit__map" alt="Inheritance graph"/></div> <map name="_json_1_1_char_reader_inherit__map" id="_json_1_1_char_reader_inherit__map"> </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::CharReader:</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_char_reader__coll__graph.png" border="0" usemap="#_json_1_1_char_reader_coll__map" alt="Collaboration graph"/></div> <map name="_json_1_1_char_reader_coll__map" id="_json_1_1_char_reader_coll__map"> </map> </div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> Classes</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_char_reader_1_1_factory.html">Factory</a></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> </table><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:acaa7b6ad04fe1cf2ddfca06e66550d7e"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_char_reader.html#acaa7b6ad04fe1cf2ddfca06e66550d7e">~CharReader</a> ()</td></tr> <tr class="separator:acaa7b6ad04fe1cf2ddfca06e66550d7e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a48e320be8b13bbc0960cc5808cafec98"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_json_1_1_char_reader.html#a48e320be8b13bbc0960cc5808cafec98">parse</a> (char const *beginDoc, char const *endDoc, <a class="el" href="class_json_1_1_value.html">Value</a> *root, std::string *errs)=0</td></tr> <tr class="memdesc:a48e320be8b13bbc0960cc5808cafec98"><td class="mdescLeft"> </td><td class="mdescRight">Read a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> from a <a href="http://www.json.org">JSON</a> document. <a href="#a48e320be8b13bbc0960cc5808cafec98">More...</a><br /></td></tr> <tr class="separator:a48e320be8b13bbc0960cc5808cafec98"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Interface for reading JSON from a char array. </p> <p>Definition at line <a class="el" href="reader_8h_source.html#l00247">247</a> of file <a class="el" href="reader_8h_source.html">reader.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="acaa7b6ad04fe1cf2ddfca06e66550d7e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Json::CharReader::~CharReader </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="reader_8h_source.html#l00249">249</a> of file <a class="el" href="reader_8h_source.html">reader.h</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a48e320be8b13bbc0960cc5808cafec98"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool Json::CharReader::parse </td> <td>(</td> <td class="paramtype">char const * </td> <td class="paramname"><em>beginDoc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">char const * </td> <td class="paramname"><em>endDoc</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="class_json_1_1_value.html">Value</a> * </td> <td class="paramname"><em>root</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string * </td> <td class="paramname"><em>errs</em> </td> </tr> <tr> <td></td> <td>)</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>Read a <a class="el" href="class_json_1_1_value.html" title="Represents a JSON value. ">Value</a> from a <a href="http://www.json.org">JSON</a> document. </p> <p>The document must be a UTF-8 encoded string containing the document to read.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">beginDoc</td><td>Pointer on the beginning of the UTF-8 encoded string of the document to read. </td></tr> <tr><td class="paramname">endDoc</td><td>Pointer on the end of the UTF-8 encoded string of the document to read. Must be >= beginDoc. </td></tr> <tr><td class="paramname">root</td><td>[out] Contains the root value of the document if it was successfully parsed. </td></tr> <tr><td class="paramname">errs</td><td>[out] Formatted error messages (if not NULL) a user friendly string that lists errors in the parsed document. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if the document was successfully parsed, <code>false</code> if an error occurred. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/home/iurt/rpmbuild/BUILD/jsoncpp-1.6.5/include/json/<a class="el" href="reader_8h_source.html">reader.h</a></li> </ul> </div><!-- contents --> <hr> </body> </html>