This commit is contained in:
nbougalis
2021-09-14 16:34:03 +00:00
parent 1ce46a7e6b
commit 062c9e2641
2021 changed files with 86789 additions and 76483 deletions

View File

@@ -97,7 +97,7 @@ $(function() {
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>detail {</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb"> 29</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb">owned_count_of</a>(<a class="code" href="classripple_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>&amp; view, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; <span class="keywordtype">id</span>, <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07b">LedgerEntryType</a> type)</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb"> 29</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb">owned_count_of</a>(<a class="code" href="classripple_1_1ReadView.html">ReadView</a> <span class="keyword">const</span>&amp; view, <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; <span class="keywordtype">id</span>, <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139">LedgerEntryType</a> type)</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> count = 0;</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <a class="code" href="namespaceripple.html#ade625fb14fe340049d0e63f9d9d24d59">forEachItem</a>(</div>
@@ -112,7 +112,7 @@ $(function() {
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#ab2554af4bd7864d80e4d605d6690386c"> 41</a></span>&#160;<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#ab2554af4bd7864d80e4d605d6690386c">owned_count_helper</a>(</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html">Env</a>&amp; env,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; <span class="keywordtype">id</span>,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07b">LedgerEntryType</a> type,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139">LedgerEntryType</a> type,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> value)</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; env.<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html#a404fe165c9a8096d23b0ec3f2f99dada">test</a>.expect(<a class="code" href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb">owned_count_of</a>(*env.<a class="code" href="classripple_1_1test_1_1jtx_1_1Env.html#ace0420a6e752f5dc5400df6f2097647e">current</a>(), <span class="keywordtype">id</span>, type) == value);</div>
@@ -135,13 +135,13 @@ $(function() {
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1detail_html_a23ff162f378b858613247f4d4237eabb"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1detail.html#a23ff162f378b858613247f4d4237eabb">ripple::test::jtx::detail::owned_count_of</a></div><div class="ttdeci">std::uint32_t owned_count_of(ReadView const &amp;view, AccountID const &amp;id, LedgerEntryType type)</div><div class="ttdef"><b>Definition:</b> <a href="owners_8cpp_source.html#l00029">owners.cpp:29</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1owners_html_a846ccfd84a42e27522b659c2535e2948"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1owners.html#a846ccfd84a42e27522b659c2535e2948">ripple::test::jtx::owners::account_</a></div><div class="ttdeci">Account account_</div><div class="ttdef"><b>Definition:</b> <a href="owners_8h_source.html#l00072">owners.h:72</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_1_1jtx_1_1detail_html_ab2554af4bd7864d80e4d605d6690386c"><div class="ttname"><a href="namespaceripple_1_1test_1_1jtx_1_1detail.html#ab2554af4bd7864d80e4d605d6690386c">ripple::test::jtx::detail::owned_count_helper</a></div><div class="ttdeci">void owned_count_helper(Env &amp;env, AccountID const &amp;id, LedgerEntryType type, std::uint32_t value)</div><div class="ttdef"><b>Definition:</b> <a href="owners_8cpp_source.html#l00041">owners.cpp:41</a></div></div>
<div class="ttc" id="anamespaceripple_html_ade625fb14fe340049d0e63f9d9d24d59"><div class="ttname"><a href="namespaceripple.html#ade625fb14fe340049d0e63f9d9d24d59">ripple::forEachItem</a></div><div class="ttdeci">void forEachItem(ReadView const &amp;view, AccountID const &amp;id, std::function&lt; void(std::shared_ptr&lt; SLE const &gt; const &amp;)&gt; f)</div><div class="ttdoc">Iterate all items in an account's owner directory.</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00255">View.cpp:255</a></div></div>
<div class="ttc" id="anamespaceripple_html_ade625fb14fe340049d0e63f9d9d24d59"><div class="ttname"><a href="namespaceripple.html#ade625fb14fe340049d0e63f9d9d24d59">ripple::forEachItem</a></div><div class="ttdeci">void forEachItem(ReadView const &amp;view, AccountID const &amp;id, std::function&lt; void(std::shared_ptr&lt; SLE const &gt; const &amp;)&gt; f)</div><div class="ttdoc">Iterate all items in an account's owner directory.</div><div class="ttdef"><b>Definition:</b> <a href="View_8cpp_source.html#l00375">View.cpp:375</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 160, detail::AccountIDTag &gt;</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html_a404fe165c9a8096d23b0ec3f2f99dada"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html#a404fe165c9a8096d23b0ec3f2f99dada">ripple::test::jtx::Env::test</a></div><div class="ttdeci">beast::unit_test::suite &amp; test</div><div class="ttdef"><b>Definition:</b> <a href="Env_8h_source.html#l00118">Env.h:118</a></div></div>
<div class="ttc" id="aclassripple_1_1ReadView_html"><div class="ttname"><a href="classripple_1_1ReadView.html">ripple::ReadView</a></div><div class="ttdoc">A view into a ledger.</div><div class="ttdef"><b>Definition:</b> <a href="ReadView_8h_source.html#l00192">ReadView.h:192</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07b"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07b">ripple::LedgerEntryType</a></div><div class="ttdeci">LedgerEntryType</div><div class="ttdoc">Ledger entry types.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00036">LedgerFormats.h:36</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139">ripple::LedgerEntryType</a></div><div class="ttdeci">LedgerEntryType</div><div class="ttdoc">Identifiers for on-ledger objects.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00053">LedgerFormats.h:53</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1Env_html_ad63e69c823183e7e8991752b1cf8985f"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1Env.html#ad63e69c823183e7e8991752b1cf8985f">ripple::test::jtx::Env::le</a></div><div class="ttdeci">std::shared_ptr&lt; SLE const &gt; le(Account const &amp;account) const</div><div class="ttdoc">Return an account root.</div><div class="ttdef"><b>Definition:</b> <a href="Env_8cpp_source.html#l00213">Env.cpp:213</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1owners_html_a3a90197b4b46f3c97c9c17fc6dd89953"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1owners.html#a3a90197b4b46f3c97c9c17fc6dd89953">ripple::test::jtx::owners::operator()</a></div><div class="ttdeci">void operator()(Env &amp;env) const</div><div class="ttdef"><b>Definition:</b> <a href="owners_8cpp_source.html#l00053">owners.cpp:53</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1owners_html_a153ab4bb76eca720ded3d424957f7a92"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1owners.html#a153ab4bb76eca720ded3d424957f7a92">ripple::test::jtx::owners::value_</a></div><div class="ttdeci">std::uint32_t value_</div><div class="ttdef"><b>Definition:</b> <a href="owners_8h_source.html#l00073">owners.h:73</a></div></div>