fXstream< _BStream, _StreamBuf > Class Template Reference

Common template to define ifgzstream/ofgzstream reading/writing gzip files. More...

#include <gzstream.h>

List of all members.

Public Types

typedef _BStream stream_type
typedef _StreamBuf streambuf_type

Public Member Functions

 fXstream ()
 fXstream (const char *file_r)
virtual ~fXstream ()
bool is_open () const
void open (const char *file_r)
void close ()
ZlibError zError () const

Private Member Functions

std::ios_base::openmode defMode (const std::istream &str_r)
std::ios_base::openmode defMode (const std::ostream &str_r)

Private Attributes

streambuf_type _streambuf


Detailed Description

template<class _BStream, class _StreamBuf>
class fXstream< _BStream, _StreamBuf >

Common template to define ifgzstream/ofgzstream reading/writing gzip files.

Don't use fXstream directly, but ifgzstream or ofgzstream. fXstream is just to aviod almost duplicate code.


Member Typedef Documentation

template<class _BStream, class _StreamBuf>
typedef _BStream fXstream< _BStream, _StreamBuf >::stream_type
 

template<class _BStream, class _StreamBuf>
typedef _StreamBuf fXstream< _BStream, _StreamBuf >::streambuf_type
 


Constructor & Destructor Documentation

template<class _BStream, class _StreamBuf>
fXstream< _BStream, _StreamBuf >::fXstream  )  [inline]
 

template<class _BStream, class _StreamBuf>
fXstream< _BStream, _StreamBuf >::fXstream const char *  file_r  )  [inline, explicit]
 

template<class _BStream, class _StreamBuf>
virtual fXstream< _BStream, _StreamBuf >::~fXstream  )  [inline, virtual]
 


Member Function Documentation

template<class _BStream, class _StreamBuf>
void fXstream< _BStream, _StreamBuf >::close  )  [inline]
 

template<class _BStream, class _StreamBuf>
std::ios_base::openmode fXstream< _BStream, _StreamBuf >::defMode const std::ostream &  str_r  )  [inline, private]
 

template<class _BStream, class _StreamBuf>
std::ios_base::openmode fXstream< _BStream, _StreamBuf >::defMode const std::istream &  str_r  )  [inline, private]
 

template<class _BStream, class _StreamBuf>
bool fXstream< _BStream, _StreamBuf >::is_open  )  const [inline]
 

template<class _BStream, class _StreamBuf>
void fXstream< _BStream, _StreamBuf >::open const char *  file_r  )  [inline]
 

template<class _BStream, class _StreamBuf>
ZlibError fXstream< _BStream, _StreamBuf >::zError  )  const [inline]
 

The last error returned retuned fron zlib.


Member Data Documentation

template<class _BStream, class _StreamBuf>
streambuf_type fXstream< _BStream, _StreamBuf >::_streambuf [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 15:51:35 2006 for liby2util by  doxygen 1.4.6