#include <GZIPInputStream.h>
Inheritance diagram for rnaml::GZIPInputStream:
Public Methods | |
GZIPInputStream (FileInputStream *fis) | |
Initializes the object. | |
GZIPInputStream (int fd) | |
Initializes the object. | |
virtual | ~GZIPInputStream () |
Destroys the object. | |
virtual xmlcpgInputStream * | getCStructure () const |
Gets the C substructure. | |
virtual void | setCStructure (xmlcpgInputStream *is) |
Sets the C substructure. | |
virtual bool | getEOS () const |
Tests the end of stream indicator of the gzip input stream. | |
virtual bool | getError () const |
Tests the error indicator of the gzip input stream. | |
virtual const char * | getErrorString () const |
Gets the string describing the error. | |
virtual int | read () |
Reads a character from the gzip input stream. | |
virtual int | read (void *ptr, int nbytes) |
Reads some bytes of data into the location pointed by ptr. | |
virtual bool | close () |
Closes the gzip input stream. | |
Private Attributes | |
xmlcpgGZIPInputStream * | is |
The C gzip input stream structure. |
|
Initializes the object. The file input stream is freed on successful completion of the function.
|
|
Initializes the object.
|
|
Destroys the object.
|
|
Closes the gzip input stream.
Implements rnaml::InputStream. |
|
Gets the C substructure.
Implements rnaml::InputStream. |
|
Tests the end of stream indicator of the gzip input stream.
Implements rnaml::InputStream. |
|
Tests the error indicator of the gzip input stream.
Implements rnaml::InputStream. |
|
Gets the string describing the error.
Implements rnaml::InputStream. |
|
Reads some bytes of data into the location pointed by ptr.
Implements rnaml::InputStream. |
|
Reads a character from the gzip input stream.
Implements rnaml::InputStream. |
|
Sets the C substructure.
Implements rnaml::InputStream. |
|
The C gzip input stream structure.
|