RIIA wrapper for std::FILE*. More...
Public Member Functions | |
CFile (const CFile &)=delete | |
CFile (const std::string &path, const std::string &mode) | |
CFile (void)=delete | |
~CFile (void) | |
void | close (void) |
CFile & | operator= (const CFile &)=delete |
Public Attributes | |
std::FILE * | m_fp |
RIIA wrapper for std::FILE*.
If error handling is available for failing to close the file, use the close method which throws.
If the file has been closed, fp is set to nullptr. Remember that behavior is undefined if the value of the pointer stream is used after fclose.
|
delete |
|
inline |
|
delete |
std::FILE* octave::CFile::m_fp |