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

267 lines
14 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::WriterObject 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_1WriterObject.html">WriterObject</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classJson_1_1WriterObject-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Json::WriterObject Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>An <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> that contains its own <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_1WriterObject.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for Json::WriterObject:</div>
<div class="dyncontent">
<div class="center"><img src="classJson_1_1WriterObject__coll__graph.png" border="0" usemap="#Json_1_1WriterObject_coll__map" alt="Collaboration graph"/></div>
<map name="Json_1_1WriterObject_coll__map" id="Json_1_1WriterObject_coll__map">
<area shape="rect" title="An Object that contains its own Writer." alt="" coords="2572,50,2711,77"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1771,13,1932,55"/>
<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="classJson_1_1Collection.html" title=" " alt="" coords="1624,109,1747,135"/>
<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"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="2311,72,2472,113"/>
<area shape="rect" href="classJson_1_1Object_1_1Root.html" title=" " alt="" coords="2104,83,2240,110"/>
<area shape="rect" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer." alt="" coords="1956,89,2055,115"/>
</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="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7cedadaab4b164dfa4ae341b6df5476f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1WriterObject.html#a7cedadaab4b164dfa4ae341b6df5476f">WriterObject</a> (<a class="el" href="namespaceJson.html#a599350ce83e1407d622c154eb32e763d">Output</a> const &amp;output)</td></tr>
<tr class="separator:a7cedadaab4b164dfa4ae341b6df5476f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4acc7af40411de009211c8f682cae135"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1WriterObject.html#a4acc7af40411de009211c8f682cae135">WriterObject</a> (<a class="el" href="classJson_1_1WriterObject.html">WriterObject</a> &amp;&amp;other)=default</td></tr>
<tr class="separator:a4acc7af40411de009211c8f682cae135"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fbf4b19b9ed63185337eca237396929"><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_1WriterObject.html#a0fbf4b19b9ed63185337eca237396929">operator-&gt;</a> ()</td></tr>
<tr class="separator:a0fbf4b19b9ed63185337eca237396929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa89dfc0af4145efc17ff2792b76d9822"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classJson_1_1Object.html">Object</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1WriterObject.html#aa89dfc0af4145efc17ff2792b76d9822">operator*</a> ()</td></tr>
<tr class="separator:aa89dfc0af4145efc17ff2792b76d9822"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a1374a80b0ad92192713fd3764a378eb4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classJson_1_1Writer.html">Writer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1WriterObject.html#a1374a80b0ad92192713fd3764a378eb4">writer_</a></td></tr>
<tr class="separator:a1374a80b0ad92192713fd3764a378eb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98ea31526e3c2f4650b020fd79eee6b1"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classJson_1_1WriterObject.html#a98ea31526e3c2f4650b020fd79eee6b1">object_</a></td></tr>
<tr class="separator:a98ea31526e3c2f4650b020fd79eee6b1"><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>An <a class="el" href="classJson_1_1Object.html" title="Represents a JSON object being written to a Writer.">Object</a> that contains its own <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#l00333">333</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="a7cedadaab4b164dfa4ae341b6df5476f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cedadaab4b164dfa4ae341b6df5476f">&#9670;&nbsp;</a></span>WriterObject() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Json::WriterObject::WriterObject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceJson.html#a599350ce83e1407d622c154eb32e763d">Output</a> const &amp;&#160;</td>
<td class="paramname"><em>output</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00336">336</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="a4acc7af40411de009211c8f682cae135"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4acc7af40411de009211c8f682cae135">&#9670;&nbsp;</a></span>WriterObject() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Json::WriterObject::WriterObject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classJson_1_1WriterObject.html">WriterObject</a> &amp;&amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0fbf4b19b9ed63185337eca237396929"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fbf4b19b9ed63185337eca237396929">&#9670;&nbsp;</a></span>operator-&gt;()</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::WriterObject::operator-&gt; </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_8h_source.html#l00345">345</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="aa89dfc0af4145efc17ff2792b76d9822"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa89dfc0af4145efc17ff2792b76d9822">&#9670;&nbsp;</a></span>operator*()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJson_1_1Object.html">Object</a>&amp; Json::WriterObject::operator* </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_8h_source.html#l00351">351</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="a1374a80b0ad92192713fd3764a378eb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1374a80b0ad92192713fd3764a378eb4">&#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="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classJson_1_1Writer.html">Writer</a>&gt; Json::WriterObject::writer_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00357">357</a> of file <a class="el" href="Object_8h_source.html">Object.h</a>.</p>
</div>
</div>
<a id="a98ea31526e3c2f4650b020fd79eee6b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98ea31526e3c2f4650b020fd79eee6b1">&#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"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt;<a class="el" href="classJson_1_1Object_1_1Root.html">Object::Root</a>&gt; Json::WriterObject::object_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Object_8h_source.html#l00358">358</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>