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

Public Methods | |
| FileInputStream (FILE *f) | |
| Initializes the object. | |
| FileInputStream (const char *name) | |
| Initializes the object. | |
| FileInputStream (int fd) | |
| Initializes the object. | |
| virtual | ~FileInputStream () |
| Destroys the object. | |
| virtual xmlcpgInputStream * | getCStructure () const |
| Gets the C substructure. | |
| virtual void | setCStructure (xmlcpgInputStream *is) |
| Sets the C substructure. | |
| int | getFD () const |
| Gets the file input stream file descriptor. | |
| virtual bool | getEOS () const |
| Tests the end of stream indicator of the file input stream. | |
| virtual bool | getError () const |
| Tests the error indicator of the file input stream. | |
| virtual const char * | getErrorString () const |
| Gets the string describing the error. | |
| virtual int | read () |
| Reads a character from the file 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 file input stream. | |
Private Attributes | |
| xmlcpgFileInputStream * | is |
| The C input stream structure. | |
|
|
Initializes the object.
|
|
|
Initializes the object.
|
|
|
Initializes the object.
|
|
|
Destroys the object.
|
|
|
Closes the file input stream.
Implements rnaml::InputStream. |
|
|
Gets the C substructure.
Implements rnaml::InputStream. |
|
|
Tests the end of stream indicator of the file input stream.
Implements rnaml::InputStream. |
|
|
Tests the error indicator of the file input stream.
Implements rnaml::InputStream. |
|
|
Gets the string describing the error.
Implements rnaml::InputStream. |
|
|
Gets the file input stream file descriptor.
|
|
||||||||||||
|
Reads some bytes of data into the location pointed by ptr.
Implements rnaml::InputStream. |
|
|
Reads a character from the file input stream.
Implements rnaml::InputStream. |
|
|
Sets the C substructure.
Implements rnaml::InputStream. |
|
|
The C input stream structure.
|
1.2.18