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

Detailed Description

A class that provides gzipped input stream functionality using zlib.

#include <GZstream.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ IGZstream() [1/2]

mio::IGZstream::IGZstream ( )

◆ ~IGZstream()

mio::IGZstream::~IGZstream ( )
override

◆ IGZstream() [2/2]

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

Constructor that opens a gzipped file for reading.

Parameters
filenameThe file to open

Member Function Documentation

◆ close()

void mio::IGZstream::close ( )

◆ is_open()

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

Check if the stream is open.

Returns
true if the file is open

◆ open()

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

Open a gzipped file for reading.

Parameters
filenameThe file to open

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