| 
    rippled
    
   | 
 
Create a directory and remove it when it's done. More...
#include <FileDirGuard.h>


Public Member Functions | |
| DirGuard (beast::unit_test::suite &test, path subDir, bool useCounter=true) | |
| ~DirGuard () | |
| path const & | subdir () const | 
Protected Types | |
| using | path = boost::filesystem::path | 
Protected Member Functions | |
| auto | rmDir (path const &toRm) | 
Protected Attributes | |
| beast::unit_test::suite & | test_ | 
Private Attributes | |
| path | subDir_ | 
| bool | rmSubDir_ {false} | 
Create a directory and remove it when it's done.
Definition at line 18 of file FileDirGuard.h.
      
  | 
  protected | 
Definition at line 21 of file FileDirGuard.h.
| ripple::detail::DirGuard::DirGuard | ( | beast::unit_test::suite & | test, | 
| path | subDir, | ||
| bool | useCounter = true  | 
        ||
| ) | 
Definition at line 41 of file FileDirGuard.h.
| ripple::detail::DirGuard::~DirGuard | ( | ) | 
Definition at line 65 of file FileDirGuard.h.
      
  | 
  protected | 
Definition at line 31 of file FileDirGuard.h.
| path const & ripple::detail::DirGuard::subdir | ( | ) | const | 
Definition at line 82 of file FileDirGuard.h.
      
  | 
  private | 
Definition at line 24 of file FileDirGuard.h.
      
  | 
  private | 
Definition at line 25 of file FileDirGuard.h.
      
  | 
  protected | 
Definition at line 28 of file FileDirGuard.h.