#include <InputStream.h>
Inheritance diagram for rnaml::InputStream:

Public Methods | |
| virtual | ~InputStream () |
| Destroys the object. | |
| virtual xmlcpgInputStream * | getCStructure () const=0 |
| Gets the C substructure. | |
| virtual void | setCStructure (xmlcpgInputStream *is)=0 |
| Sets the C substructure. | |
| virtual bool | getEOS () const=0 |
| Tests the end of stream indicator of the input stream. | |
| virtual bool | getError () const=0 |
| Tests the error indicator of the input stream. | |
| virtual const char * | getErrorString () const=0 |
| Gets the string describing the error. | |
| virtual int | read ()=0 |
| Reads a character from the input stream. | |
| virtual int | read (void *ptr, int size)=0 |
| Reads some bytes of data into the location pointed by ptr. | |
| virtual bool | close ()=0 |
| Closes the input stream. | |
|
|
Destroys the object.
|
|
|
Closes the input stream.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Gets the C substructure.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Tests the end of stream indicator of the input stream.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Tests the error indicator of the input stream.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Gets the string describing the error.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
||||||||||||
|
Reads some bytes of data into the location pointed by ptr.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Reads a character from the input stream.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
|
|
Sets the C substructure.
Implemented in rnaml::FileInputStream, and rnaml::GZIPInputStream. |
1.2.18