9 #ifndef CFileGZOutputStream_H 10 #define CFileGZOutputStream_H 28 #if !MRPT_HAS_GZ_STREAMS 30 # define CFileGZOutputStream CFileOutputStream 37 size_t Read(
void *Buffer,
size_t Count);
42 size_t Write(
const void *Buffer,
size_t Count);
66 bool open(
const std::string &fileName,
int compress_level = 1 );
77 bool fileOpenCorrectly();
81 uint64_t getPosition();
91 uint64_t getTotalBytesCount()
TSeekOrigin
Used in CStream::Seek.
#define THROW_EXCEPTION(msg)
class BASE_IMPEXP CStream
#define MRPT_UNUSED_PARAM(a)
Can be used to avoid "not used parameters" warnings from the compiler.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define CFileGZOutputStream
Saves data to a file and transparently compress the data using the given compression level...