#include <Syndicate/Data/Req.h>
Inheritance diagram for Syndicate::Data::Req:
Public Member Functions | |
Req (void) | |
~Req (void) | |
template<typename TColors> | |
void | get (unsigned id, TColors *pixels, unsigned pitch=_width, const TColors *colors=Colors< TColors >::_default) const |
unsigned | size (void) const |
virtual void | info (void) |
bool | load (char const *filename) |
unsigned | getLength (void) |
Static Public Attributes | |
static const unsigned | _width = Block840::_width |
static const unsigned | _height = 12 |
Protected Attributes | |
unsigned | _data_length |
Private Attributes | |
Entry * | _entries |
Classes | |
struct | Entry |
Syndicate::Data::Req::Req | ( | void | ) | [inline] |
Syndicate::Data::Req::~Req | ( | void | ) | [inline] |
void Syndicate::Data::Req::get | ( | unsigned | id, | |
TColors * | pixels, | |||
unsigned | pitch = _width , |
|||
const TColors * | colors = Colors< TColors >::_default | |||
) | const [inline] |
unsigned Syndicate::Data::Req::size | ( | void | ) | const [inline] |
virtual void Syndicate::Data::File::info | ( | void | ) | [virtual, inherited] |
In debug mode it display the informations.
bool Syndicate::Data::File::load | ( | char const * | filename | ) | [inherited] |
This method load the content (unpacked) of the file at the adress pointed by _data.
[in] | filename | the name of the file. |
true | if success. | |
false | if fails. If previous file is loaded, the data keep unaffected. |
unsigned Syndicate::Data::File::getLength | ( | void | ) | [inline, inherited] |
const unsigned Syndicate::Data::Req::_width = Block840::_width [static] |
const unsigned Syndicate::Data::Req::_height = 12 [static] |
Entry* Syndicate::Data::Req::_entries [private] |
unsigned Syndicate::Data::File::_data_length [protected, inherited] |