POSIX-style file accessor.
More...
#include <tpie/file_accessor/posix.h>
|
void | open_ro (const std::string &path) |
|
void | open_wo (const std::string &path) |
|
bool | try_open_rw (const std::string &path) |
|
void | open_rw_new (const std::string &path) |
|
void | read_i (void *data, memory_size_type size) |
|
void | write_i (const void *data, memory_size_type size) |
|
void | seek_i (stream_size_type offset) |
|
stream_size_type | file_size_i () |
|
void | close_i () |
|
void | truncate_i (stream_size_type bytes) |
|
bool | is_open () const |
|
void | set_cache_hint (cache_hint cacheHint) |
|
|
static void | throw_errno (std::string path=std::string()) |
| Check the global errno variable and throw an exception that matches its value. More...
|
|
POSIX-style file accessor.
Definition at line 35 of file posix.h.
static void tpie::file_accessor::posix::throw_errno |
( |
std::string |
path = std::string() | ) |
|
|
inlinestatic |
Check the global errno variable and throw an exception that matches its value.
The documentation for this class was generated from the following file: