|
| File (boost::filesystem::path, std::string mode) |
|
| File (File &&other) |
|
File & | operator= (File &&other) |
|
| File (File const &)=delete |
|
File & | operator= (File const &)=delete |
|
| operator bool () const |
|
size_t | write (const void *ptr, size_t size, size_t nmemb) |
|
size_t | read (void *ptr, size_t size, size_t nmemb) |
|
int | eof () |
|
char * | gets (char *s, int size) |
|
int | puts (char const *s) |
|
int | seek (int64_t offset, int whence) |
|
int64_t | tell () |
|
int | error () |
|
void | checked_write (void const *ptr, size_t size) |
|
void | checked_read (void *ptr, size_t size) |
|
void | close () |
|
boost::filesystem::path | path () const |
|
FILE * | take () |
|
FILE * | get () |
|
int | open_error () const |
|
A wrapper for stdio files that gives RAII and allows us to open files with UTF-8 names on Windows.
Definition at line 48 of file file.h.