40 #ifndef _resourceinputstream_cpp
41 #define _resourceinputstream_cpp
43 #include "Resource/inputstream.h"
45 #include "Internal/ogredatastreambuf.h.cpp"
53 void ResourceInputStream::Construct(std::streambuf *InputBuffer, ResourceManager* ResourceManager_)
58 this->OgreBuffer=static_cast <Internal::OgreDataStreamBuf*>(InputBuffer);
59 this->Manager=ResourceManager_;
70 delete this->OgreBuffer;
78 return this->OgreBuffer->Readable();
83 return this->OgreBuffer->Writeable();