Wraps C-style FILE
structure.
More...
#include <utils.hpp>
Classes | |
struct | CFileDeleter |
Deleter for C-style FILE structure. | |
Public Member Functions | |
CFileWrapper () | |
CFileWrapper (const char *filename, const char *mode) | |
Works like doing open() . | |
~CFileWrapper () | |
void | open (const char *filename, const char *mode) |
Wrapper over fopen() . | |
FILE * | get () |
Wraps C-style FILE
structure.
Definition at line 117 of file utils.hpp.
CFileWrapper::CFileWrapper | ( | const char * | filename, | |
const char * | mode | |||
) | [inline] |
FILE* CFileWrapper::get | ( | ) | [inline] |
void CFileWrapper::open | ( | const char * | filename, | |
const char * | mode | |||
) | [inline] |