9 #ifndef CFileOutputStream_H
10 #define CFileOutputStream_H
33 size_t Read(
void *Buffer,
size_t Count);
38 size_t Write(
const void *Buffer,
size_t Count);
52 const std::string &fileName,
66 bool open(
const std::string &fileName,
bool append =
false );
77 bool fileOpenCorrectly();
86 uint64_t getTotalBytesCount();
90 uint64_t getPosition();
std::ofstream m_of
The actual output file stream.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
This CStream derived class allow using a file as a write-only, binary stream.
TSeekOrigin
Used in CStream::Seek.
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.