Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Static Public Member Functions | List of all members
seastar::tmp_file Class Reference

Public Member Functions

 tmp_file (const tmp_file &)=delete
 
 tmp_file (tmp_file &&x) noexcept
 
tmp_fileoperator= (tmp_file &&) noexcept=default
 
future open (std::filesystem::path path_template=default_tmpdir(), open_flags oflags=open_flags::rw, file_open_options options={}) noexcept
 
future close () noexcept
 
future remove () noexcept
 
bool has_path () const
 
bool is_open () const
 
const std::filesystem::path & get_path () const
 
fileget_file ()
 

Static Public Member Functions

template<typename Func >
static future do_with (std::filesystem::path path_template, Func &&func, open_flags oflags=open_flags::rw, file_open_options options={}) noexcept
 
template<typename Func >
static future do_with (Func &&func) noexcept
 

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