Files
rippled/structWriterFixture.html
2025-11-04 00:36:48 -08:00

250 lines
15 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: WriterFixture Struct 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&amp;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&amp;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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structWriterFixture-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">WriterFixture Struct Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for WriterFixture:</div>
<div class="dyncontent">
<div class="center"><img src="structWriterFixture__coll__graph.png" border="0" usemap="#aWriterFixture_coll__map" alt="Collaboration graph"/></div>
<map name="aWriterFixture_coll__map" id="aWriterFixture_coll__map">
<area shape="rect" title=" " alt="" coords="2036,129,2143,154"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="193,129,280,154"/>
<area shape="poly" title=" " alt="" coords="294,148,365,156,444,160,1866,160,1956,156,2035,147,2036,152,1956,161,1866,165,444,165,365,161,293,153"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="363,77,528,102"/>
<area shape="poly" title=" " alt="" coords="293,125,393,99,394,105,294,130"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="5,121,144,161"/>
<area shape="poly" title=" " alt="" coords="157,139,193,139,193,144,157,144"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1784,81,1945,121"/>
<area shape="poly" title=" " alt="" coords="1959,115,2036,129,2035,134,1958,121"/>
<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="1616,87,1713,113"/>
<area shape="poly" title=" " alt="" coords="1728,98,1784,98,1784,103,1728,103"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html" title=" " alt="" coords="1365,79,1527,119"/>
<area shape="poly" title=" " alt="" coords="1541,97,1616,97,1616,102,1541,102"/>
<area shape="rect" href="classJson_1_1Writer_1_1Impl.html" title=" " alt="" coords="1160,85,1295,110"/>
<area shape="poly" title=" " alt="" coords="1309,95,1365,96,1365,101,1309,100"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/functional/function.html" title=" " alt="" coords="880,70,1032,125"/>
<area shape="poly" title=" " alt="" coords="1046,95,1160,95,1160,100,1046,100"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/stack.html" title=" " alt="" coords="853,5,1059,45"/>
<area shape="poly" title=" " alt="" coords="1046,46,1179,82,1178,87,1044,51"/>
<area shape="rect" href="structJson_1_1Writer_1_1Impl_1_1Collection.html" title=" " alt="" coords="609,45,744,85"/>
<area shape="poly" title=" " alt="" coords="757,51,853,37,854,43,758,56"/>
<area shape="poly" title=" " alt="" coords="542,77,609,70,609,75,543,82"/>
</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:a78de1bb1ab3ac0cedc844048331118eb" id="r_a78de1bb1ab3ac0cedc844048331118eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structWriterFixture.html#a78de1bb1ab3ac0cedc844048331118eb">WriterFixture</a> ()</td></tr>
<tr class="separator:a78de1bb1ab3ac0cedc844048331118eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5bd3534899ded3a58ac50acfa2acf74" id="r_ae5bd3534899ded3a58ac50acfa2acf74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structWriterFixture.html#ae5bd3534899ded3a58ac50acfa2acf74">reset</a> ()</td></tr>
<tr class="separator:ae5bd3534899ded3a58ac50acfa2acf74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35e63c9f61e87a49d0234347f04aab7e" id="r_a35e63c9f61e87a49d0234347f04aab7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structWriterFixture.html#a35e63c9f61e87a49d0234347f04aab7e">expectOutput</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;expected) const</td></tr>
<tr class="separator:a35e63c9f61e87a49d0234347f04aab7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac629fffcf20ea4719fc34607a9a0a13e" id="r_ac629fffcf20ea4719fc34607a9a0a13e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structWriterFixture.html#ac629fffcf20ea4719fc34607a9a0a13e">checkOutputAndReset</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;expected)</td></tr>
<tr class="separator:ac629fffcf20ea4719fc34607a9a0a13e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:adcb0d412374c9f22e916a14ef981357c" id="r_adcb0d412374c9f22e916a14ef981357c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structWriterFixture.html#adcb0d412374c9f22e916a14ef981357c">output</a></td></tr>
<tr class="separator:adcb0d412374c9f22e916a14ef981357c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcc4c7b0bc71222b79eda74506d46188" id="r_afcc4c7b0bc71222b79eda74506d46188"><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="structWriterFixture.html#afcc4c7b0bc71222b79eda74506d46188">writer</a></td></tr>
<tr class="separator:afcc4c7b0bc71222b79eda74506d46188"><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 class="definition">Definition at line <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00014">14</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a78de1bb1ab3ac0cedc844048331118eb" name="a78de1bb1ab3ac0cedc844048331118eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78de1bb1ab3ac0cedc844048331118eb">&#9670;&#160;</a></span>WriterFixture()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">WriterFixture::WriterFixture </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="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00019">19</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ae5bd3534899ded3a58ac50acfa2acf74" name="ae5bd3534899ded3a58ac50acfa2acf74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5bd3534899ded3a58ac50acfa2acf74">&#9670;&#160;</a></span>reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WriterFixture::reset </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="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00025">25</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
<a id="a35e63c9f61e87a49d0234347f04aab7e" name="a35e63c9f61e87a49d0234347f04aab7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35e63c9f61e87a49d0234347f04aab7e">&#9670;&#160;</a></span>expectOutput()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WriterFixture::expectOutput </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>expected</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00032">32</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
<a id="ac629fffcf20ea4719fc34607a9a0a13e" name="ac629fffcf20ea4719fc34607a9a0a13e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac629fffcf20ea4719fc34607a9a0a13e">&#9670;&#160;</a></span>checkOutputAndReset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void WriterFixture::checkOutputAndReset </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>expected</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00038">38</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="adcb0d412374c9f22e916a14ef981357c" name="adcb0d412374c9f22e916a14ef981357c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adcb0d412374c9f22e916a14ef981357c">&#9670;&#160;</a></span>output</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> WriterFixture::output</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00016">16</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
<a id="afcc4c7b0bc71222b79eda74506d46188" name="afcc4c7b0bc71222b79eda74506d46188"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcc4c7b0bc71222b79eda74506d46188">&#9670;&#160;</a></span>writer</h2>
<div class="memitem">
<div class="memproto">
<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; WriterFixture::writer</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html#l00017">17</a> of file <a class="el" href="tests_2libxrpl_2json_2Writer_8cpp_source.html">tests/libxrpl/json/Writer.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<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>