mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
deploy: afc05659ed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<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.5"/>
|
||||
<meta name="generator" content="Doxygen 1.9.8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>rippled: Writer.h Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
@@ -29,7 +29,7 @@
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.5 -->
|
||||
<!-- 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');
|
||||
@@ -46,6 +46,11 @@ $(function() {
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function() { init_codefold(0); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
@@ -107,6 +112,7 @@ $(function() {
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceJson.html">Json</a> {</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
<div class="foldopen" id="foldopen00127" data-start="{" data-end="};">
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="classJson_1_1Writer.html"> 127</a></span><span class="keyword">class </span><a class="code hl_class" href="classJson_1_1Writer.html">Writer</a></div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span>{</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="keyword">public</span>:</div>
|
||||
@@ -134,22 +140,26 @@ $(function() {
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> </div>
|
||||
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span> template <typename Scalar></div>
|
||||
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00165" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"><a class="line" href="classJson_1_1Writer.html#a6c73093b8d25dddd91cc7dfe17f15e41"> 165</a></span> <a class="code hl_function" href="classJson_1_1Writer.html#a6c73093b8d25dddd91cc7dfe17f15e41">append</a>(Scalar t)</div>
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> {</div>
|
||||
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> <a class="code hl_function" href="classJson_1_1Writer.html#a8050044a6c3fde61c81638003985aa32">rawAppend</a>();</div>
|
||||
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <a class="code hl_function" href="classJson_1_1Writer.html#a39e680e1156fee4197b490bd0c0d482c">output</a>(t);</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> <a class="code hl_function" href="classJson_1_1Writer.html#a8050044a6c3fde61c81638003985aa32">rawAppend</a>();</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> </div>
|
||||
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Type></div>
|
||||
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00189" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"><a class="line" href="classJson_1_1Writer.html#ad23aadb7be38f05e022c13671eab8aec"> 189</a></span> <a class="code hl_function" href="classJson_1_1Writer.html#ad23aadb7be38f05e022c13671eab8aec">set</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& tag, Type t)</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> {</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <a class="code hl_function" href="classJson_1_1Writer.html#a93f9d9a1ec0fc321124e66553f051a40">rawSet</a>(tag);</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <a class="code hl_function" href="classJson_1_1Writer.html#a39e680e1156fee4197b490bd0c0d482c">output</a>(t);</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <a class="code hl_function" href="classJson_1_1Writer.html#a93f9d9a1ec0fc321124e66553f051a40">rawSet</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& key);</div>
|
||||
@@ -182,16 +192,20 @@ $(function() {
|
||||
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
|
||||
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Type></div>
|
||||
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00233" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="classJson_1_1Writer.html#a4b264fd0c8dac93009aad9d4e435dd2b"> 233</a></span> <a class="code hl_function" href="classJson_1_1Writer.html#a4b264fd0c8dac93009aad9d4e435dd2b">output</a>(Type t)</div>
|
||||
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> {</div>
|
||||
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <a class="code hl_function" href="classJson_1_1Writer.html#a453fcd63b282b03f1727cad7c0a45933">implOutput</a>(<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a>(t));</div>
|
||||
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
|
||||
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00239" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classJson_1_1Writer.html#af5900c85b9d885ae183e95ea45f888f5"> 239</a></span> <a class="code hl_function" href="classJson_1_1Writer.html#af5900c85b9d885ae183e95ea45f888f5">output</a>(<a class="code hl_class" href="classJson_1_1StaticString.html">Json::StaticString</a> <span class="keyword">const</span>& t)</div>
|
||||
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> {</div>
|
||||
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <a class="code hl_function" href="classJson_1_1Writer.html#a39e680e1156fee4197b490bd0c0d482c">output</a>(t.<a class="code hl_function" href="classJson_1_1StaticString.html#a057d6d159f7f7ec51950d3a820dcf19a">c_str</a>());</div>
|
||||
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span> }</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> </div>
|
||||
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> <span class="keyword">class </span>Impl;</div>
|
||||
@@ -200,42 +214,45 @@ $(function() {
|
||||
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span> <a class="code hl_function" href="classJson_1_1Writer.html#a453fcd63b282b03f1727cad7c0a45933">implOutput</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span>};</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span> </div>
|
||||
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="keyword">inline</span> <span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00253" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc"> 253</a></span><a class="code hl_function" href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">check</a>(<span class="keywordtype">bool</span> condition, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>& message)</div>
|
||||
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span>{</div>
|
||||
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span> <span class="keywordflow">if</span> (!condition)</div>
|
||||
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span> ripple::Throw<std::logic_error>(message);</div>
|
||||
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span> </div>
|
||||
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span>} <span class="comment">// namespace Json</span></div>
|
||||
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span> </div>
|
||||
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1StaticString_html"><div class="ttname"><a href="classJson_1_1StaticString.html">Json::StaticString</a></div><div class="ttdoc">Lightweight wrapper to tag static string.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00062">json_value.h:63</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1StaticString_html_a057d6d159f7f7ec51950d3a820dcf19a"><div class="ttname"><a href="classJson_1_1StaticString.html#a057d6d159f7f7ec51950d3a820dcf19a">Json::StaticString::c_str</a></div><div class="ttdeci">constexpr char const * c_str() const</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00076">json_value.h:76</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html"><div class="ttname"><a href="classJson_1_1Writer.html">Json::Writer</a></div><div class="ttdoc">Writer implements an O(1)-space, O(1)-granular output JSON writer.</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00127">json/Writer.h:128</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a1e741f623e96e2acf49be14941cb584d"><div class="ttname"><a href="classJson_1_1Writer.html#a1e741f623e96e2acf49be14941cb584d">Json::Writer::finish</a></div><div class="ttdeci">void finish()</div><div class="ttdoc">Finish the collection most recently started.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00358">Writer.cpp:358</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a39e680e1156fee4197b490bd0c0d482c"><div class="ttname"><a href="classJson_1_1Writer.html#a39e680e1156fee4197b490bd0c0d482c">Json::Writer::output</a></div><div class="ttdeci">void output(std::string const &)</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00270">Writer.cpp:270</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a453fcd63b282b03f1727cad7c0a45933"><div class="ttname"><a href="classJson_1_1Writer.html#a453fcd63b282b03f1727cad7c0a45933">Json::Writer::implOutput</a></div><div class="ttdeci">void implOutput(std::string const &)</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00309">Writer.cpp:309</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a478bd3f6ce146b3184b7df78d4170d2f"><div class="ttname"><a href="classJson_1_1Writer.html#a478bd3f6ce146b3184b7df78d4170d2f">Json::Writer::startRoot</a></div><div class="ttdeci">void startRoot(CollectionType)</div><div class="ttdoc">Start a new collection at the root level.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00337">Writer.cpp:337</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a4b264fd0c8dac93009aad9d4e435dd2b"><div class="ttname"><a href="classJson_1_1Writer.html#a4b264fd0c8dac93009aad9d4e435dd2b">Json::Writer::output</a></div><div class="ttdeci">void output(Type t)</div><div class="ttdoc">Output numbers or booleans.</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00233">json/Writer.h:233</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a53ecc840ddaba276dc429fd953d41ae0"><div class="ttname"><a href="classJson_1_1Writer.html#a53ecc840ddaba276dc429fd953d41ae0">Json::Writer::CollectionType</a></div><div class="ttdeci">CollectionType</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00130">json/Writer.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a53ecc840ddaba276dc429fd953d41ae0a7356d59ef361cb6d0e3e18de76ebd043"><div class="ttname"><a href="classJson_1_1Writer.html#a53ecc840ddaba276dc429fd953d41ae0a7356d59ef361cb6d0e3e18de76ebd043">Json::Writer::array</a></div><div class="ttdeci">@ array</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00130">json/Writer.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a6c73093b8d25dddd91cc7dfe17f15e41"><div class="ttname"><a href="classJson_1_1Writer.html#a6c73093b8d25dddd91cc7dfe17f15e41">Json::Writer::append</a></div><div class="ttdeci">void append(Scalar t)</div><div class="ttdoc">Append a value to an array.</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00165">json/Writer.h:165</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a8050044a6c3fde61c81638003985aa32"><div class="ttname"><a href="classJson_1_1Writer.html#a8050044a6c3fde61c81638003985aa32">Json::Writer::rawAppend</a></div><div class="ttdeci">void rawAppend()</div><div class="ttdoc">Add a comma before this next item if not the first item in an array.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00322">Writer.cpp:322</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a93f9d9a1ec0fc321124e66553f051a40"><div class="ttname"><a href="classJson_1_1Writer.html#a93f9d9a1ec0fc321124e66553f051a40">Json::Writer::rawSet</a></div><div class="ttdeci">void rawSet(std::string const &key)</div><div class="ttdoc">Emit just "tag": as part of an object.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00328">Writer.cpp:328</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a9cb437f7798b489c8648628b5a4c6ec9"><div class="ttname"><a href="classJson_1_1Writer.html#a9cb437f7798b489c8648628b5a4c6ec9">Json::Writer::finishAll</a></div><div class="ttdeci">void finishAll()</div><div class="ttdoc">Finish all objects and arrays.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00315">Writer.cpp:315</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_abda3d41bfa8e4869719b0b5ab06ee583"><div class="ttname"><a href="classJson_1_1Writer.html#abda3d41bfa8e4869719b0b5ab06ee583">Json::Writer::startAppend</a></div><div class="ttdeci">void startAppend(CollectionType)</div><div class="ttdoc">Start a new collection inside an array.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00343">Writer.cpp:343</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_ad23aadb7be38f05e022c13671eab8aec"><div class="ttname"><a href="classJson_1_1Writer.html#ad23aadb7be38f05e022c13671eab8aec">Json::Writer::set</a></div><div class="ttdeci">void set(std::string const &tag, Type t)</div><div class="ttdoc">Add a key, value assignment to an object.</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00189">json/Writer.h:189</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_adf1daccad9f1c9c1dc7259167d3fcf00"><div class="ttname"><a href="classJson_1_1Writer.html#adf1daccad9f1c9c1dc7259167d3fcf00">Json::Writer::startSet</a></div><div class="ttdeci">void startSet(CollectionType, std::string const &key)</div><div class="ttdoc">Start a new collection inside an object.</div><div class="ttdef"><b>Definition:</b> <a href="Writer_8cpp_source.html#l00350">Writer.cpp:350</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_af5900c85b9d885ae183e95ea45f888f5"><div class="ttname"><a href="classJson_1_1Writer.html#af5900c85b9d885ae183e95ea45f888f5">Json::Writer::output</a></div><div class="ttdeci">void output(Json::StaticString const &t)</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00239">json/Writer.h:239</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_aff03e65b6a721ed23e5c8a7c762992e6"><div class="ttname"><a href="classJson_1_1Writer.html#aff03e65b6a721ed23e5c8a7c762992e6">Json::Writer::impl_</a></div><div class="ttdeci">std::unique_ptr< Impl > impl_</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00246">json/Writer.h:246</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1StaticString_html"><div class="ttname"><a href="classJson_1_1StaticString.html">Json::StaticString</a></div><div class="ttdoc">Lightweight wrapper to tag static string.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00062">json_value.h:63</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1StaticString_html_a057d6d159f7f7ec51950d3a820dcf19a"><div class="ttname"><a href="classJson_1_1StaticString.html#a057d6d159f7f7ec51950d3a820dcf19a">Json::StaticString::c_str</a></div><div class="ttdeci">constexpr char const * c_str() const</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00076">json_value.h:76</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition</b> <a href="json__value_8h_source.html#l00148">json_value.h:149</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html"><div class="ttname"><a href="classJson_1_1Writer.html">Json::Writer</a></div><div class="ttdoc">Writer implements an O(1)-space, O(1)-granular output JSON writer.</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00127">json/Writer.h:128</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a1e741f623e96e2acf49be14941cb584d"><div class="ttname"><a href="classJson_1_1Writer.html#a1e741f623e96e2acf49be14941cb584d">Json::Writer::finish</a></div><div class="ttdeci">void finish()</div><div class="ttdoc">Finish the collection most recently started.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00358">Writer.cpp:358</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a39e680e1156fee4197b490bd0c0d482c"><div class="ttname"><a href="classJson_1_1Writer.html#a39e680e1156fee4197b490bd0c0d482c">Json::Writer::output</a></div><div class="ttdeci">void output(std::string const &)</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00270">Writer.cpp:270</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a453fcd63b282b03f1727cad7c0a45933"><div class="ttname"><a href="classJson_1_1Writer.html#a453fcd63b282b03f1727cad7c0a45933">Json::Writer::implOutput</a></div><div class="ttdeci">void implOutput(std::string const &)</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00309">Writer.cpp:309</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a478bd3f6ce146b3184b7df78d4170d2f"><div class="ttname"><a href="classJson_1_1Writer.html#a478bd3f6ce146b3184b7df78d4170d2f">Json::Writer::startRoot</a></div><div class="ttdeci">void startRoot(CollectionType)</div><div class="ttdoc">Start a new collection at the root level.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00337">Writer.cpp:337</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a4b264fd0c8dac93009aad9d4e435dd2b"><div class="ttname"><a href="classJson_1_1Writer.html#a4b264fd0c8dac93009aad9d4e435dd2b">Json::Writer::output</a></div><div class="ttdeci">void output(Type t)</div><div class="ttdoc">Output numbers or booleans.</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00233">json/Writer.h:233</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a53ecc840ddaba276dc429fd953d41ae0"><div class="ttname"><a href="classJson_1_1Writer.html#a53ecc840ddaba276dc429fd953d41ae0">Json::Writer::CollectionType</a></div><div class="ttdeci">CollectionType</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00130">json/Writer.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a53ecc840ddaba276dc429fd953d41ae0a7356d59ef361cb6d0e3e18de76ebd043"><div class="ttname"><a href="classJson_1_1Writer.html#a53ecc840ddaba276dc429fd953d41ae0a7356d59ef361cb6d0e3e18de76ebd043">Json::Writer::array</a></div><div class="ttdeci">@ array</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00130">json/Writer.h:130</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a6c73093b8d25dddd91cc7dfe17f15e41"><div class="ttname"><a href="classJson_1_1Writer.html#a6c73093b8d25dddd91cc7dfe17f15e41">Json::Writer::append</a></div><div class="ttdeci">void append(Scalar t)</div><div class="ttdoc">Append a value to an array.</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00165">json/Writer.h:165</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a8050044a6c3fde61c81638003985aa32"><div class="ttname"><a href="classJson_1_1Writer.html#a8050044a6c3fde61c81638003985aa32">Json::Writer::rawAppend</a></div><div class="ttdeci">void rawAppend()</div><div class="ttdoc">Add a comma before this next item if not the first item in an array.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00322">Writer.cpp:322</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a93f9d9a1ec0fc321124e66553f051a40"><div class="ttname"><a href="classJson_1_1Writer.html#a93f9d9a1ec0fc321124e66553f051a40">Json::Writer::rawSet</a></div><div class="ttdeci">void rawSet(std::string const &key)</div><div class="ttdoc">Emit just "tag": as part of an object.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00328">Writer.cpp:328</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_a9cb437f7798b489c8648628b5a4c6ec9"><div class="ttname"><a href="classJson_1_1Writer.html#a9cb437f7798b489c8648628b5a4c6ec9">Json::Writer::finishAll</a></div><div class="ttdeci">void finishAll()</div><div class="ttdoc">Finish all objects and arrays.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00315">Writer.cpp:315</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_abda3d41bfa8e4869719b0b5ab06ee583"><div class="ttname"><a href="classJson_1_1Writer.html#abda3d41bfa8e4869719b0b5ab06ee583">Json::Writer::startAppend</a></div><div class="ttdeci">void startAppend(CollectionType)</div><div class="ttdoc">Start a new collection inside an array.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00343">Writer.cpp:343</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_ad23aadb7be38f05e022c13671eab8aec"><div class="ttname"><a href="classJson_1_1Writer.html#ad23aadb7be38f05e022c13671eab8aec">Json::Writer::set</a></div><div class="ttdeci">void set(std::string const &tag, Type t)</div><div class="ttdoc">Add a key, value assignment to an object.</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00189">json/Writer.h:189</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_adf1daccad9f1c9c1dc7259167d3fcf00"><div class="ttname"><a href="classJson_1_1Writer.html#adf1daccad9f1c9c1dc7259167d3fcf00">Json::Writer::startSet</a></div><div class="ttdeci">void startSet(CollectionType, std::string const &key)</div><div class="ttdoc">Start a new collection inside an object.</div><div class="ttdef"><b>Definition</b> <a href="Writer_8cpp_source.html#l00350">Writer.cpp:350</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_af5900c85b9d885ae183e95ea45f888f5"><div class="ttname"><a href="classJson_1_1Writer.html#af5900c85b9d885ae183e95ea45f888f5">Json::Writer::output</a></div><div class="ttdeci">void output(Json::StaticString const &t)</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00239">json/Writer.h:239</a></div></div>
|
||||
<div class="ttc" id="aclassJson_1_1Writer_html_aff03e65b6a721ed23e5c8a7c762992e6"><div class="ttname"><a href="classJson_1_1Writer.html#aff03e65b6a721ed23e5c8a7c762992e6">Json::Writer::impl_</a></div><div class="ttdeci">std::unique_ptr< Impl > impl_</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00246">json/Writer.h:246</a></div></div>
|
||||
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
|
||||
<div class="ttc" id="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html"><div class="ttname"><a href="namespaceJson.html">Json</a></div><div class="ttdoc">JSON (JavaScript Object Notation).</div><div class="ttdef"><b>Definition:</b> <a href="json__errors_8h_source.html#l00025">json_errors.h:25</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html_af3b5e4579dafe6a4a496663e541bfebc"><div class="ttname"><a href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">Json::check</a></div><div class="ttdeci">void check(bool condition, std::string const &message)</div><div class="ttdef"><b>Definition:</b> <a href="json_2Writer_8h_source.html#l00253">json/Writer.h:253</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html"><div class="ttname"><a href="namespaceJson.html">Json</a></div><div class="ttdoc">JSON (JavaScript Object Notation).</div><div class="ttdef"><b>Definition</b> <a href="json__errors_8h_source.html#l00025">json_errors.h:25</a></div></div>
|
||||
<div class="ttc" id="anamespaceJson_html_af3b5e4579dafe6a4a496663e541bfebc"><div class="ttname"><a href="namespaceJson.html#af3b5e4579dafe6a4a496663e541bfebc">Json::check</a></div><div class="ttdeci">void check(bool condition, std::string const &message)</div><div class="ttdef"><b>Definition</b> <a href="json_2Writer_8h_source.html#l00253">json/Writer.h:253</a></div></div>
|
||||
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
|
||||
<div class="ttc" id="anullptr_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/nullptr_t.html">std::nullptr_t</a></div></div>
|
||||
<div class="ttc" id="ato_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/to_string.html">std::to_string</a></div><div class="ttdeci">T to_string(T... args)</div></div>
|
||||
@@ -243,7 +260,7 @@ $(function() {
|
||||
</div><!-- fragment --></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.5
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user