9 #ifndef CFileGZOutputStream_H 10 #define CFileGZOutputStream_H 27 #if !MRPT_HAS_GZ_STREAMS 29 #define CFileGZOutputStream CFileOutputStream 34 size_t Read(
void* Buffer,
size_t Count)
override;
35 size_t Write(
const void* Buffer,
size_t Count)
override;
64 bool open(
const std::string& fileName,
int compress_level = 1);
68 bool fileOpenCorrectly();
70 bool is_open() {
return fileOpenCorrectly(); }
85 uint64_t getTotalBytesCount()
override TSeekOrigin
Used in CStream::Seek.
#define THROW_EXCEPTION(msg)
#define MRPT_UNUSED_PARAM(a)
Can be used to avoid "not used parameters" warnings from the compiler.
GLsizei const GLchar ** string
unsigned __int64 uint64_t
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...
GLsizei const GLfloat * value