mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
441 lines
24 KiB
HTML
441 lines
24 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" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: Json::Collection 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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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_1Collection.html">Collection</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="classJson_1_1Collection-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">Json::Collection Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="Object_8h_source.html">Object.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for Json::Collection:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJson_1_1Collection__inherit__graph.png" border="0" usemap="#aJson_1_1Collection_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="aJson_1_1Collection_inherit__map" id="aJson_1_1Collection_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="50,5,173,31"/>
|
|
<area shape="rect" href="classJson_1_1Array.html" title="Represents a JSON array being written to a Writer." alt="" coords="5,79,97,104"/>
|
|
<area shape="poly" title=" " alt="" coords="95,43,63,80,59,77,91,40"/>
|
|
<area shape="rect" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer." alt="" coords="122,79,221,104"/>
|
|
<area shape="poly" title=" " alt="" coords="132,40,164,77,160,80,128,43"/>
|
|
<area shape="rect" href="classJson_1_1Object_1_1Root.html" title=" " alt="" coords="103,152,240,177"/>
|
|
<area shape="poly" title=" " alt="" coords="174,118,174,152,169,152,169,118"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for Json::Collection:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classJson_1_1Collection__coll__graph.png" border="0" usemap="#aJson_1_1Collection_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="aJson_1_1Collection_coll__map" id="aJson_1_1Collection_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="1811,56,1933,81"/>
|
|
<area shape="poly" title=" " alt="" coords="1850,41,1857,33,1872,29,1885,32,1893,38,1895,48,1891,57,1886,55,1890,47,1889,41,1883,37,1872,35,1859,37,1854,44"/>
|
|
<area shape="rect" href="classJson_1_1Writer.html" title="Writer implements an O(1)-space, O(1)-granular output JSON writer." alt="" coords="1616,56,1713,81"/>
|
|
<area shape="poly" title=" " alt="" coords="1727,66,1811,66,1811,71,1727,71"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1365,49,1527,89"/>
|
|
<area shape="poly" title=" " alt="" coords="1541,66,1616,66,1616,71,1541,71"/>
|
|
<area shape="rect" href="classJson_1_1Writer_1_1Impl.html" title=" " alt="" coords="1160,56,1295,81"/>
|
|
<area shape="poly" title=" " alt="" coords="1309,66,1365,66,1365,71,1309,71"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/functional/function.html" title=" " alt="" coords="880,5,1032,60"/>
|
|
<area shape="poly" title=" " alt="" coords="1046,42,1160,57,1159,62,1045,47"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/stack.html" title=" " alt="" coords="853,85,1059,125"/>
|
|
<area shape="poly" title=" " alt="" coords="1072,87,1159,75,1160,80,1073,92"/>
|
|
<area shape="rect" href="structJson_1_1Writer_1_1Impl_1_1Collection.html" title=" " alt="" coords="609,85,744,125"/>
|
|
<area shape="poly" title=" " alt="" coords="758,102,853,102,853,107,758,107"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="363,92,528,117"/>
|
|
<area shape="poly" title=" " alt="" coords="542,102,609,102,609,107,542,107"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="193,92,280,117"/>
|
|
<area shape="poly" title=" " alt="" coords="294,102,362,102,362,107,294,107"/>
|
|
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="5,85,144,125"/>
|
|
<area shape="poly" title=" " alt="" coords="157,102,193,102,193,107,157,107"/>
|
|
</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 id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ad769dd5fbf8e989ef8f100ea6adb2708" id="r_ad769dd5fbf8e989ef8f100ea6adb2708"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#ad769dd5fbf8e989ef8f100ea6adb2708">Collection</a> (<a class="el" href="classJson_1_1Collection.html">Collection</a> &&c) noexcept</td></tr>
|
|
<tr class="separator:ad769dd5fbf8e989ef8f100ea6adb2708"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a304c4cb9226a58c7dacca6b3a9e8a8bd" id="r_a304c4cb9226a58c7dacca6b3a9e8a8bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Collection.html">Collection</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a304c4cb9226a58c7dacca6b3a9e8a8bd">operator=</a> (<a class="el" href="classJson_1_1Collection.html">Collection</a> &&c) noexcept</td></tr>
|
|
<tr class="separator:a304c4cb9226a58c7dacca6b3a9e8a8bd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7ebad930323fa18f9994029f1af89160" id="r_a7ebad930323fa18f9994029f1af89160"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a7ebad930323fa18f9994029f1af89160">Collection</a> ()=delete</td></tr>
|
|
<tr class="separator:a7ebad930323fa18f9994029f1af89160"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a54de0edaf508180104c8f9f7cb210ced" id="r_a54de0edaf508180104c8f9f7cb210ced"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a54de0edaf508180104c8f9f7cb210ced">~Collection</a> ()</td></tr>
|
|
<tr class="separator:a54de0edaf508180104c8f9f7cb210ced"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a0f68ede831dfce3032a4ea0384d26cba" id="r_a0f68ede831dfce3032a4ea0384d26cba"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1Collection.html#a0f68ede831dfce3032a4ea0384d26cba">Collection</a> (<a class="el" href="classJson_1_1Collection.html">Collection</a> *parent, <a class="el" href="classJson_1_1Writer.html">Writer</a> *)</td></tr>
|
|
<tr class="separator:a0f68ede831dfce3032a4ea0384d26cba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0c4b58dbc6c76248308be17c9cea9b5f" id="r_a0c4b58dbc6c76248308be17c9cea9b5f"><td class="memItemLeft" align="right" valign="top">void </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 &label)</td></tr>
|
|
<tr class="separator:a0c4b58dbc6c76248308be17c9cea9b5f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:aa080ade82d895603676310f557be2292" id="r_aa080ade82d895603676310f557be2292"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Collection.html">Collection</a> * </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"> </td></tr>
|
|
<tr class="memitem:ad6d09f73ffd54fa241b315edc49e0ff2" id="r_ad6d09f73ffd54fa241b315edc49e0ff2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Writer.html">Writer</a> * </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"> </td></tr>
|
|
<tr class="memitem:a226a6aa7bbd989a9f75d6e5afca184a3" id="r_a226a6aa7bbd989a9f75d6e5afca184a3"><td class="memItemLeft" align="right" valign="top">bool </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"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><pre class="fragment">Collection is a base class for Array and Object, classes which provide the
|
|
facade of JSON collections for the O(1) JSON writer, while still using no
|
|
heap memory and only a very small amount of stack.
|
|
|
|
From http://json.org, JSON has two types of collection: array, and object.
|
|
Everything else is a *scalar* - a number, a string, a boolean, the special
|
|
value null, or a legacy Json::Value.
|
|
|
|
Collections must write JSON "as-it-goes" in order to get the strong
|
|
performance guarantees. This puts restrictions upon API users:
|
|
|
|
1. Only one collection can be open for change at any one time.
|
|
|
|
This condition is enforced automatically and a std::logic_error thrown if
|
|
</pre><p> it is violated.</p>
|
|
<ol type="1">
|
|
<li><p class="startli">A tag may only be used once in an <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a>.</p>
|
|
<p class="startli">Some objects have many tags, so this condition might be a little expensive. Enforcement of this condition is turned on in debug builds and a <a class="elRef" href="http://en.cppreference.com/w/cpp/error/logic_error.html">std::logic_error</a> is thrown when the tag is added for a second time.</p>
|
|
</li>
|
|
</ol>
|
|
<p>Code samples: </p><pre class="fragment">Writer writer;
|
|
</pre><p> An empty object. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> (writer); } Outputs {}</p>
|
|
<p>An object with one scalar value. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> root (writer); write["hello"] = "world"; } Outputs {"hello":"world"}</p>
|
|
<p>Same, using chaining. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> (writer)["hello"] = "world"; } Output is the same.</p>
|
|
<p>Add several scalars, with chaining. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> (writer) .set ("hello", "world") .set ("flag", false) .set ("x", 42); } Outputs {"hello":"world","flag":false,"x":42}</p>
|
|
<p>Add an array. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> root (writer); { auto array = root.setArray ("hands"); array.append ("left"); array.append ("right"); } } Outputs {"hands":["left", "right"]}</p>
|
|
<p>Same, using chaining. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> (writer) .setArray ("hands") .append ("left") .append ("right"); } Output is the same.</p>
|
|
<p>Add an object. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> root (writer); { auto object = root.setObject ("hands"); object["left"] = false; object["right"] = true; } } Outputs {"hands":{"left":false,"right":true}}</p>
|
|
<p>Same, using chaining. { <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> (writer) .setObject ("hands") .set ("left", false) .set ("right", true); } } Outputs {"hands":{"left":false,"right":true}}</p>
|
|
<p>Typical ways to make mistakes and get a <a class="elRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::logic_error:</a> </p><pre class="fragment"> Writer writer;
|
|
Object::Root root (writer);
|
|
</pre><p> Repeat a tag. { root ["hello"] = "world"; root ["hello"] = "there"; // THROWS! in a debug build. }</p>
|
|
<p>Open a subcollection, then set something else. { auto object = root.setObject ("foo"); root ["hello"] = "world"; // THROWS! }</p>
|
|
<p>Open two subcollections at a time. { auto object = root.setObject ("foo"); auto array = root.setArray ("bar"); // THROWS!! }</p>
|
|
<p>For more examples, check the unit tests. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00133">133</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
|
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ad769dd5fbf8e989ef8f100ea6adb2708" name="ad769dd5fbf8e989ef8f100ea6adb2708"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad769dd5fbf8e989ef8f100ea6adb2708">◆ </a></span>Collection() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Json::Collection::Collection </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Collection.html">Collection</a> && </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00046">46</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7ebad930323fa18f9994029f1af89160" name="a7ebad930323fa18f9994029f1af89160"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7ebad930323fa18f9994029f1af89160">◆ </a></span>Collection() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Json::Collection::Collection </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a54de0edaf508180104c8f9f7cb210ced" name="a54de0edaf508180104c8f9f7cb210ced"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a54de0edaf508180104c8f9f7cb210ced">◆ </a></span>~Collection()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Json::Collection::~Collection </td>
|
|
<td>(</td>
|
|
<td class="paramname"></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#l00024">24</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0f68ede831dfce3032a4ea0384d26cba" name="a0f68ede831dfce3032a4ea0384d26cba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0f68ede831dfce3032a4ea0384d26cba">◆ </a></span>Collection() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Json::Collection::Collection </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Collection.html">Collection</a> * </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> * </td>
|
|
<td class="paramname"><em>writer</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">protected</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00013">13</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a304c4cb9226a58c7dacca6b3a9e8a8bd" name="a304c4cb9226a58c7dacca6b3a9e8a8bd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a304c4cb9226a58c7dacca6b3a9e8a8bd">◆ </a></span>operator=()</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::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classJson_1_1Collection.html">Collection</a> && </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00033">33</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0c4b58dbc6c76248308be17c9cea9b5f" name="a0c4b58dbc6c76248308be17c9cea9b5f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0c4b58dbc6c76248308be17c9cea9b5f">◆ </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 & </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> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8cpp_source.html#l00052">52</a> of file <a class="el" href="Object_8cpp_source.html">Object.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="aa080ade82d895603676310f557be2292" name="aa080ade82d895603676310f557be2292"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa080ade82d895603676310f557be2292">◆ </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> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00150">150</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad6d09f73ffd54fa241b315edc49e0ff2" name="ad6d09f73ffd54fa241b315edc49e0ff2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad6d09f73ffd54fa241b315edc49e0ff2">◆ </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> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00151">151</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a226a6aa7bbd989a9f75d6e5afca184a3" name="a226a6aa7bbd989a9f75d6e5afca184a3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a226a6aa7bbd989a9f75d6e5afca184a3">◆ </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> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00152">152</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 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|