mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +00:00
deploy: 8a25f32824
This commit is contained in:
@@ -94,31 +94,29 @@ $(function() {
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802"> 26</a></span> <a class="code" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">Keylet::check</a>(<a class="code" href="classripple_1_1STLedgerEntry.html">SLE</a> <span class="keyword">const</span>& sle)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802"> 26</a></span> <a class="code" href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">Keylet::check</a>(<a class="code" href="classripple_1_1STLedgerEntry.html">STLedgerEntry</a> <span class="keyword">const</span>& sle)<span class="keyword"> const</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword"></span>{</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">if</span> (<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba926f3c33237e0c1bb2d4cb8afc0c82b4">ltANY</a>)</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">if</span> (<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07bae3eb391490c08d0dbf2cb353e2ba440b">ltINVALID</a>)</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">if</span> (<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba822b27579a5bc94b9dea2395852e5bbd">ltCHILD</a>)</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  assert(sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() != <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() != <a class="code" href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">return</span> sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() == <a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a>;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  assert(sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() != <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4">ltANY</a> || sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() != <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd">ltCHILD</a>);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordflow">if</span> (<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4">ltANY</a>)</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">if</span> (<a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a> == <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd">ltCHILD</a>)</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() != <a class="code" href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ltDIR_NODE</a>;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">return</span> sle.<a class="code" href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">getType</a>() == <a class="code" href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">type</a>;</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> } <span class="comment">// namespace ripple</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="aclassripple_1_1STLedgerEntry_html"><div class="ttname"><a href="classripple_1_1STLedgerEntry.html">ripple::STLedgerEntry</a></div><div class="ttdef"><b>Definition:</b> <a href="STLedgerEntry_8h_source.html#l00030">STLedgerEntry.h:30</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07ba926f3c33237e0c1bb2d4cb8afc0c82b4"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba926f3c33237e0c1bb2d4cb8afc0c82b4">ripple::ltANY</a></div><div class="ttdeci">@ ltANY</div><div class="ttdoc">Special type, anything This is used when the type in the Keylet is unknown, such as when building met...</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00041">LedgerFormats.h:41</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07ba822b27579a5bc94b9dea2395852e5bbd"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba822b27579a5bc94b9dea2395852e5bbd">ripple::ltCHILD</a></div><div class="ttdeci">@ ltCHILD</div><div class="ttdoc">Special type, anything not a directory This is used when the type in the Keylet is unknown,...</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00047">LedgerFormats.h:47</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07bae3eb391490c08d0dbf2cb353e2ba440b"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07bae3eb391490c08d0dbf2cb353e2ba440b">ripple::ltINVALID</a></div><div class="ttdeci">@ ltINVALID</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00049">LedgerFormats.h:49</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1Keylet_html_a194d83c488eaa909ae4bcf816d8f4cb0"><div class="ttname"><a href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">ripple::Keylet::type</a></div><div class="ttdeci">LedgerEntryType type</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00040">Keylet.h:40</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a926f3c33237e0c1bb2d4cb8afc0c82b4">ripple::ltANY</a></div><div class="ttdeci">@ ltANY</div><div class="ttdoc">A special type, matching any ledger entry type.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00164">LedgerFormats.h:164</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a822b27579a5bc94b9dea2395852e5bbd">ripple::ltCHILD</a></div><div class="ttdeci">@ ltCHILD</div><div class="ttdoc">A special type, matching any ledger type except directory nodes.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00177">LedgerFormats.h:177</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8"><div class="ttname"><a href="namespaceripple.html#ac151bf19e1f4daae2b04c65c65117139a1ca6f5da9e86f814af3d6f8b3631ebe8">ripple::ltDIR_NODE</a></div><div class="ttdeci">@ ltDIR_NODE</div><div class="ttdoc">A ledger object which contains a list of object identifiers.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00066">LedgerFormats.h:66</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1Keylet_html_a194d83c488eaa909ae4bcf816d8f4cb0"><div class="ttname"><a href="structripple_1_1Keylet.html#a194d83c488eaa909ae4bcf816d8f4cb0">ripple::Keylet::type</a></div><div class="ttdeci">LedgerEntryType type</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8h_source.html#l00041">Keylet.h:41</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1STLedgerEntry_html_a3c289baf99474db3d44d381e43358723"><div class="ttname"><a href="classripple_1_1STLedgerEntry.html#a3c289baf99474db3d44d381e43358723">ripple::STLedgerEntry::getType</a></div><div class="ttdeci">LedgerEntryType getType() const</div><div class="ttdef"><b>Definition:</b> <a href="STLedgerEntry_8h_source.html#l00092">STLedgerEntry.h:92</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="astructripple_1_1Keylet_html_a1e8ccd4a50a894a338c789fc566d8802"><div class="ttname"><a href="structripple_1_1Keylet.html#a1e8ccd4a50a894a338c789fc566d8802">ripple::Keylet::check</a></div><div class="ttdeci">bool check(STLedgerEntry const &) const</div><div class="ttdoc">Returns true if the SLE matches the type.</div><div class="ttdef"><b>Definition:</b> <a href="Keylet_8cpp_source.html#l00026">Keylet.cpp:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8"><div class="ttname"><a href="namespaceripple.html#af6e0324b257fc9992b83ecf827c2a07ba1ca6f5da9e86f814af3d6f8b3631ebe8">ripple::ltDIR_NODE</a></div><div class="ttdeci">@ ltDIR_NODE</div><div class="ttdoc">Directory node.</div><div class="ttdef"><b>Definition:</b> <a href="LedgerFormats_8h_source.html#l00064">LedgerFormats.h:64</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
|
||||
Reference in New Issue
Block a user