A stream from a file, can read from zip files as well. More...
#include <inputstream.h>
Public Member Functions | |
ResourceInputStream (std::streambuf *InputBuffer, ResourceManager *ResourceManager_) | |
Descriptive Constructor. More... | |
virtual | ~ResourceInputStream () |
Tears down the Stream, and Delete the Buffer Passed in. | |
template<class T > | |
ResourceInputStream & | operator>> (T &Data) |
bool | Readable () |
Can this be read from. More... | |
bool | Writeable () |
Can this be written to. More... | |
A stream from a file, can read from zip files as well.
Definition at line 60 of file inputstream.h.
|
inline |
Descriptive Constructor.
InputBuffer | A pointer to an Internal::OgreDataStreamBuf. A buffer to read from the disk access subsystem (which happens to be part of Ogre). This Stream will assume ownership of this buffer and will handle deleting it. |
ResourceManager_ | Currently unused, future functionality may tuse this. |
Definition at line 79 of file inputstream.h.
bool Mezzanine::ResourceInputStream::Readable | ( | ) |
Can this be read from.
Definition at line 76 of file inputstream.cpp.
bool Mezzanine::ResourceInputStream::Writeable | ( | ) |
Can this be written to.
Definition at line 81 of file inputstream.cpp.