Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Commit

Permalink
clang-format and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cylix committed Nov 14, 2017
1 parent 4da8ea1 commit d222564
Show file tree
Hide file tree
Showing 56 changed files with 435 additions and 252 deletions.
5 changes: 3 additions & 2 deletions docs/html/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1logger__iface.html" target="_self">logger_iface</a></td><td class="desc"></td></tr>
<tr id="row_0_6_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1redis__error.html" target="_self">redis_error</a></td><td class="desc"></td></tr>
<tr id="row_0_7_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1reply.html" target="_self">reply</a></td><td class="desc"></td></tr>
<tr id="row_0_8_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1sentinel.html" target="_self">sentinel</a></td><td class="desc"></td></tr>
<tr id="row_0_9_" class="even"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1subscriber.html" target="_self">subscriber</a></td><td class="desc"></td></tr>
<tr id="row_0_8_"><td class="entry"><span style="width:16px;display:inline-block;">&#160;</span><span id="arr_0_8_" class="arrow" onclick="toggleFolder('0_8_')">&#9660;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1sentinel.html" target="_self">sentinel</a></td><td class="desc"></td></tr>
<tr id="row_0_8_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1sentinel_1_1sentinel__def.html" target="_self">sentinel_def</a></td><td class="desc"></td></tr>
<tr id="row_0_9_"><td class="entry"><span style="width:32px;display:inline-block;">&#160;</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcpp__redis_1_1subscriber.html" target="_self">subscriber</a></td><td class="desc"></td></tr>
</table>
</div><!-- directory -->
</div><!-- contents -->
Expand Down
2 changes: 1 addition & 1 deletion docs/html/classcpp__redis_1_1client-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<p>This is the complete list of members for <a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1client.html#a7050eb52856decad9ab2060a139f4b48">add_sentinel</a>(const std::string &amp;host, std::size_t port)</td><td class="entry"><a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1client.html#abd52019ee708559179c501892e6448dc">add_sentinel</a>(const std::string &amp;host, std::size_t port, std::uint32_t timeout_msecs=0)</td><td class="entry"><a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1client.html#aa197ca5b36da793c701d3ba388ec4946">aggregate_method</a> enum name</td><td class="entry"><a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1client.html#accc567df4dd23b30defdd9605719e0ca">aggregate_method_to_string</a>(aggregate_method method) const</td><td class="entry"><a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>append</b>(const std::string &amp;key, const std::string &amp;value, const reply_callback_t &amp;reply_callback) (defined in <a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1client.html">cpp_redis::client</a></td><td class="entry"></td></tr>
Expand Down
17 changes: 12 additions & 5 deletions docs/html/classcpp__redis_1_1client.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
<tr class="memitem:a79a24c8367cb1229fd2c4c38d0f82533"><td class="memTemplParams" colspan="2">template&lt;class Rep , class Period &gt; </td></tr>
<tr class="memitem:a79a24c8367cb1229fd2c4c38d0f82533"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classcpp__redis_1_1client.html">client</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcpp__redis_1_1client.html#a79a24c8367cb1229fd2c4c38d0f82533">sync_commit</a> (const std::chrono::duration&lt; Rep, Period &gt; &amp;timeout)</td></tr>
<tr class="separator:a79a24c8367cb1229fd2c4c38d0f82533"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7050eb52856decad9ab2060a139f4b48"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcpp__redis_1_1client.html#a7050eb52856decad9ab2060a139f4b48">add_sentinel</a> (const std::string &amp;host, std::size_t port)</td></tr>
<tr class="separator:a7050eb52856decad9ab2060a139f4b48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd52019ee708559179c501892e6448dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcpp__redis_1_1client.html#abd52019ee708559179c501892e6448dc">add_sentinel</a> (const std::string &amp;host, std::size_t port, std::uint32_t timeout_msecs=0)</td></tr>
<tr class="separator:abd52019ee708559179c501892e6448dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f94860dad26bca4e860a56ca8aefe36"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classcpp__redis_1_1sentinel.html">sentinel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcpp__redis_1_1client.html#a9f94860dad26bca4e860a56ca8aefe36">get_sentinel</a> (void) const</td></tr>
<tr class="separator:a9f94860dad26bca4e860a56ca8aefe36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9457cea98f061ce6071f897ba8605813"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcpp__redis_1_1sentinel.html">sentinel</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcpp__redis_1_1client.html#a9457cea98f061ce6071f897ba8605813">get_sentinel</a> (void)</td></tr>
Expand Down Expand Up @@ -2121,8 +2121,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ae879c3a6829a2da9d03f80c1
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a7050eb52856decad9ab2060a139f4b48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7050eb52856decad9ab2060a139f4b48">&#9670;&nbsp;</a></span>add_sentinel()</h2>
<a id="abd52019ee708559179c501892e6448dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd52019ee708559179c501892e6448dc">&#9670;&nbsp;</a></span>add_sentinel()</h2>

<div class="memitem">
<div class="memproto">
Expand All @@ -2137,7 +2137,13 @@ <h2 class="memtitle"><span class="permalink"><a href="#a7050eb52856decad9ab2060a
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::size_t&#160;</td>
<td class="paramname"><em>port</em>&#160;</td>
<td class="paramname"><em>port</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::uint32_t&#160;</td>
<td class="paramname"><em>timeout_msecs</em> = <code>0</code>&#160;</td>
</tr>
<tr>
<td></td>
Expand All @@ -2151,6 +2157,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a7050eb52856decad9ab2060a
<table class="params">
<tr><td class="paramname">host</td><td>sentinel host </td></tr>
<tr><td class="paramname">port</td><td>sentinel port </td></tr>
<tr><td class="paramname">timeout_msecs</td><td>maximum time to connect </td></tr>
</table>
</dd>
</dl>
Expand Down
6 changes: 4 additions & 2 deletions docs/html/classcpp__redis_1_1sentinel-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,18 @@

<p>This is the complete list of members for <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a548dad45711dc2e7da7e0803d5a74a2e">add_sentinel</a>(const std::string &amp;host, std::size_t port)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a6c846b71478c330d2cad7aa662dfd681">add_sentinel</a>(const std::string &amp;host, std::size_t port, std::uint32_t timeout_msecs=0)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>ckquorum</b>(const std::string &amp;name, const reply_callback_t &amp;reply_callback=nullptr) (defined in <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#ac36640b3f392970c72f5a513a2d61ac7">clear_sentinels</a>(void)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#ad4f85d486499f82225b244f85091b31e">commit</a>(void)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a1dfba8240daf7cfa7502f57957cffbda">connect</a>(const std::string &amp;host, std::size_t port, const sentinel_disconnect_handler_t &amp;disconnect_handler=nullptr, std::uint32_t timeout_msecs=0)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#ad10e26012984341c82dd4c6a7ef2253b">connect_sentinel</a>(std::uint32_t timeout_msecs=0, const sentinel_disconnect_handler_t &amp;disconnect_handler=nullptr)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a82c8cb23efab71ff00cf2277bba91e90">connect_sentinel</a>(const sentinel_disconnect_handler_t &amp;disconnect_handler=nullptr)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#af607d8c5a20ada35daad251f1b1b2f68">disconnect</a>(bool wait_for_removal=false)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>failover</b>(const std::string &amp;name, const reply_callback_t &amp;reply_callback=nullptr) (defined in <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>flushconfig</b>(const reply_callback_t &amp;reply_callback=nullptr) (defined in <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a2886493b40b00dfafdd3b22dfe28e0c3">get_master_addr_by_name</a>(const std::string &amp;name, std::string &amp;host, std::size_t &amp;port, bool autoconnect=true)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#adec98cdde0500e44b8fda26a44f14b49">get_sentinels</a>(void) const</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#a62cc14b7795d746cc7d0053c1e0a3abd">get_sentinels</a>(void)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html#aa98a0593e6e7c04d8d0dd1f292cdce47">is_connected</a>(void)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0"><td class="entry"><b>master</b>(const std::string &amp;name, const reply_callback_t &amp;reply_callback=nullptr) (defined in <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>masters</b>(const reply_callback_t &amp;reply_callback=nullptr) (defined in <a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a>)</td><td class="entry"><a class="el" href="classcpp__redis_1_1sentinel.html">cpp_redis::sentinel</a></td><td class="entry"></td></tr>
Expand Down
Loading

0 comments on commit d222564

Please sign in to comment.