#include <rtresource.h>
Inheritance diagram for lrt::ResourceInputStream:

Public Methods | |
| ResourceInputStream (const lrt_resource_type &res) | |
| ResourceInputStream. | |
| virtual | ~ResourceInputStream () |
| virtual int | read () |
| Reads the next byte from the resource. More... | |
| virtual bool | eos () |
| Checks if this resource's end has been reached. More... | |
| virtual bool | markSupported () |
Returns true, as ResourceInputStreams support marking. | |
| virtual void | mark () |
| Marks the current position in the resource stream. | |
| virtual void | reset () |
| Resets the current position to the previously marked one, or to the beginning of the resource if none was marked. | |
ResourceInputStreams should be obtained using Resource::getResource().
|
|
Checks if this resource's end has been reached.
Implements lrt::InputStream. |
|
|
Reads the next byte from the resource. Returns -1 if the resource's end is reached. Implements lrt::InputStream. |