MIRA
Public Member Functions | Protected Attributes | List of all members
ogzstream Class Reference

Use igzstream and ogzstream analogously to ifstream and ofstream respectively. More...

#include <stream/GzStream.h>

Inheritance diagram for ogzstream:
Inheritance graph
[legend]

Public Member Functions

 ogzstream ()
 
 ogzstream (const char *name, int mode=std::ios::out)
 
gzstreambufrdbuf ()
 
void open (const char *name, int open_mode=std::ios::out)
 
void close ()
 

Protected Attributes

gzstreambuf buf
 

Detailed Description

Use igzstream and ogzstream analogously to ifstream and ofstream respectively.

They read and write files based on the gz* function interface of the zlib. Files are compatible with gzip compression.

Constructor & Destructor Documentation

◆ ogzstream() [1/2]

ogzstream ( )
inline

◆ ogzstream() [2/2]

ogzstream ( const char *  name,
int  mode = std::ios::out 
)
inline

Member Function Documentation

◆ rdbuf()

gzstreambuf* rdbuf ( )
inline

◆ open()

void open ( const char *  name,
int  open_mode = std::ios::out 
)
inline

◆ close()

void close ( )
inherited

Member Data Documentation

◆ buf

gzstreambuf buf
protectedinherited

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