DataSource(3)
β¨ NAME β¨
DataSource β it's an abstract class, bestie, and its whole job is feeding data to the loader π
πΈ SYNOPSIS πΈ
#include <SILLYDataSource.h>
Inherited by FileDataSource, and MemoryDataSource.
π Public Member Functions π
virtual const byte * getDataPtr () const =0β hands you raw access to the image data, no middleman πvirtual size_t getSize () const =0β tells you how big the data is, periodtbyte operator[] (size_t offset) constβ grab the byte sitting at offset π¦virtual ~DataSource ()β the destructor, aka the goodbye kiss π
π Detailed Description π
okay so here's the tea: this is an abstract class used to provide data to the loader. That's literally its whole personality π
It defines the abstract data loading operation required for the library β like, the vibe contract that every data source has to sign π«Ά
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. That's it, that's the function β¨
Implemented in FileDataSource, and MemoryDataSource.
β virtual size_t getSize () const [pure virtual]
Return the size of the data. Iconic, honestly πΈ
Implemented in FileDataSource, and MemoryDataSource.
π Author π
Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code. (Not a human, just a robot doing its little robot thing π€β¨)
and that's the whole page, bestie!! no cap, every last detail is in there π
this lil manual page comes to you courtesy of Simple Image Loading LibrarY, Version 0.1.0, and yeah, it's DataSource(3) β slay, go read some source code, mwah ππ¦π
π¦ where this page comes from
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- fedora 44: SILLY-devel 0.1.0-44.fc44 Β· MIT
- fedora 44: SILLY-devel 0.1.0-44.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms