<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Orcus: orcus::json::node Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Orcus </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><b>orcus</b></li><li class="navelem"><b>json</b></li><li class="navelem"><a class="el" href="classorcus_1_1json_1_1node.html">node</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#friends">Friends</a> | <a href="classorcus_1_1json_1_1node-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">orcus::json::node Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include <<a class="el" href="json__document__tree_8hpp_source.html">json_document_tree.hpp</a>></code></p> <div class="dynheader"> Inheritance diagram for orcus::json::node:</div> <div class="dyncontent"> <div class="center"> <img src="classorcus_1_1json_1_1node.png" usemap="#orcus::json::node_map" alt=""/> <map id="orcus::json::node_map" name="orcus::json::node_map"> <area href="classorcus_1_1json_1_1const__node.html" alt="orcus::json::const_node" shape="rect" coords="0,0,144,24"/> </map> </div></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:a8bec0402bb034ad14a21c034e00d09b1"><td class="memItemLeft" align="right" valign="top"><a id="a8bec0402bb034ad14a21c034e00d09b1"></a>  </td><td class="memItemRight" valign="bottom"><b>node</b> (const <a class="el" href="classorcus_1_1json_1_1node.html">node</a> &other)</td></tr> <tr class="separator:a8bec0402bb034ad14a21c034e00d09b1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a7264840bff621c78ccd0bd75dafe9b"><td class="memItemLeft" align="right" valign="top"><a id="a6a7264840bff621c78ccd0bd75dafe9b"></a>  </td><td class="memItemRight" valign="bottom"><b>node</b> (<a class="el" href="classorcus_1_1json_1_1node.html">node</a> &&rhs)</td></tr> <tr class="separator:a6a7264840bff621c78ccd0bd75dafe9b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a51695961c008a9ffe96f9a6d8819447c"><td class="memItemLeft" align="right" valign="top"><a id="a51695961c008a9ffe96f9a6d8819447c"></a> <a class="el" href="classorcus_1_1json_1_1node.html">node</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classorcus_1_1json_1_1node.html">node</a> &other)</td></tr> <tr class="separator:a51695961c008a9ffe96f9a6d8819447c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7045b73d3bf380f12e54fde7a36d9abc"><td class="memItemLeft" align="right" valign="top"><a id="a7045b73d3bf380f12e54fde7a36d9abc"></a> <a class="el" href="classorcus_1_1json_1_1node.html">node</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classorcus_1_1json_1_1detail_1_1init_1_1node.html">detail::init::node</a> &v)</td></tr> <tr class="separator:a7045b73d3bf380f12e54fde7a36d9abc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a00434d636457be9e302325a8c80d2433"><td class="memItemLeft" align="right" valign="top"><a id="a00434d636457be9e302325a8c80d2433"></a> <a class="el" href="classorcus_1_1json_1_1node.html">node</a> </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const <a class="el" href="classorcus_1_1pstring.html">pstring</a> &<a class="el" href="classorcus_1_1json_1_1const__node.html#a135dde804951a56c701df18f1350efd0">key</a>)</td></tr> <tr class="separator:a00434d636457be9e302325a8c80d2433"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5cd1538cbb514db31114bc8cf654d1ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1node.html#a5cd1538cbb514db31114bc8cf654d1ae">child</a> (size_t index)</td></tr> <tr class="separator:a5cd1538cbb514db31114bc8cf654d1ae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac00614d0c02691969e18cabc050093ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1node.html#ac00614d0c02691969e18cabc050093ec">child</a> (const <a class="el" href="classorcus_1_1pstring.html">pstring</a> &<a class="el" href="classorcus_1_1json_1_1const__node.html#a135dde804951a56c701df18f1350efd0">key</a>)</td></tr> <tr class="separator:ac00614d0c02691969e18cabc050093ec"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6417f908a0a5d8f9af3c02a29c23018e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1node.html#a6417f908a0a5d8f9af3c02a29c23018e">parent</a> ()</td></tr> <tr class="separator:a6417f908a0a5d8f9af3c02a29c23018e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a69908506cb19bf614765f690691f08d0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1node.html#a69908506cb19bf614765f690691f08d0">push_back</a> (const <a class="el" href="classorcus_1_1json_1_1detail_1_1init_1_1node.html">detail::init::node</a> &v)</td></tr> <tr class="separator:a69908506cb19bf614765f690691f08d0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classorcus_1_1json_1_1const__node"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classorcus_1_1json_1_1const__node')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classorcus_1_1json_1_1const__node.html">orcus::json::const_node</a></td></tr> <tr class="memitem:a0bb0e824f5227b8092058db2069bb85d inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="a0bb0e824f5227b8092058db2069bb85d"></a>  </td><td class="memItemRight" valign="bottom"><b>const_node</b> (const <a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> &other)</td></tr> <tr class="separator:a0bb0e824f5227b8092058db2069bb85d inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a048b578ce4c066100bffb1fbddb69a49 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="a048b578ce4c066100bffb1fbddb69a49"></a>  </td><td class="memItemRight" valign="bottom"><b>const_node</b> (<a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> &&rhs)</td></tr> <tr class="separator:a048b578ce4c066100bffb1fbddb69a49 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a759c01f443f25a202392dbc4885281b9 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top">node_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a759c01f443f25a202392dbc4885281b9">type</a> () const</td></tr> <tr class="separator:a759c01f443f25a202392dbc4885281b9 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98afb73f0d321f5b5267d2dcb0d6578a inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a98afb73f0d321f5b5267d2dcb0d6578a">child_count</a> () const</td></tr> <tr class="separator:a98afb73f0d321f5b5267d2dcb0d6578a inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7d4785a7644c214f3d6a2f0c7b5f983 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classorcus_1_1pstring.html">pstring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#ab7d4785a7644c214f3d6a2f0c7b5f983">keys</a> () const</td></tr> <tr class="separator:ab7d4785a7644c214f3d6a2f0c7b5f983 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a135dde804951a56c701df18f1350efd0 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1pstring.html">pstring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a135dde804951a56c701df18f1350efd0">key</a> (size_t index) const</td></tr> <tr class="separator:a135dde804951a56c701df18f1350efd0 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a54aa6d8d1d9317c02b2909266a59f9c2 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a54aa6d8d1d9317c02b2909266a59f9c2">child</a> (size_t index) const</td></tr> <tr class="separator:a54aa6d8d1d9317c02b2909266a59f9c2 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abb834157882d44e0b9a305f3e717aff0 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#abb834157882d44e0b9a305f3e717aff0">child</a> (const <a class="el" href="classorcus_1_1pstring.html">pstring</a> &<a class="el" href="classorcus_1_1json_1_1const__node.html#a135dde804951a56c701df18f1350efd0">key</a>) const</td></tr> <tr class="separator:abb834157882d44e0b9a305f3e717aff0 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab99741b4a0196b6a015119a7726a3e3e inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#ab99741b4a0196b6a015119a7726a3e3e">parent</a> () const</td></tr> <tr class="separator:ab99741b4a0196b6a015119a7726a3e3e inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa641afffae54a48b05dbf3ed5f9cf15e inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorcus_1_1pstring.html">pstring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#aa641afffae54a48b05dbf3ed5f9cf15e">string_value</a> () const</td></tr> <tr class="separator:aa641afffae54a48b05dbf3ed5f9cf15e inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a740e40791d54fbd320081e695eede951 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a740e40791d54fbd320081e695eede951">numeric_value</a> () const</td></tr> <tr class="separator:a740e40791d54fbd320081e695eede951 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2a2fa71ac12796a6c76caed1ebcf81b6 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="a2a2fa71ac12796a6c76caed1ebcf81b6"></a> <a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classorcus_1_1json_1_1const__node.html">const_node</a> &other)</td></tr> <tr class="separator:a2a2fa71ac12796a6c76caed1ebcf81b6 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9e8e39f9f62f95576aa12f5496329a04 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top">uintptr_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classorcus_1_1json_1_1const__node.html#a9e8e39f9f62f95576aa12f5496329a04">identity</a> () const</td></tr> <tr class="separator:a9e8e39f9f62f95576aa12f5496329a04 inherit pub_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:abcbd49e63f506b84964eaa01e93c9c5d"><td class="memItemLeft" align="right" valign="top"><a id="abcbd49e63f506b84964eaa01e93c9c5d"></a> class </td><td class="memItemRight" valign="bottom"><b>document_tree</b></td></tr> <tr class="separator:abcbd49e63f506b84964eaa01e93c9c5d"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_methods_classorcus_1_1json_1_1const__node"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classorcus_1_1json_1_1const__node')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classorcus_1_1json_1_1const__node.html">orcus::json::const_node</a></td></tr> <tr class="memitem:a691810423391dc4bd18d9a59fef48840 inherit pro_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="a691810423391dc4bd18d9a59fef48840"></a>  </td><td class="memItemRight" valign="bottom"><b>const_node</b> (const <a class="el" href="classorcus_1_1json_1_1document__tree.html">document_tree</a> *doc, json_value *jv)</td></tr> <tr class="separator:a691810423391dc4bd18d9a59fef48840 inherit pro_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad7c5deba75bccf204baf827bdb9f56f3 inherit pro_methods_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="ad7c5deba75bccf204baf827bdb9f56f3"></a>  </td><td class="memItemRight" valign="bottom"><b>const_node</b> (std::unique_ptr< impl > &&p)</td></tr> <tr class="separator:ad7c5deba75bccf204baf827bdb9f56f3 inherit pro_methods_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classorcus_1_1json_1_1const__node"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classorcus_1_1json_1_1const__node')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classorcus_1_1json_1_1const__node.html">orcus::json::const_node</a></td></tr> <tr class="memitem:a549e05ff867538a038323585211dc33f inherit pro_attribs_classorcus_1_1json_1_1const__node"><td class="memItemLeft" align="right" valign="top"><a id="a549e05ff867538a038323585211dc33f"></a> std::unique_ptr< impl > </td><td class="memItemRight" valign="bottom"><b>mp_impl</b></td></tr> <tr class="separator:a549e05ff867538a038323585211dc33f inherit pro_attribs_classorcus_1_1json_1_1const__node"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Each node instance represents a JSON value stored in the document tree. This class allows mutable operations. </p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a5cd1538cbb514db31114bc8cf654d1ae"></a> <h2 class="memtitle"><span class="permalink"><a href="#a5cd1538cbb514db31114bc8cf654d1ae">◆ </a></span>child() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> orcus::json::node::child </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"><em>index</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get a child node by index.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">index</td><td>0-based index of a child node.</td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classorcus_1_1json_1_1document__error.html">orcus::json::document_error</a></td><td>if the node is not one of the object or array types.</td></tr> <tr><td class="paramname">std::out_of_range</td><td>if the index is equal to or greater than the number of child nodes that the node has.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>child node instance. </dd></dl> </div> </div> <a id="ac00614d0c02691969e18cabc050093ec"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac00614d0c02691969e18cabc050093ec">◆ </a></span>child() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> orcus::json::node::child </td> <td>(</td> <td class="paramtype">const <a class="el" href="classorcus_1_1pstring.html">pstring</a> & </td> <td class="paramname"><em>key</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get a child node by textural key value.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">key</td><td>textural key value to get a child node by.</td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classorcus_1_1json_1_1document__error.html">orcus::json::document_error</a></td><td>if the node is not of the object type, or the node doesn't have the specified key.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>child node instance. </dd></dl> </div> </div> <a id="a6417f908a0a5d8f9af3c02a29c23018e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6417f908a0a5d8f9af3c02a29c23018e">◆ </a></span>parent()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classorcus_1_1json_1_1node.html">node</a> orcus::json::node::parent </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Get the parent node.</p> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classorcus_1_1json_1_1document__error.html">orcus::json::document_error</a></td><td>if the node doesn't have a parent node which implies that the node is a root node.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>parent node instance. </dd></dl> </div> </div> <a id="a69908506cb19bf614765f690691f08d0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a69908506cb19bf614765f690691f08d0">◆ </a></span>push_back()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void orcus::json::node::push_back </td> <td>(</td> <td class="paramtype">const <a class="el" href="classorcus_1_1json_1_1detail_1_1init_1_1node.html">detail::init::node</a> & </td> <td class="paramname"><em>v</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Append a new node value to the end of the array.</p> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classorcus_1_1json_1_1document__error.html">orcus::json::document_error</a></td><td>if the node is not of array type. </td></tr> </table> </dd> </dl> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">v</td><td>new node value to append to the end of the array. </td></tr> </table> </dd> </dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sat Feb 9 2019 16:54:03 for Orcus by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>