Inheritance diagram for nrEngine::EmptyFileStream:
Public Member Functions | |
EmptyFileStream () | |
Initialize the empty file. | |
~EmptyFileStream () | |
Deinitilize the empty file object. | |
size_t | read (void *buf, size_t size, size_t nmemb) |
Read data from the empty file returns nothing. | |
size_t | readDelim (void *buf, size_t count, const std::string &delim="\n") |
Read until we fund a delimeter. | |
size_t | tell () const |
What is the position of the empty file reading cursor. | |
bool | eof () const |
Are we on the end of file. For empty files it is always true. | |
byte * | getData (size_t &count) const |
Returns no data from the empty file. | |
bool | seek (int32 offset, int32 whence=IStream::CURRENT) |
Seek or not to seek? That is the question! | |
void | close () |
Close the empty file. |
This is file stream which loads an empty file. You will need this to get ResourceManagment working corectly. Any access to a resource instantiated from this class have no effect.
Definition at line 136 of file FileStream.h.