9#ifndef CFileGZOutputStream_H
10#define CFileGZOutputStream_H
28#if !MRPT_HAS_GZ_STREAMS
30# define CFileGZOutputStream CFileOutputStream
51 virtual ~CFileGZOutputStream();
58 bool open(
const std::string &fileName,
int compress_level = 1 );
60 bool fileOpenCorrectly();
61 bool is_open() {
return fileOpenCorrectly(); }
65 uint64_t Seek(uint64_t Offset, CStream::TSeekOrigin Origin = sFromBeginning)
MRPT_OVERRIDE
#define CFileGZOutputStream
Saves data to a file and transparently compress the data using the given compression level.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
#define THROW_EXCEPTION(msg)
#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.