Inheritance diagram for stdbase::io::InputStream::
Public Methods | |
virtual int | available ()=0 throw (IOException) |
Get the number of bytes that can be read or skipped before the next read would block. | |
virtual void | close ()=0 throw (IOException) |
Closes the stream and releases any resources. | |
virtual void | mark (int readlimit)=0 |
Marks the current position in the input stream incase the caller need return to this point - done by calling reset(). More... | |
virtual void | reset ()=0 throw (IOException) |
Returns the caller to a previously marked position in the input stream (if supported). More... | |
virtual bool | markSupported ()=0 |
Test to see whether the InputStream implementation supports the mark()/reset() methods. | |
virtual int | read (byte buffer[], int len)=0 throw (IOException) |
Read a buffer of bytes - NEEDS Array. | |
virtual int | read ()=0 throw (IOException) |
Read a single byte from the stream and return it as an integer. More... | |
virtual long | skip (long n)=0 throw (IOException) |
Skip the next n bytes from the input stream. More... | |
Protected Methods | |
virtual | ~InputStream () |
virtual void | inc () const |
Reference count re-direct method - inc(). More... | |
virtual unsigned | dec () const |
Reference count re-direct method - inc(). More... |
Definition at line 53 of file InputStream.
|
Reference count re-direct method - inc(). This is intended to call the Object::* version of inc() in cases where there are multiple inheritence paths back to Abstract. Definition at line 72 of file InputStream. |
|
Reference count re-direct method - inc(). This is intended to call the Object::* version of inc() in cases where there are multiple inheritence paths back to Abstract. Definition at line 64 of file InputStream. |
|
Marks the current position in the input stream incase the caller need return to this point - done by calling reset().
Reimplemented in stdbase::io::BufferedInputStream, stdbase::io::FileInputStream, and stdbase::io::FilterInputStream. |
|
Read a single byte from the stream and return it as an integer.
Reimplemented in stdbase::io::BufferedInputStream, stdbase::io::FileInputStream, and stdbase::io::FilterInputStream. |
|
Returns the caller to a previously marked position in the input stream (if supported).
Reimplemented in stdbase::io::BufferedInputStream, stdbase::io::FileInputStream, and stdbase::io::FilterInputStream. |
|
Skip the next n bytes from the input stream.
Reimplemented in stdbase::io::FileInputStream, and stdbase::io::FilterInputStream. |