MeteoIODoc 20260726.8efb7964
Environmental timeseries pre-processing
Loading...
Searching...
No Matches
mio::OGZstream Class Reference

Detailed Description

A class that provides gzipped output stream functionality using zlib. Uses compression level 9 (best compression).

#include <GZstream.h>

Public Member Functions

 OGZstream ()
 
 ~OGZstream () override
 
 OGZstream (const std::string &filename)
 Constructor that opens a gzipped file for writing.
 
void open (const std::string &filename)
 Open a gzipped file for writing.
 
void close ()
 
bool is_open () const
 Check if the stream is open.
 

Constructor & Destructor Documentation

◆ OGZstream() [1/2]

mio::OGZstream::OGZstream ( )

◆ ~OGZstream()

mio::OGZstream::~OGZstream ( )
override

◆ OGZstream() [2/2]

mio::OGZstream::OGZstream ( const std::string &  filename)
explicit

Constructor that opens a gzipped file for writing.

Parameters
filenameThe file to open

Member Function Documentation

◆ close()

void mio::OGZstream::close ( )

◆ is_open()

bool mio::OGZstream::is_open ( ) const
inline

Check if the stream is open.

Returns
true if the file is open

◆ open()

void mio::OGZstream::open ( const std::string &  filename)

Open a gzipped file for writing.

Parameters
filenameThe file to open

The documentation for this class was generated from the following files: