BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
fc::temp_file_base Class Reference

#include <filesystem.hpp>

Inheritance diagram for fc::temp_file_base:
fc::temp_directory fc::temp_file

Public Member Functions

 ~temp_file_base ()
 
 operator bool () const
 
bool operator! () const
 
const fc::pathpath () const
 
void remove ()
 
void release ()
 

Protected Types

typedef fc::optional< fc::pathpath_t
 

Protected Member Functions

 temp_file_base (const path_t &path)
 
 temp_file_base (path_t &&path)
 

Protected Attributes

path_t _path
 

Detailed Description

Class which creates a temporary directory inside an existing temporary directory.

Definition at line 192 of file filesystem.hpp.

Member Typedef Documentation

◆ path_t

Definition at line 202 of file filesystem.hpp.

Constructor & Destructor Documentation

◆ ~temp_file_base()

fc::temp_file_base::~temp_file_base ( )
inline

Definition at line 195 of file filesystem.hpp.

◆ temp_file_base() [1/2]

fc::temp_file_base::temp_file_base ( const path_t path)
inlineprotected

Definition at line 203 of file filesystem.hpp.

◆ temp_file_base() [2/2]

fc::temp_file_base::temp_file_base ( path_t &&  path)
inlineprotected

Definition at line 204 of file filesystem.hpp.

Member Function Documentation

◆ operator bool()

fc::temp_file_base::operator bool ( ) const
inline

Definition at line 196 of file filesystem.hpp.

◆ operator!()

bool fc::temp_file_base::operator! ( ) const
inline

Definition at line 197 of file filesystem.hpp.

◆ path()

const fc::path & fc::temp_file_base::path ( ) const

Definition at line 418 of file filesystem.cpp.

◆ release()

void fc::temp_file_base::release ( )

Definition at line 443 of file filesystem.cpp.

◆ remove()

void fc::temp_file_base::remove ( )

Definition at line 427 of file filesystem.cpp.

Member Data Documentation

◆ _path

path_t fc::temp_file_base::_path
protected

Definition at line 205 of file filesystem.hpp.


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