Files
rippled/classJson_1_1Object.html
2020-04-24 01:09:47 +00:00

490 lines
28 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: Json::Object 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">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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"><a class="el" href="namespaceJson.html">Json</a></li><li class="navelem"><a class="el" href="classJson_1_1Object.html">Object</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classJson_1_1Object-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Json::Object Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Represents a JSON object being written to a <a class="el" href="classJson_1_1Writer.html" title="Writer implements an O(1)-space, O(1)-granular output JSON writer.">Writer</a>.
<a href="classJson_1_1Object.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Json::Object:</div>
<div class="dyncontent">
<div class="center"><img src="classJson_1_1Object__inherit__graph.png" border="0" usemap="#Json_1_1Object_inherit__map" alt="Inheritance graph"/></div>
<map name="Json_1_1Object_inherit__map" id="Json_1_1Object_inherit__map">
<area shape="rect" title="Represents a JSON object being written to a Writer." alt="" coords="24,80,123,107"/>
<area shape="rect" href="classJson_1_1Object_1_1Root.html" title=" " alt="" coords="5,155,141,181"/>
<area shape="rect" href="classJson_1_1Collection.html" title=" " alt="" coords="12,5,135,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Json::Object:</div>
<div class="dyncontent">
<div class="center"><img src="classJson_1_1Object__coll__graph.png" border="0" usemap="#Json_1_1Object_coll__map" alt="Collaboration graph"/></div>
<map name="Json_1_1Object_coll__map" id="Json_1_1Object_coll__map">
<area shape="rect" title="Represents a JSON object being written to a Writer." alt="" coords="1796,63,1895,90"/>
<area shape="rect" href="classJson_1_1Collection.html" title=" " alt="" coords="1624,63,1747,90"/>
<area shape="rect" href="classJson_1_1Writer.html" title="Writer implements an O(1)&#45;space, O(1)&#45;granular output JSON writer." alt="" coords="1431,63,1527,90"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1180,56,1341,97"/>
<area shape="rect" href="classJson_1_1Writer_1_1Impl.html" title=" " alt="" coords="976,63,1109,90"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/stack.html" title=" " alt="" coords="669,5,875,47"/>
<area shape="rect" href="structJson_1_1Writer_1_1Impl_1_1Collection.html" title=" " alt="" coords="423,5,556,47"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="176,13,341,39"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="5,13,92,39"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/functional/function.html" title=" " alt="" coords="696,71,848,127"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object_1_1Proxy.html">Proxy</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object_1_1Root.html">Root</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</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:a9c38a8e526a41010aa557c9ecd8322b3"><td class="memTemplParams" colspan="2">template&lt;typename Scalar &gt; </td></tr>
<tr class="memitem:a9c38a8e526a41010aa557c9ecd8322b3"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#a9c38a8e526a41010aa557c9ecd8322b3">set</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;key, Scalar const &amp;)</td></tr>
<tr class="memdesc:a9c38a8e526a41010aa557c9ecd8322b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a scalar value in the <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> for a key. <a href="classJson_1_1Object.html#a9c38a8e526a41010aa557c9ecd8322b3">More...</a><br /></td></tr>
<tr class="separator:a9c38a8e526a41010aa557c9ecd8322b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0639564a91f4d66db313aa8d7ac86db"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#af0639564a91f4d66db313aa8d7ac86db">set</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;key, <a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;)</td></tr>
<tr class="separator:af0639564a91f4d66db313aa8d7ac86db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a790f2b13624edf0ed3d7cd1baad420e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Object_1_1Proxy.html">Proxy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#a790f2b13624edf0ed3d7cd1baad420e1">operator[]</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;key)</td></tr>
<tr class="separator:a790f2b13624edf0ed3d7cd1baad420e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a004a8dd179b6c8cb7421a9d8984f0777"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Object_1_1Proxy.html">Proxy</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#a004a8dd179b6c8cb7421a9d8984f0777">operator[]</a> (<a class="el" href="classJson_1_1StaticString.html">Json::StaticString</a> const &amp;key)</td></tr>
<tr class="separator:a004a8dd179b6c8cb7421a9d8984f0777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa44f4a8f6680625db5982cb0907a1f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Object.html">Object</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#afa44f4a8f6680625db5982cb0907a1f6">setObject</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;key)</td></tr>
<tr class="memdesc:afa44f4a8f6680625db5982cb0907a1f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a new <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> at a key and return it. <a href="classJson_1_1Object.html#afa44f4a8f6680625db5982cb0907a1f6">More...</a><br /></td></tr>
<tr class="separator:afa44f4a8f6680625db5982cb0907a1f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6da5e9dfc73bf7ac0756ab640435274"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Array.html">Array</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#af6da5e9dfc73bf7ac0756ab640435274">setArray</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;key)</td></tr>
<tr class="memdesc:af6da5e9dfc73bf7ac0756ab640435274"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make a new <a class="el" href="classJson_1_1Array.html" title="Represents a JSON array being written to a Writer.">Array</a> at a key and return it. <a href="classJson_1_1Object.html#af6da5e9dfc73bf7ac0756ab640435274">More...</a><br /></td></tr>
<tr class="separator:af6da5e9dfc73bf7ac0756ab640435274"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7f6a4a47bf77f25a088879e5e4dbf543"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#a7f6a4a47bf77f25a088879e5e4dbf543">Object</a> (<a class="el" href="classJson_1_1Collection.html">Collection</a> *parent, <a class="el" href="classJson_1_1Writer.html">Writer</a> *w)</td></tr>
<tr class="separator:a7f6a4a47bf77f25a088879e5e4dbf543"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c4b58dbc6c76248308be17c9cea9b5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a0c4b58dbc6c76248308be17c9cea9b5f">checkWritable</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;label)</td></tr>
<tr class="separator:a0c4b58dbc6c76248308be17c9cea9b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aa080ade82d895603676310f557be2292"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Collection.html">Collection</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#aa080ade82d895603676310f557be2292">parent_</a></td></tr>
<tr class="separator:aa080ade82d895603676310f557be2292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6d09f73ffd54fa241b315edc49e0ff2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Writer.html">Writer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#ad6d09f73ffd54fa241b315edc49e0ff2">writer_</a></td></tr>
<tr class="separator:ad6d09f73ffd54fa241b315edc49e0ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a226a6aa7bbd989a9f75d6e5afca184a3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a226a6aa7bbd989a9f75d6e5afca184a3">enabled_</a></td></tr>
<tr class="separator:a226a6aa7bbd989a9f75d6e5afca184a3"><td class="memSeparator" colspan="2">&#160;</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:ae5050cd67e450419cf638e2a09bf11c9"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Object.html#ae5050cd67e450419cf638e2a09bf11c9">Array</a></td></tr>
<tr class="separator:ae5050cd67e450419cf638e2a09bf11c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Represents a JSON object being written to a <a class="el" href="classJson_1_1Writer.html" title="Writer implements an O(1)-space, O(1)-granular output JSON writer.">Writer</a>. </p>
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00178">178</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7f6a4a47bf77f25a088879e5e4dbf543"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f6a4a47bf77f25a088879e5e4dbf543">&#9670;&nbsp;</a></span>Object()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Json::Object::Object </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classJson_1_1Collection.html">Collection</a> *&#160;</td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJson_1_1Writer.html">Writer</a> *&#160;</td>
<td class="paramname"><em>w</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00230">230</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9c38a8e526a41010aa557c9ecd8322b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c38a8e526a41010aa557c9ecd8322b3">&#9670;&nbsp;</a></span>set() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Scalar &gt; </div>
<table class="memname">
<tr>
<td class="memname">void Json::Object::set </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Scalar const &amp;&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set a scalar value in the <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> for a key. </p>
<p>A JSON scalar is a single value - a number, string, boolean, nullptr or a <a class="el" href="classJson_1_1Value.html" title="Represents a JSON value.">Json::Value</a>.</p>
<p><code><a class="el" href="classJson_1_1Object.html#a9c38a8e526a41010aa557c9ecd8322b3" title="Set a scalar value in the Object for a key.">set()</a></code> throws an exception if this object is disabled (which means that one of its children is enabled).</p>
<p>In a debug build, <code><a class="el" href="classJson_1_1Object.html#a9c38a8e526a41010aa557c9ecd8322b3" title="Set a scalar value in the Object for a key.">set()</a></code> also throws an exception if the key has already been <a class="el" href="classJson_1_1Object.html#a9c38a8e526a41010aa557c9ecd8322b3" title="Set a scalar value in the Object for a key.">set()</a> before.</p>
<p>An operator[] is provided to allow writing <code>object["key"] = scalar;</code>. </p>
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00406">406</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="af0639564a91f4d66db313aa8d7ac86db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0639564a91f4d66db313aa8d7ac86db">&#9670;&nbsp;</a></span>set() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Json::Object::set </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJson_1_1Value.html">Json::Value</a> const &amp;&#160;</td>
<td class="paramname"><em>v</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00175">175</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<a id="a790f2b13624edf0ed3d7cd1baad420e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a790f2b13624edf0ed3d7cd1baad420e1">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Object_1_1Proxy.html">Object::Proxy</a> Json::Object::operator[] </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00126">126</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<a id="a004a8dd179b6c8cb7421a9d8984f0777"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a004a8dd179b6c8cb7421a9d8984f0777">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Object_1_1Proxy.html">Object::Proxy</a> Json::Object::operator[] </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classJson_1_1StaticString.html">Json::StaticString</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00132">132</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<a id="afa44f4a8f6680625db5982cb0907a1f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa44f4a8f6680625db5982cb0907a1f6">&#9670;&nbsp;</a></span>setObject()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Object.html">Object</a> Json::Object::setObject </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Make a new <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> at a key and return it. </p>
<p>This <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> is disabled until that sub-object is destroyed. Throws an exception if this <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> was already disabled. </p>
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00081">81</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<a id="af6da5e9dfc73bf7ac0756ab640435274"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6da5e9dfc73bf7ac0756ab640435274">&#9670;&nbsp;</a></span>setArray()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Array.html">Array</a> Json::Object::setArray </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>key</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Make a new <a class="el" href="classJson_1_1Array.html" title="Represents a JSON array being written to a Writer.">Array</a> at a key and return it. </p>
<p>This <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> is disabled until that sub-array is destroyed. Throws an exception if this <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> was already disabled. </p>
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00090">90</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<a id="a0c4b58dbc6c76248308be17c9cea9b5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c4b58dbc6c76248308be17c9cea9b5f">&#9670;&nbsp;</a></span>checkWritable()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Json::Collection::checkWritable </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>label</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00065">65</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ae5050cd67e450419cf638e2a09bf11c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5050cd67e450419cf638e2a09bf11c9">&#9670;&nbsp;</a></span>Array</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">friend class <a class="el" href="classJson_1_1Array.html">Array</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00229">229</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa080ade82d895603676310f557be2292"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa080ade82d895603676310f557be2292">&#9670;&nbsp;</a></span>parent_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Collection.html">Collection</a>* Json::Collection::parent_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00168">168</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="ad6d09f73ffd54fa241b315edc49e0ff2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6d09f73ffd54fa241b315edc49e0ff2">&#9670;&nbsp;</a></span>writer_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Writer.html">Writer</a>* Json::Collection::writer_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00169">169</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="a226a6aa7bbd989a9f75d6e5afca184a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a226a6aa7bbd989a9f75d6e5afca184a3">&#9670;&nbsp;</a></span>enabled_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Json::Collection::enabled_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00170">170</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>