Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
dev::TransientDirectory Class Reference

temporary directory implementation It creates temporary directory in the given path. More...

#include <TransientDirectory.h>

Public Member Functions

 TransientDirectory ()
 
 TransientDirectory (std::string const &_path)
 
 ~TransientDirectory ()
 
std::string const & path () const
 

Private Attributes

std::string m_path
 

Detailed Description

temporary directory implementation It creates temporary directory in the given path.

On dealloc it removes the directory

Exceptions
ifthe given path already exists, throws an exception

Definition at line 34 of file TransientDirectory.h.

Constructor & Destructor Documentation

TransientDirectory::TransientDirectory ( )

Definition at line 32 of file TransientDirectory.cpp.

TransientDirectory::TransientDirectory ( std::string const &  _path)

Definition at line 36 of file TransientDirectory.cpp.

TransientDirectory::~TransientDirectory ( )

Definition at line 48 of file TransientDirectory.cpp.

Member Function Documentation

std::string const& dev::TransientDirectory::path ( ) const
inline

Definition at line 41 of file TransientDirectory.h.

Here is the caller graph for this function:

Member Data Documentation

std::string dev::TransientDirectory::m_path
private

Definition at line 44 of file TransientDirectory.h.


The documentation for this class was generated from the following files: