![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Interface providing read access to a memory read file. More...
#include <duckcpp/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 dcpp::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 dcpp::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 dcpp::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. | |
| dcpp::int32_kt | getReferenceCount () const |
| Get the reference count. | |
| const dcpp::char_kt * | getDebugName () const |
| Returns the debug name of the object. | |
Additional Inherited Members | |
Protected Member Functions inherited from dcpp::IReferenceCounted | |
| void | setDebugName (const dcpp::char_kt *newName) |
| Sets the debug name of the object. | |
Interface providing read access to a memory read file.
|
pure virtual |