Interface providing read acess to a file. More...
#include <IReadFile.h>
Interface providing read acess to a file.
Definition at line 17 of file IReadFile.h.
virtual const io::path& irr::io::IReadFile::getFileName | ( | ) | const [pure virtual] |
Get name of file.
virtual long irr::io::IReadFile::getPos | ( | ) | const [pure virtual] |
Get the current position in the file.
virtual long irr::io::IReadFile::getSize | ( | ) | const [pure virtual] |
Get size of file.
Reads an amount of bytes from the file.
buffer | Pointer to buffer where read bytes are written to. |
sizeToRead | Amount of bytes to read from the file. |
virtual bool irr::io::IReadFile::seek | ( | long | finalPos, |
bool | relativeMovement = false |
||
) | [pure virtual] |
Changes position in file.
finalPos | Destination position in the file. |
relativeMovement | If set to true, the position in the file is changed relative to current position. Otherwise the position is changed from beginning of file. |