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

#include <filesystem.hpp>

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

Public Member Functions

 temp_file (temp_file &&other)
 
temp_fileoperator= (temp_file &&other)
 
 temp_file (const fc::path &tempFolder=fc::temp_directory_path(), bool create=false)
 
- Public Member Functions inherited from fc::temp_file_base
 ~temp_file_base ()
 
 operator bool () const
 
bool operator! () const
 
const fc::pathpath () const
 
void remove ()
 
void release ()
 

Additional Inherited Members

- Protected Types inherited from fc::temp_file_base
typedef fc::optional< fc::pathpath_t
 
- Protected Member Functions inherited from fc::temp_file_base
 temp_file_base (const path_t &path)
 
 temp_file_base (path_t &&path)
 
- Protected Attributes inherited from fc::temp_file_base
path_t _path
 

Detailed Description

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

Definition at line 211 of file filesystem.hpp.

Constructor & Destructor Documentation

◆ temp_file() [1/2]

fc::temp_file::temp_file ( temp_file &&  other)

Definition at line 378 of file filesystem.cpp.

◆ temp_file() [2/2]

fc::temp_file::temp_file ( const fc::path tempFolder = fc::temp_directory_path(),
bool  create = false 
)

Definition at line 364 of file filesystem.cpp.

Member Function Documentation

◆ operator=()

temp_file & fc::temp_file::operator= ( temp_file &&  other)

Definition at line 383 of file filesystem.cpp.


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