Skip to content

Namespace filesys

Namespace List > filesys

Classes

Type Name
struct file_closer
struct file_deleter

Public Types

Type Name
typedef std::unique_ptr< FILE, file_closer > auto_close_file
typedef std::unique_ptr< const char, file_deleter > auto_delete_file

Public Functions

Type Name
std::pair< std::string, FILE * > open_temp_file (const char * prefix, const char * mode="w", int flags=0)
std::pair< std::string, int > open_temp_filedes (const char * prefix, int flags=0)
std::string temp_directory_path (void)

Public Types Documentation

typedef auto_close_file

using filesys::auto_close_file = typedef std::unique_ptr<FILE, file_closer>;

typedef auto_delete_file

using filesys::auto_delete_file = typedef std::unique_ptr<const char, file_deleter>;

Public Functions Documentation

function open_temp_file

std::pair< std::string, FILE * > filesys::open_temp_file (
    const  char * prefix,
    const  char * mode="w",
    int flags=0
) 

function open_temp_filedes

std::pair< std::string, int > filesys::open_temp_filedes (
    const  char * prefix,
    int flags=0
) 

function temp_directory_path

std::string filesys::temp_directory_path (
    void
) 


The documentation for this class was generated from the following file cubrid/src/base/filesys.hpp