#include <Syndicate/Data/MapData.h>
Inheritance diagram for Syndicate::Data::MapData:
Public Member Functions | |
MapData (void) | |
~MapData (void) | |
unsigned | nb_i (void) const |
unsigned | nb_j (void) const |
unsigned | nb_k (void) const |
void | get (unsigned i, unsigned j, unsigned k, unsigned &id) const |
virtual void | info (void) |
bool | load (char const *filename) |
unsigned | getLength (void) |
Static Public Attributes | |
static const unsigned | _max_i = 128 |
static const unsigned | _max_j = 128 |
static const unsigned | _max_k = 13 |
Protected Attributes | |
unsigned | _data_length |
Private Attributes | |
Data * | _data |
Classes | |
struct | Data |
Syndicate::Data::MapData::MapData | ( | void | ) | [inline] |
Syndicate::Data::MapData::~MapData | ( | void | ) | [inline] |
unsigned Syndicate::Data::MapData::nb_i | ( | void | ) | const |
unsigned Syndicate::Data::MapData::nb_j | ( | void | ) | const |
unsigned Syndicate::Data::MapData::nb_k | ( | void | ) | const |
void Syndicate::Data::MapData::get | ( | unsigned | i, | |
unsigned | j, | |||
unsigned | k, | |||
unsigned & | id | |||
) | const |
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::MapData::_max_i = 128 [static] |
const unsigned Syndicate::Data::MapData::_max_j = 128 [static] |
const unsigned Syndicate::Data::MapData::_max_k = 13 [static] |
Data* Syndicate::Data::MapData::_data [private] |
Reimplemented from Syndicate::Data::File.
unsigned Syndicate::Data::File::_data_length [protected, inherited] |