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

518 lines
30 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::detail::FileDirGuard 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="namespaceripple_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html">FileDirGuard</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1detail_1_1FileDirGuard-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::detail::FileDirGuard Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Write a file in a directory and remove when done.
<a href="classripple_1_1detail_1_1FileDirGuard.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ripple::detail::FileDirGuard:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1detail_1_1FileDirGuard__inherit__graph.png" border="0" usemap="#aripple_1_1detail_1_1FileDirGuard_inherit__map" alt="Inheritance graph"/></div>
<map name="aripple_1_1detail_1_1FileDirGuard_inherit__map" id="aripple_1_1detail_1_1FileDirGuard_inherit__map">
<area shape="rect" title="Write a file in a directory and remove when done." alt="" coords="101,79,295,104"/>
<area shape="rect" href="classripple_1_1detail_1_1RippledCfgGuard.html" title="Write a rippled config file and remove when done." alt="" coords="5,152,188,192"/>
<area shape="poly" title=" " alt="" coords="174,114,123,154,119,150,171,110"/>
<area shape="rect" href="classripple_1_1detail_1_1ValidatorsTxtGuard.html" title="Write a validators.txt file and remove when done." alt="" coords="212,152,389,192"/>
<area shape="poly" title=" " alt="" coords="225,110,278,150,274,154,222,114"/>
<area shape="rect" href="classripple_1_1detail_1_1DirGuard.html" title="Create a directory and remove it when it&#39;s done." alt="" coords="113,5,283,31"/>
<area shape="poly" title=" " alt="" coords="201,44,201,79,195,79,195,44"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::detail::FileDirGuard:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1detail_1_1FileDirGuard__coll__graph.png" border="0" usemap="#aripple_1_1detail_1_1FileDirGuard_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1detail_1_1FileDirGuard_coll__map" id="aripple_1_1detail_1_1FileDirGuard_coll__map">
<area shape="rect" title="Write a file in a directory and remove when done." alt="" coords="1796,132,1989,157"/>
<area shape="rect" href="classripple_1_1detail_1_1DirGuard.html" title="Create a directory and remove it when it&#39;s done." alt="" coords="1541,132,1711,157"/>
<area shape="poly" title=" " alt="" coords="1725,142,1796,142,1796,147,1725,147"/>
<area shape="rect" href="classbeast_1_1unit__test_1_1suite.html" title="A testsuite class." alt="" coords="1261,140,1424,165"/>
<area shape="poly" title=" " alt="" coords="1438,150,1513,149,1540,148,1540,153,1513,154,1438,155"/>
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1log__buf.html" title=" " alt="" coords="1537,245,1715,314"/>
<area shape="poly" title=" " alt="" coords="1371,172,1409,201,1455,228,1496,244,1538,258,1536,263,1494,249,1452,232,1406,205,1368,176"/>
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1testcase__t.html" title=" " alt="" coords="1545,42,1707,82"/>
<area shape="poly" title=" " alt="" coords="1414,134,1512,106,1580,80,1582,85,1514,111,1415,139"/>
<area shape="rect" href="classbeast_1_1unit__test_1_1runner.html" title="Unit test runner interface." alt="" coords="981,140,1154,165"/>
<area shape="poly" title=" " alt="" coords="1168,150,1261,150,1261,155,1168,155"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="756,175,843,200"/>
<area shape="poly" title=" " alt="" coords="856,178,956,165,980,162,980,167,956,170,857,183"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="385,167,523,207"/>
<area shape="poly" title=" " alt="" coords="537,185,756,185,756,190,537,190"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title=" " alt="" coords="720,125,879,151"/>
<area shape="poly" title=" " alt="" coords="892,140,981,145,980,151,892,146"/>
<area shape="rect" href="classbeast_1_1unit__test_1_1suite_1_1log__os.html" title=" " alt="" coords="1811,259,1974,299"/>
<area shape="poly" title=" " alt="" coords="1805,258,1714,235,1407,168,1408,163,1715,230,1806,253"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" title=" " alt="" coords="551,286,696,326"/>
<area shape="poly" title=" " alt="" coords="710,323,814,340,871,346,928,349,1627,349,1687,344,1747,331,1801,314,1846,297,1848,302,1803,319,1748,336,1688,349,1627,354,928,354,871,352,813,346,709,328"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_ios.html" title=" " alt="" coords="161,104,332,129"/>
<area shape="poly" title=" " alt="" coords="274,137,322,177,383,217,469,256,551,284,550,289,467,261,380,222,319,181,270,141"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_istream.html" title=" " alt="" coords="383,33,525,73"/>
<area shape="poly" title=" " alt="" coords="301,97,388,70,389,75,303,102"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_ostream.html" title=" " alt="" coords="381,97,527,137"/>
<area shape="poly" title=" " alt="" coords="346,114,381,114,381,119,346,119"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/ios_base.html" title=" " alt="" coords="5,104,112,129"/>
<area shape="poly" title=" " alt="" coords="126,114,161,114,161,119,126,119"/>
<area shape="poly" title=" " alt="" coords="1729,277,1811,277,1811,282,1729,282"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_stringbuf.html" title=" " alt="" coords="1256,245,1429,314"/>
<area shape="poly" title=" " alt="" coords="1443,277,1537,277,1537,282,1443,282"/>
<area shape="poly" title=" " alt="" coords="1532,75,1454,94,1404,117,1363,142,1361,138,1401,113,1452,89,1530,70"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_stringstream.html" title=" " alt="" coords="1276,5,1409,31"/>
<area shape="poly" title=" " alt="" coords="1423,28,1545,47,1544,52,1423,33"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_stringstream.html" title=" " alt="" coords="980,27,1155,67"/>
<area shape="poly" title=" " alt="" coords="1168,34,1276,22,1276,28,1169,39"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/io/basic_iostream.html" title=" " alt="" coords="725,33,874,73"/>
<area shape="poly" title=" " alt="" coords="888,48,980,46,980,52,888,54"/>
<area shape="poly" title=" " alt="" coords="538,50,725,50,725,55,538,55"/>
<area shape="poly" title=" " alt="" coords="540,98,724,64,725,69,540,103"/>
</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="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae2301c461f8b74bbf520ba72ea54f39f" id="r_ae2301c461f8b74bbf520ba72ea54f39f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#ae2301c461f8b74bbf520ba72ea54f39f">FileDirGuard</a> (<a class="el" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a> &amp;test, <a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> subDir, <a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> <a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#a6322a69df2d60cafa72257d3f4d225b2">file</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;contents, bool useCounter=true, bool create=true)</td></tr>
<tr class="separator:ae2301c461f8b74bbf520ba72ea54f39f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93a45612484acfa9ff11a3708113361c" id="r_a93a45612484acfa9ff11a3708113361c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#a93a45612484acfa9ff11a3708113361c">~FileDirGuard</a> ()</td></tr>
<tr class="separator:a93a45612484acfa9ff11a3708113361c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6322a69df2d60cafa72257d3f4d225b2" id="r_a6322a69df2d60cafa72257d3f4d225b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#a6322a69df2d60cafa72257d3f4d225b2">file</a> () const</td></tr>
<tr class="separator:a6322a69df2d60cafa72257d3f4d225b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafd2554dee8d96bc5a4d560781ad9928" id="r_aafd2554dee8d96bc5a4d560781ad9928"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#aafd2554dee8d96bc5a4d560781ad9928">fileExists</a> () const</td></tr>
<tr class="separator:aafd2554dee8d96bc5a4d560781ad9928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb8e7ee054d43e8f8e1e7ba92b04938" id="r_acbb8e7ee054d43e8f8e1e7ba92b04938"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#acbb8e7ee054d43e8f8e1e7ba92b04938">subdir</a> () const</td></tr>
<tr class="separator:acbb8e7ee054d43e8f8e1e7ba92b04938"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-types" name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:ac1cbb9da42bffb553e40d7cec2e2ae9c" id="r_ac1cbb9da42bffb553e40d7cec2e2ae9c"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> = boost::filesystem::path</td></tr>
<tr class="separator:ac1cbb9da42bffb553e40d7cec2e2ae9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a157d1d80bdd3125da4aefba451ec0033" id="r_a157d1d80bdd3125da4aefba451ec0033"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#a157d1d80bdd3125da4aefba451ec0033">rmDir</a> (<a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp;toRm)</td></tr>
<tr class="separator:a157d1d80bdd3125da4aefba451ec0033"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2b748d67f43af40cf586ca65375d9289" id="r_a2b748d67f43af40cf586ca65375d9289"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#a2b748d67f43af40cf586ca65375d9289">file_</a></td></tr>
<tr class="separator:a2b748d67f43af40cf586ca65375d9289"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae668493063423ee28179d5f9651e75db" id="r_ae668493063423ee28179d5f9651e75db"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1FileDirGuard.html#ae668493063423ee28179d5f9651e75db">created_</a> = false</td></tr>
<tr class="separator:ae668493063423ee28179d5f9651e75db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af458a32540519f32cae05486ae390549" id="r_af458a32540519f32cae05486ae390549"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#af458a32540519f32cae05486ae390549">test_</a></td></tr>
<tr class="separator:af458a32540519f32cae05486ae390549"><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:a781be762cb68422322aa54ad3e0e0909" id="r_a781be762cb68422322aa54ad3e0e0909"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#a781be762cb68422322aa54ad3e0e0909">subDir_</a></td></tr>
<tr class="separator:a781be762cb68422322aa54ad3e0e0909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7b4ea5ce268e950968b5a4272fb59be" id="r_ae7b4ea5ce268e950968b5a4272fb59be"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ae7b4ea5ce268e950968b5a4272fb59be">rmSubDir_</a> {false}</td></tr>
<tr class="separator:ae7b4ea5ce268e950968b5a4272fb59be"><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>Write a file in a directory and remove when done. </p>
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00091">91</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ac1cbb9da42bffb553e40d7cec2e2ae9c" name="ac1cbb9da42bffb553e40d7cec2e2ae9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1cbb9da42bffb553e40d7cec2e2ae9c">&#9670;&#160;</a></span>path</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">using <a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">ripple::detail::DirGuard::path</a> = boost::filesystem::path</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00021">21</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae2301c461f8b74bbf520ba72ea54f39f" name="ae2301c461f8b74bbf520ba72ea54f39f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2301c461f8b74bbf520ba72ea54f39f">&#9670;&#160;</a></span>FileDirGuard()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::detail::FileDirGuard::FileDirGuard </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1unit__test_1_1suite.html">beast::unit_test::suite</a> &amp;&#160;</td>
<td class="paramname"><em>test</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a>&#160;</td>
<td class="paramname"><em>subDir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a>&#160;</td>
<td class="paramname"><em>file</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>contents</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>useCounter</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>create</em> = <code>true</code>&#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="FileDirGuard_8h_source.html#l00098">98</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="a93a45612484acfa9ff11a3708113361c" name="a93a45612484acfa9ff11a3708113361c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93a45612484acfa9ff11a3708113361c">&#9670;&#160;</a></span>~FileDirGuard()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::detail::FileDirGuard::~FileDirGuard </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="FileDirGuard_8h_source.html#l00124">124</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a6322a69df2d60cafa72257d3f4d225b2" name="a6322a69df2d60cafa72257d3f4d225b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6322a69df2d60cafa72257d3f4d225b2">&#9670;&#160;</a></span>file()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp; ripple::detail::FileDirGuard::file </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00148">148</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="aafd2554dee8d96bc5a4d560781ad9928" name="aafd2554dee8d96bc5a4d560781ad9928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafd2554dee8d96bc5a4d560781ad9928">&#9670;&#160;</a></span>fileExists()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::FileDirGuard::fileExists </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00154">154</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="a157d1d80bdd3125da4aefba451ec0033" name="a157d1d80bdd3125da4aefba451ec0033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a157d1d80bdd3125da4aefba451ec0033">&#9670;&#160;</a></span>rmDir()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">auto ripple::detail::DirGuard::rmDir </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp;&#160;</td>
<td class="paramname"><em>toRm</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00031">31</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="acbb8e7ee054d43e8f8e1e7ba92b04938" name="acbb8e7ee054d43e8f8e1e7ba92b04938"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbb8e7ee054d43e8f8e1e7ba92b04938">&#9670;&#160;</a></span>subdir()</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_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const &amp; ripple::detail::DirGuard::subdir </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00082">82</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2b748d67f43af40cf586ca65375d9289" name="a2b748d67f43af40cf586ca65375d9289"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b748d67f43af40cf586ca65375d9289">&#9670;&#160;</a></span>file_</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_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> const ripple::detail::FileDirGuard::file_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00094">94</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="ae668493063423ee28179d5f9651e75db" name="ae668493063423ee28179d5f9651e75db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae668493063423ee28179d5f9651e75db">&#9670;&#160;</a></span>created_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::FileDirGuard::created_ = false</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00095">95</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="a781be762cb68422322aa54ad3e0e0909" name="a781be762cb68422322aa54ad3e0e0909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a781be762cb68422322aa54ad3e0e0909">&#9670;&#160;</a></span>subDir_</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_1detail_1_1DirGuard.html#ac1cbb9da42bffb553e40d7cec2e2ae9c">path</a> ripple::detail::DirGuard::subDir_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00024">24</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="ae7b4ea5ce268e950968b5a4272fb59be" name="ae7b4ea5ce268e950968b5a4272fb59be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7b4ea5ce268e950968b5a4272fb59be">&#9670;&#160;</a></span>rmSubDir_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ripple::detail::DirGuard::rmSubDir_ {false}</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00025">25</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.h</a>.</p>
</div>
</div>
<a id="af458a32540519f32cae05486ae390549" name="af458a32540519f32cae05486ae390549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af458a32540519f32cae05486ae390549">&#9670;&#160;</a></span>test_</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_1unit__test_1_1suite.html">beast::unit_test::suite</a>&amp; ripple::detail::DirGuard::test_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="FileDirGuard_8h_source.html#l00028">28</a> of file <a class="el" href="FileDirGuard_8h_source.html">FileDirGuard.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>