OSRTInputStreamIF Class Reference
[Generic Input Stream Classes]
Inheritance diagram for OSRTInputStreamIF:

Public Member Functions | |
| virtual EXTRTMETHOD | ~OSRTInputStreamIF () |
| Virtual destructor. | |
| virtual size_t | currentPos ()=0 |
| This method returns the current position in the stream (in octets). | |
| virtual OSBOOL | markSupported ()=0 |
| Tests if this input stream supports the mark and reset methods. | |
| virtual int | mark (size_t readAheadLimit)=0 |
| This method marks the current position in this input stream. | |
| virtual long | read (OSOCTET *pDestBuf, size_t maxToRead)=0 |
| Read data from the stream. | |
| virtual long | readBlocking (OSOCTET *pDestBuf, size_t toReadBytes)=0 |
| Read data from the stream. | |
| virtual int | reset ()=0 |
| Repositions this stream to the position at the time the mark method was last called on this input stream. | |
| virtual int | skip (size_t n)=0 |
| Skips over and discards the specified amount of data octets from this input stream. | |
Detailed Description
Definition at line 43 of file OSRTInputStreamIF.h.
Constructor & Destructor Documentation
|
|
Virtual destructor. Closes the stream if it was opened. |
Member Function Documentation
|
|
This method returns the current position in the stream (in octets).
Implemented in OSRTInputStream. |
|
|
This method marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes. The readAheadLimit argument tells this input stream to allow that many bytes to be read before the mark position gets invalidated.
Implemented in OSRTInputStream. |
|
|
Tests if this input stream supports the mark and reset methods. Whether or not mark and reset are supported is an invariant property of a particular input stream instance. By default, it returns FALSE.
Implemented in OSRTInputStream. |
|
||||||||||||
|
Read data from the stream.
This method reads up to
Implemented in OSRTInputStream. |
|
||||||||||||
|
Read data from the stream.
This method reads up to
Implemented in OSRTInputStream. |
|
|
Repositions this stream to the position at the time the mark method was last called on this input stream.
Implemented in OSRTInputStream. |
|
|
Skips over and discards the specified amount of data octets from this input stream.
Implemented in OSRTInputStream. |
The documentation for this class was generated from the following file:
