SILLY_DataSource - Man Page

This is an abstract class used to provide data to the loader.

Synopsis

#include <SILLYDataSource.h>

Inherited by FileDataSource, and MemoryDataSource.

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.

Detailed Description

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.

Member Function Documentation

virtual const byte * getDataPtr () const [pure virtual]

Get raw access to the image data.

Implemented in FileDataSource, and MemoryDataSource.

virtual size_t getSize () const [pure virtual]

Return the size of the data.

Implemented in FileDataSource, and MemoryDataSource.

Author

Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code.

Info

Version 0.1.0 Simple Image Loading LibrarY