Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
|
Interface providing read access to a memory read file. More...
#include <nirtcpp/core/engine/IMemoryReadFile.hpp>
Public Member Functions | |
virtual const void * | getBuffer () const =0 |
Get direct access to internal buffer of memory block used as file. | |
Public Member Functions inherited from nirt::io::IReadFile | |
virtual size_t | read (void *buffer, size_t sizeToRead)=0 |
Reads an amount of bytes from the file. | |
virtual bool | seek (long finalPos, bool relativeMovement=false)=0 |
Changes position in file. | |
virtual long | getSize () const =0 |
Get size of file. | |
virtual long | getPos () const =0 |
Get the current position in the file. | |
virtual const io::path & | getFileName () const =0 |
Get name of file. | |
virtual EREAD_FILE_TYPE | getType () const |
Get the type of the class implementing this interface. | |
Public Member Functions inherited from nirt::IReferenceCounted | |
IReferenceCounted () | |
Constructor. | |
virtual | ~IReferenceCounted () |
Destructor. | |
void | grab () const |
Grabs the object. Increments the reference counter by one. | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. | |
s32 | getReferenceCount () const |
Get the reference count. | |
const c8 * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from nirt::IReferenceCounted | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. | |
Interface providing read access to a memory read file.
|
pure virtual |