This commit is contained in:
manojsdoshi
2021-03-12 22:34:28 +00:00
parent 1664f589f1
commit dffdcfc0e7
4802 changed files with 108249 additions and 108053 deletions

View File

@@ -155,12 +155,12 @@ $(function() {
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="comment">// We need to use Endpoint to parse the domain to</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// strip surrounding brackets from IPv6 addresses,</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="comment">// e.g. [::1] =&gt; ::1.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> result = <a class="code" href="classbeast_1_1IP_1_1Endpoint.html#aac388eeb417add061487b8166490a338">beast::IP::Endpoint::from_string_checked</a>(domain);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> result = <a class="code" href="classbeast_1_1IP_1_1Endpoint.html#a0d6ba5509dc00fbf39e8b91e5f267a87">beast::IP::Endpoint::from_string_checked</a>(domain);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; pUrl.<a class="code" href="structripple_1_1parsedURL.html#a6d796e85c96cc5060586ce806b288bcb">domain</a> = result ? result-&gt;address().to_string() : domain;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="keyword">const</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> port = smMatch[5];</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">if</span> (!port.<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; {</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; pUrl.<a class="code" href="structripple_1_1parsedURL.html#a661220a562cd86c4f251cb6b2bb097ad">port</a> = beast::lexicalCast&lt;std::uint16_t&gt;(port);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; pUrl.<a class="code" href="structripple_1_1parsedURL.html#ad4ebcb5e1c71d170f8c854a5aec8aeaf">port</a> = beast::lexicalCast&lt;std::uint16_t&gt;(port);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; }</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; pUrl.<a class="code" href="structripple_1_1parsedURL.html#a4d823c3fa1765f734b684dddc8128b8f">path</a> = smMatch[6];</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
@@ -174,13 +174,13 @@ $(function() {
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keywordflow">return</span> str;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;}</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;boost::optional&lt;std::uint64_t&gt;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<a class="code" href="namespaceripple.html#a123dbbb0bb7c71fa138ace0ab37842cd">to_uint64</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; s)</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;std::uint64_t&gt;</a></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<a class="code" href="namespaceripple.html#aafcd8eccce69f1a6acf78dd19a09b3ff">to_uint64</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; s)</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;{</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> result;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="namespacebeast.html#aeb241ed2f4422ea57283956ca58c5d42">beast::lexicalCastChecked</a>(result, s))</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> boost::none;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">return</span> std::nullopt;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;}</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="keywordtype">bool</span></div>
@@ -218,25 +218,26 @@ $(function() {
<div class="ttc" id="areserve_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/reserve.html">std::string::reserve</a></div><div class="ttdeci">T reserve(T... args)</div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt; unsigned char &gt;</a></div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/size.html">std::vector::size</a></div><div class="ttdeci">T size(T... args)</div></div>
<div class="ttc" id="anamespaceripple_html_a123dbbb0bb7c71fa138ace0ab37842cd"><div class="ttname"><a href="namespaceripple.html#a123dbbb0bb7c71fa138ace0ab37842cd">ripple::to_uint64</a></div><div class="ttdeci">boost::optional&lt; std::uint64_t &gt; to_uint64(std::string const &amp;s)</div></div>
<div class="ttc" id="aback_inserter_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/iterator/back_inserter.html">std::back_inserter</a></div><div class="ttdeci">T back_inserter(T... args)</div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_a7ccdd1caf7cd6f551428632f25384115"><div class="ttname"><a href="structripple_1_1parsedURL.html#a7ccdd1caf7cd6f551428632f25384115">ripple::parsedURL::username</a></div><div class="ttdeci">std::string username</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00105">StringUtilities.h:105</a></div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_a4d823c3fa1765f734b684dddc8128b8f"><div class="ttname"><a href="structripple_1_1parsedURL.html#a4d823c3fa1765f734b684dddc8128b8f">ripple::parsedURL::path</a></div><div class="ttdeci">std::string path</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00109">StringUtilities.h:109</a></div></div>
<div class="ttc" id="anamespaceripple_html_a4a0f163a7e357063a6b2993348d60c3c"><div class="ttname"><a href="namespaceripple.html#a4a0f163a7e357063a6b2993348d60c3c">ripple::trim_whitespace</a></div><div class="ttdeci">std::string trim_whitespace(std::string str)</div></div>
<div class="ttc" id="aalgorithm_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a></div></div>
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/push_back.html">std::string::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_ad4ebcb5e1c71d170f8c854a5aec8aeaf"><div class="ttname"><a href="structripple_1_1parsedURL.html#ad4ebcb5e1c71d170f8c854a5aec8aeaf">ripple::parsedURL::port</a></div><div class="ttdeci">std::optional&lt; std::uint16_t &gt; port</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00108">StringUtilities.h:108</a></div></div>
<div class="ttc" id="anamespaceripple_html_aafcd8eccce69f1a6acf78dd19a09b3ff"><div class="ttname"><a href="namespaceripple.html#aafcd8eccce69f1a6acf78dd19a09b3ff">ripple::to_uint64</a></div><div class="ttdeci">std::optional&lt; std::uint64_t &gt; to_uint64(std::string const &amp;s)</div></div>
<div class="ttc" id="anamespaceripple_html_a723f8529b7c277a851246d7ffc379b05"><div class="ttname"><a href="namespaceripple.html#a723f8529b7c277a851246d7ffc379b05">ripple::parseUrl</a></div><div class="ttdeci">bool parseUrl(parsedURL &amp;pUrl, std::string const &amp;strUrl)</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8cpp_source.html#l00047">StringUtilities.cpp:47</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_a661220a562cd86c4f251cb6b2bb097ad"><div class="ttname"><a href="structripple_1_1parsedURL.html#a661220a562cd86c4f251cb6b2bb097ad">ripple::parsedURL::port</a></div><div class="ttdeci">boost::optional&lt; std::uint16_t &gt; port</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00108">StringUtilities.h:108</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="anamespacebeast_html_aeb241ed2f4422ea57283956ca58c5d42"><div class="ttname"><a href="namespacebeast.html#aeb241ed2f4422ea57283956ca58c5d42">beast::lexicalCastChecked</a></div><div class="ttdeci">bool lexicalCastChecked(Out &amp;out, In in)</div><div class="ttdoc">Intelligently convert from one type to another.</div><div class="ttdef"><b>Definition:</b> <a href="LexicalCast_8h_source.html#l00266">LexicalCast.h:266</a></div></div>
<div class="ttc" id="abegin_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/begin.html">std::vector::begin</a></div><div class="ttdeci">T begin(T... args)</div></div>
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">std::string::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_abf3d08230b4c8b90ce9c6091c99552ff"><div class="ttname"><a href="structripple_1_1parsedURL.html#abf3d08230b4c8b90ce9c6091c99552ff">ripple::parsedURL::scheme</a></div><div class="ttdeci">std::string scheme</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00104">StringUtilities.h:104</a></div></div>
<div class="ttc" id="anamespaceripple_html_aab94edddae84fcd70e7261ecc19173b7"><div class="ttname"><a href="namespaceripple.html#aab94edddae84fcd70e7261ecc19173b7">ripple::isProperlyFormedTomlDomain</a></div><div class="ttdeci">bool isProperlyFormedTomlDomain(std::string const &amp;domain)</div><div class="ttdoc">Determines if the given string looks like a TOML-file hosting domain.</div></div>
<div class="ttc" id="astructripple_1_1parsedURL_html_a6d796e85c96cc5060586ce806b288bcb"><div class="ttname"><a href="structripple_1_1parsedURL.html#a6d796e85c96cc5060586ce806b288bcb">ripple::parsedURL::domain</a></div><div class="ttdeci">std::string domain</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8h_source.html#l00107">StringUtilities.h:107</a></div></div>
<div class="ttc" id="aend_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/end.html">std::vector::end</a></div><div class="ttdeci">T end(T... args)</div></div>
<div class="ttc" id="aclassbeast_1_1IP_1_1Endpoint_html_aac388eeb417add061487b8166490a338"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html#aac388eeb417add061487b8166490a338">beast::IP::Endpoint::from_string_checked</a></div><div class="ttdeci">static boost::optional&lt; Endpoint &gt; from_string_checked(std::string const &amp;s)</div><div class="ttdoc">Create an Endpoint from a string.</div><div class="ttdef"><b>Definition:</b> <a href="IPEndpoint_8cpp_source.html#l00035">IPEndpoint.cpp:35</a></div></div>
<div class="ttc" id="aclassbeast_1_1IP_1_1Endpoint_html_a0d6ba5509dc00fbf39e8b91e5f267a87"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html#a0d6ba5509dc00fbf39e8b91e5f267a87">beast::IP::Endpoint::from_string_checked</a></div><div class="ttdeci">static std::optional&lt; Endpoint &gt; from_string_checked(std::string const &amp;s)</div><div class="ttdoc">Create an Endpoint from a string.</div><div class="ttdef"><b>Definition:</b> <a href="IPEndpoint_8cpp_source.html#l00035">IPEndpoint.cpp:35</a></div></div>
<div class="ttc" id="anamespaceripple_html_a9078e51480fd85c4bff715ecd3f141d5"><div class="ttname"><a href="namespaceripple.html#a9078e51480fd85c4bff715ecd3f141d5">ripple::sqlBlobLiteral</a></div><div class="ttdeci">std::string sqlBlobLiteral(Blob const &amp;blob)</div><div class="ttdoc">Format arbitrary binary data as an SQLite &quot;blob literal&quot;.</div><div class="ttdef"><b>Definition:</b> <a href="StringUtilities_8cpp_source.html#l00033">StringUtilities.cpp:33</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>