Jpp  18.3.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
igzstream Class Reference

#include <gzstream.h>

Inheritance diagram for igzstream:
gzstreambase JLANG::JGZFileReader< T >

Public Member Functions

 igzstream ()
 
 igzstream (const char *name, int open_mode=std::ios::in)
 
void open (const char *name, int open_mode=std::ios::in)
 
void close ()
 
gzstreambufrdbuf ()
 
bool is_open () const
 

Protected Attributes

gzstreambuf buf
 

Detailed Description

Definition at line 203 of file gzstream.h.

Constructor & Destructor Documentation

igzstream::igzstream ( )
inline

Definition at line 205 of file gzstream.h.

205 : std::istream( &buf) {}
gzstreambuf buf
Definition: gzstream.h:169
igzstream::igzstream ( const char *  name,
int  open_mode = std::ios::in 
)
inline

Definition at line 206 of file gzstream.h.

207  : gzstreambase( name, open_mode), std::istream( &buf) {}
then echo Enter input within $TIMEOUT_S seconds echo n User name
Definition: JCookie.sh:42
gzstreambuf buf
Definition: gzstream.h:169

Member Function Documentation

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

Definition at line 208 of file gzstream.h.

208  {
209  gzstreambase::open( name, open_mode);
210  }
then echo Enter input within $TIMEOUT_S seconds echo n User name
Definition: JCookie.sh:42
void open(const char *name, int open_mode)
Definition: gzstream.h:180
void gzstreambase::close ( )
inlineinherited

Definition at line 185 of file gzstream.h.

185  {
186  if ( buf.is_open()) {
187  if ( ! buf.close())
188  clear( rdstate() | std::ios::badbit );
189  else
190  clear();
191  }
192  }
int is_open() const
Definition: gzstream.h:79
gzstreambuf * close()
Definition: gzstream.h:108
gzstreambuf buf
Definition: gzstream.h:169
gzstreambuf* gzstreambase::rdbuf ( )
inlineinherited

Definition at line 193 of file gzstream.h.

193 { return &buf; }
gzstreambuf buf
Definition: gzstream.h:169
bool gzstreambase::is_open ( ) const
inlineinherited

Definition at line 194 of file gzstream.h.

194 { return buf.is_open(); }
int is_open() const
Definition: gzstream.h:79
gzstreambuf buf
Definition: gzstream.h:169

Member Data Documentation

gzstreambuf gzstreambase::buf
protectedinherited

Definition at line 169 of file gzstream.h.


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