|
Simple Image Loading LibrarY 0.1.0
|
This is an abstract class used to provide data to the loader. More...
#include <SILLYDataSource.h>

Public Member Functions | |
| virtual const byte * | getDataPtr () const =0 |
| Get raw access to the image data. | |
| virtual size_t | getSize () const =0 |
| Return the size of the data. | |
| byte | operator[] (size_t offset) const |
| Retieve the byte at offset. | |
| virtual | ~DataSource () |
| Destructor. | |
This is an abstract class used to provide data to the loader.
This class defines abstract data loading operation required for the library.
Definition at line 46 of file SILLYDataSource.h.
|
pure virtual |
Get raw access to the image data.
Implemented in FileDataSource, and MemoryDataSource.
|
pure virtual |
Return the size of the data.
Implemented in FileDataSource, and MemoryDataSource.