28 virtual bool isOpen() = 0;
30 virtual void seek(
const std::streampos& position) = 0;
31 virtual void seek(
const std::streampos& offset, std::ios_base::seekdir way) = 0;
33 virtual void read(
char* out,
const std::size_t size) = 0;
35 virtual bool isEOF() = 0;
36 virtual void write(
const char* buffer,
const std::size_t size) = 0;
37 virtual std::string readLine() = 0;
39 virtual std::streampos tell() = 0;
41 virtual void openForWrite() = 0;
42 virtual void openForRead() = 0;
43 virtual void openForReadAndWrite() = 0;
45 virtual bool exists() = 0;
46 virtual bool deleteFile() = 0;
Definition: filehandlebase.hpp:23
const std::string mPath
The file path this handle refers to.
Definition: filehandlebase.hpp:49