Base class interface for resource streams. More...
#include <datastream.h>
Inheritance diagram for Mezzanine::Resource::iStreamBase:Public Member Functions | |
| iStreamBase () | |
| Class constructor. | |
| virtual | ~iStreamBase () |
| Class destructor. | |
| virtual Boole | Bad () const =0 |
| Gets whether or not a critical error was detected in a previous operation in the stream. More... | |
| virtual void | ClearErrors ()=0 |
| Clears any stored error state on the stream. More... | |
| virtual Boole | EoF () const =0 |
| Gets whether or not the current position is at the end of the stream. More... | |
| virtual Boole | Fail () const =0 |
| Gets whether or not an otherwise silent and recoverable error was detected in a previous operation in the stream. More... | |
| virtual StreamSize | GetSize () const =0 |
| Gets the size of the stream. More... | |
| virtual Boole | IsValid () const =0 |
| Gets whether or not this stream is intact and ready for operations. More... | |
Base class interface for resource streams.
Definition at line 88 of file datastream.h.
|
pure virtual |
Gets whether or not a critical error was detected in a previous operation in the stream.
Implemented in Mezzanine::Resource::IOStream, Mezzanine::Resource::OStream, and Mezzanine::Resource::IStream.
|
pure virtual |
Clears any stored error state on the stream.
Implemented in Mezzanine::Resource::IOStream, Mezzanine::Resource::OStream, and Mezzanine::Resource::IStream.
|
pure virtual |
Gets whether or not the current position is at the end of the stream.
Implemented in Mezzanine::Resource::IOStream, Mezzanine::Resource::OStream, and Mezzanine::Resource::IStream.
|
pure virtual |
Gets whether or not an otherwise silent and recoverable error was detected in a previous operation in the stream.
Implemented in Mezzanine::Resource::IOStream, Mezzanine::Resource::OStream, and Mezzanine::Resource::IStream.
|
pure virtual |
Gets the size of the stream.
Implemented in Mezzanine::Resource::MemoryStream, and Mezzanine::Resource::FileStream.
|
pure virtual |
Gets whether or not this stream is intact and ready for operations.
Implemented in Mezzanine::Resource::IOStream, Mezzanine::Resource::OStream, and Mezzanine::Resource::IStream.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.