47 size_t Read(
void *Buffer,
size_t Count);
52 size_t Write(
const void *Buffer,
size_t Count);
76 bool open(
const std::string &fileName, TFileOpenModes mode =
fomRead |
fomWrite );
88 bool fileOpenCorrectly();
101 uint64_t getTotalBytesCount();
105 uint64_t getPosition();
109 uint64_t getPositionI();
113 uint64_t getPositionO();
118 bool readLine( std::string &str );
std::fstream m_f
The actual input file stream.
TSeekOrigin
Used in CStream::Seek.
This CStream derived class allow using a file as a read/write binary stream, creating it if the file ...
int TFileOpenModes
File open modes are used in CFileStream Posible values are:
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
The base class of classes that cannot be copied: compile-time errors will be issued on any copy opera...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.