MySQL 8.0.31
Source Code Documentation
stdx::io Namespace Reference

Namespaces

namespace  impl
 

Classes

class  file_handle
 
class  flag
 
class  path_handle
 

Enumerations

enum class  creation { open_existing = 0 , only_if_not_exist , if_needed , truncate_existing }
 
enum class  mode { unchanged = 0 , read = 6 , write = 7 , append = 9 }
 
enum class  caching { unchanged = 0 , none = 1 , all = 6 , temporary = 8 }
 

Functions

static std::error_code last_posix_error_code ()
 
static std::error_code last_error_code ()
 
static std::string random_string (size_t sz)
 get random hex string. More...
 

Enumeration Type Documentation

◆ caching

enum class stdx::io::caching
strong
Enumerator
unchanged 
none 
all 
temporary 

◆ creation

enum class stdx::io::creation
strong
Enumerator
open_existing 
only_if_not_exist 
if_needed 
truncate_existing 

◆ mode

enum class stdx::io::mode
strong
Enumerator
unchanged 
read 
write 
append 

Function Documentation

◆ last_error_code()

static std::error_code stdx::io::last_error_code ( )
static

◆ last_posix_error_code()

static std::error_code stdx::io::last_posix_error_code ( )
static

◆ random_string()

static std::string stdx::io::random_string ( size_t  sz)
static

get random hex string.

characters of the random string are from the range 0-9 and a-f.

Parameters
szsize of the hex-string
Returns
hex-string of size sz