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

631 lines
38 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: ripple::DatabaseCon Class 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1DatabaseCon.html">DatabaseCon</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1DatabaseCon-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::DatabaseCon Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for ripple::DatabaseCon:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1DatabaseCon__coll__graph.png" border="0" usemap="#aripple_1_1DatabaseCon_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1DatabaseCon_coll__map" id="aripple_1_1DatabaseCon_coll__map">
<area shape="rect" title=" " alt="" coords="829,85,984,111"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="521,5,679,31"/>
<area shape="poly" title=" " alt="" coords="678,31,806,62,871,83,869,88,805,67,677,36"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="520,55,680,95"/>
<area shape="poly" title=" " alt="" coords="694,80,829,90,829,95,694,85"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="515,119,685,159"/>
<area shape="poly" title=" " alt="" coords="699,123,829,106,830,111,699,129"/>
<area shape="rect" href="classripple_1_1Checkpointer.html" title=" " alt="" coords="261,127,415,152"/>
<area shape="poly" title=" " alt="" coords="428,137,514,137,514,142,428,142"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,119,212,159"/>
<area shape="poly" title=" " alt="" coords="226,137,261,137,261,142,226,142"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="545,184,655,209"/>
<area shape="poly" title=" " alt="" coords="668,180,735,164,804,142,880,108,882,113,806,147,736,169,669,185"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="265,184,411,209"/>
<area shape="poly" title=" " alt="" coords="425,194,544,194,544,199,425,199"/>
</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="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">CheckpointerSetup</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">Setup</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:a919c8e53c413ea84d63b98b9023bbcd5" id="r_a919c8e53c413ea84d63b98b9023bbcd5"><td class="memTemplParams" colspan="2">template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </td></tr>
<tr class="memitem:a919c8e53c413ea84d63b98b9023bbcd5"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a919c8e53c413ea84d63b98b9023bbcd5">DatabaseCon</a> (<a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">Setup</a> const &amp;setup, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;dbName, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;pragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;initSQL, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="separator:a919c8e53c413ea84d63b98b9023bbcd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72eff6441ba465554f9249db716c5b05" id="r_a72eff6441ba465554f9249db716c5b05"><td class="memTemplParams" colspan="2">template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </td></tr>
<tr class="memitem:a72eff6441ba465554f9249db716c5b05"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a72eff6441ba465554f9249db716c5b05">DatabaseCon</a> (<a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">Setup</a> const &amp;setup, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;dbName, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;pragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;initSQL, <a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">CheckpointerSetup</a> const &amp;checkpointerSetup, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="separator:a72eff6441ba465554f9249db716c5b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afabcd2070e5b3d3b778e8cf543d80af2" id="r_afabcd2070e5b3d3b778e8cf543d80af2"><td class="memTemplParams" colspan="2">template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </td></tr>
<tr class="memitem:afabcd2070e5b3d3b778e8cf543d80af2"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#afabcd2070e5b3d3b778e8cf543d80af2">DatabaseCon</a> (boost::filesystem::path const &amp;dataDir, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;dbName, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;pragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;initSQL, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="separator:afabcd2070e5b3d3b778e8cf543d80af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fa188d261fbfb3fff99453babc500cc" id="r_a3fa188d261fbfb3fff99453babc500cc"><td class="memTemplParams" colspan="2">template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </td></tr>
<tr class="memitem:a3fa188d261fbfb3fff99453babc500cc"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a3fa188d261fbfb3fff99453babc500cc">DatabaseCon</a> (boost::filesystem::path const &amp;dataDir, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;dbName, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;pragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;initSQL, <a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">CheckpointerSetup</a> const &amp;checkpointerSetup, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="separator:a3fa188d261fbfb3fff99453babc500cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a784d46c18b89d5b6a75806ff452f37ef" id="r_a784d46c18b89d5b6a75806ff452f37ef"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a784d46c18b89d5b6a75806ff452f37ef">~DatabaseCon</a> ()</td></tr>
<tr class="separator:a784d46c18b89d5b6a75806ff452f37ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af95a62803d72bbcc3b53e3de678dd7bd" id="r_af95a62803d72bbcc3b53e3de678dd7bd"><td class="memItemLeft" align="right" valign="top">soci::session &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#af95a62803d72bbcc3b53e3de678dd7bd">getSession</a> ()</td></tr>
<tr class="separator:af95a62803d72bbcc3b53e3de678dd7bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16c6f729c6462f6200b724543f5c67bc" id="r_a16c6f729c6462f6200b724543f5c67bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LockedSociSession.html">LockedSociSession</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a16c6f729c6462f6200b724543f5c67bc">checkoutDb</a> ()</td></tr>
<tr class="separator:a16c6f729c6462f6200b724543f5c67bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a041741f7c254fa37958c92c087a20718" id="r_a041741f7c254fa37958c92c087a20718"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a041741f7c254fa37958c92c087a20718">setupCheckpointing</a> (<a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> *, <a class="el" href="classripple_1_1Logs.html">Logs</a> &amp;)</td></tr>
<tr class="separator:a041741f7c254fa37958c92c087a20718"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace11a1bd2fd5d29b5339af6d2def3f96" id="r_ace11a1bd2fd5d29b5339af6d2def3f96"><td class="memTemplParams" colspan="2">template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </td></tr>
<tr class="memitem:ace11a1bd2fd5d29b5339af6d2def3f96"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#ace11a1bd2fd5d29b5339af6d2def3f96">DatabaseCon</a> (boost::filesystem::path const &amp;pPath, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &gt; const *commonPragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;pragma, <a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;initSQL, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="separator:ace11a1bd2fd5d29b5339af6d2def3f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a7a8a6cb63bae80cb351c10208ce3706f" id="r_a7a8a6cb63bae80cb351c10208ce3706f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1LockedSociSession.html#ac4db276fa55171b226b84ea36a0352d4">LockedSociSession::mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a7a8a6cb63bae80cb351c10208ce3706f">lock_</a></td></tr>
<tr class="separator:a7a8a6cb63bae80cb351c10208ce3706f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd4593b4e99431101e953a95b82a0527" id="r_abd4593b4e99431101e953a95b82a0527"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; soci::session &gt; const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#abd4593b4e99431101e953a95b82a0527">session_</a></td></tr>
<tr class="separator:abd4593b4e99431101e953a95b82a0527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0b7c9ad5a89e29fe9469fbc56c6c2ca" id="r_ad0b7c9ad5a89e29fe9469fbc56c6c2ca"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt; <a class="el" href="classripple_1_1Checkpointer.html">Checkpointer</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#ad0b7c9ad5a89e29fe9469fbc56c6c2ca">checkpointer_</a></td></tr>
<tr class="separator:ad0b7c9ad5a89e29fe9469fbc56c6c2ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a061d6366245e91cb59eebe8853602fd8" id="r_a061d6366245e91cb59eebe8853602fd8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1DatabaseCon.html#a061d6366245e91cb59eebe8853602fd8">j_</a></td></tr>
<tr class="separator:a061d6366245e91cb59eebe8853602fd8"><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="DatabaseCon_8h_source.html#l00066">66</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a919c8e53c413ea84d63b98b9023bbcd5" name="a919c8e53c413ea84d63b98b9023bbcd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a919c8e53c413ea84d63b98b9023bbcd5">&#9670;&#160;</a></span>DatabaseCon() <span class="overload">[1/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </div>
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::DatabaseCon </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">Setup</a> const &amp;&#160;</td>
<td class="paramname"><em>setup</em>, </td>
</tr>
<tr>
<td class="paramkey"></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>dbName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;&#160;</td>
<td class="paramname"><em>pragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;&#160;</td>
<td class="paramname"><em>initSQL</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00103">103</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a72eff6441ba465554f9249db716c5b05" name="a72eff6441ba465554f9249db716c5b05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72eff6441ba465554f9249db716c5b05">&#9670;&#160;</a></span>DatabaseCon() <span class="overload">[2/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </div>
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::DatabaseCon </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1Setup.html">Setup</a> const &amp;&#160;</td>
<td class="paramname"><em>setup</em>, </td>
</tr>
<tr>
<td class="paramkey"></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>dbName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;&#160;</td>
<td class="paramname"><em>pragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;&#160;</td>
<td class="paramname"><em>initSQL</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">CheckpointerSetup</a> const &amp;&#160;</td>
<td class="paramname"><em>checkpointerSetup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00125">125</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="afabcd2070e5b3d3b778e8cf543d80af2" name="afabcd2070e5b3d3b778e8cf543d80af2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afabcd2070e5b3d3b778e8cf543d80af2">&#9670;&#160;</a></span>DatabaseCon() <span class="overload">[3/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </div>
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::DatabaseCon </td>
<td>(</td>
<td class="paramtype">boost::filesystem::path const &amp;&#160;</td>
<td class="paramname"><em>dataDir</em>, </td>
</tr>
<tr>
<td class="paramkey"></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>dbName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;&#160;</td>
<td class="paramname"><em>pragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;&#160;</td>
<td class="paramname"><em>initSQL</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00138">138</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a3fa188d261fbfb3fff99453babc500cc" name="a3fa188d261fbfb3fff99453babc500cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fa188d261fbfb3fff99453babc500cc">&#9670;&#160;</a></span>DatabaseCon() <span class="overload">[4/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </div>
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::DatabaseCon </td>
<td>(</td>
<td class="paramtype">boost::filesystem::path const &amp;&#160;</td>
<td class="paramname"><em>dataDir</em>, </td>
</tr>
<tr>
<td class="paramkey"></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>dbName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;&#160;</td>
<td class="paramname"><em>pragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;&#160;</td>
<td class="paramname"><em>initSQL</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structripple_1_1DatabaseCon_1_1CheckpointerSetup.html">CheckpointerSetup</a> const &amp;&#160;</td>
<td class="paramname"><em>checkpointerSetup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00150">150</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a784d46c18b89d5b6a75806ff452f37ef" name="a784d46c18b89d5b6a75806ff452f37ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a784d46c18b89d5b6a75806ff452f37ef">&#9670;&#160;</a></span>~DatabaseCon()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::~DatabaseCon </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="DatabaseCon_8cpp_source.html#l00066">66</a> of file <a class="el" href="DatabaseCon_8cpp_source.html">DatabaseCon.cpp</a>.</p>
</div>
</div>
<a id="ace11a1bd2fd5d29b5339af6d2def3f96" name="ace11a1bd2fd5d29b5339af6d2def3f96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace11a1bd2fd5d29b5339af6d2def3f96">&#9670;&#160;</a></span>DatabaseCon() <span class="overload">[5/5]</span></h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> N, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> M&gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::DatabaseCon::DatabaseCon </td>
<td>(</td>
<td class="paramtype">boost::filesystem::path const &amp;&#160;</td>
<td class="paramname"><em>pPath</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> &gt; const *&#160;</td>
<td class="paramname"><em>commonPragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, N &gt; const &amp;&#160;</td>
<td class="paramname"><em>pragma</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/array.html">std::array</a>&lt; char const *, M &gt; const &amp;&#160;</td>
<td class="paramname"><em>initSQL</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00188">188</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af95a62803d72bbcc3b53e3de678dd7bd" name="af95a62803d72bbcc3b53e3de678dd7bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af95a62803d72bbcc3b53e3de678dd7bd">&#9670;&#160;</a></span>getSession()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">soci::session &amp; ripple::DatabaseCon::getSession </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="DatabaseCon_8h_source.html#l00165">165</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a16c6f729c6462f6200b724543f5c67bc" name="a16c6f729c6462f6200b724543f5c67bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16c6f729c6462f6200b724543f5c67bc">&#9670;&#160;</a></span>checkoutDb()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1LockedSociSession.html">LockedSociSession</a> ripple::DatabaseCon::checkoutDb </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="DatabaseCon_8h_source.html#l00171">171</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a041741f7c254fa37958c92c087a20718" name="a041741f7c254fa37958c92c087a20718"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a041741f7c254fa37958c92c087a20718">&#9670;&#160;</a></span>setupCheckpointing()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::DatabaseCon::setupCheckpointing </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> *&#160;</td>
<td class="paramname"><em>q</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Logs.html">Logs</a> &amp;&#160;</td>
<td class="paramname"><em>l</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8cpp_source.html#l00261">261</a> of file <a class="el" href="DatabaseCon_8cpp_source.html">DatabaseCon.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a7a8a6cb63bae80cb351c10208ce3706f" name="a7a8a6cb63bae80cb351c10208ce3706f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a8a6cb63bae80cb351c10208ce3706f">&#9670;&#160;</a></span>lock_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1LockedSociSession.html#ac4db276fa55171b226b84ea36a0352d4">LockedSociSession::mutex</a> ripple::DatabaseCon::lock_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00220">220</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="abd4593b4e99431101e953a95b82a0527" name="abd4593b4e99431101e953a95b82a0527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd4593b4e99431101e953a95b82a0527">&#9670;&#160;</a></span>session_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;soci::session&gt; const ripple::DatabaseCon::session_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00228">228</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="ad0b7c9ad5a89e29fe9469fbc56c6c2ca" name="ad0b7c9ad5a89e29fe9469fbc56c6c2ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0b7c9ad5a89e29fe9469fbc56c6c2ca">&#9670;&#160;</a></span>checkpointer_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>&lt;<a class="el" href="classripple_1_1Checkpointer.html">Checkpointer</a>&gt; ripple::DatabaseCon::checkpointer_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00229">229</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</a>.</p>
</div>
</div>
<a id="a061d6366245e91cb59eebe8853602fd8" name="a061d6366245e91cb59eebe8853602fd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a061d6366245e91cb59eebe8853602fd8">&#9670;&#160;</a></span>j_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const ripple::DatabaseCon::j_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="DatabaseCon_8h_source.html#l00231">231</a> of file <a class="el" href="DatabaseCon_8h_source.html">DatabaseCon.h</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>