#include <stationdata.h>
Fonctions membres publiques | |
Data (const std::string &ligne, const std::string &nom, int nEtape) | |
std::string | key () const |
Retourne la clef unique d'une station. | |
id_station | id () const |
Retourn l'id d'une station. | |
const std::string & | nom () const |
Retourne le nom de la station. | |
const std::string & | ligne () const |
Retourne le nom de la ligne à laquelle appartient la station. | |
int | etape () const |
Retourne le numéro d'étape de la station. | |
bool | operator< (const Data &other) |
operateur de comparaison, permettant le stockage dans une map | |
Attributs publics statiques | |
static const id_station | invalid_id = (id_station)-1 |
Identifiant d'un ID invalid. | |
Attributs privés | |
std::string | m_ligne |
std::string | m_nom |
int | m_nEtape |
id_station | m_id |
Amis | |
class | IdMgr |
station::Data::Data | ( | const std::string & | ligne, | |
const std::string & | nom, | |||
int | nEtape | |||
) |
int station::Data::etape | ( | ) | const |
id_station station::Data::id | ( | ) | const |
std::string station::Data::key | ( | ) | const |
const std::string & station::Data::ligne | ( | ) | const |
const std::string & station::Data::nom | ( | ) | const |
bool station::Data::operator< | ( | const Data & | other | ) |
friend class IdMgr [friend] |
const id_station station::Data::invalid_id = (id_station)-1 [static] |
id_station metro::station::Data::m_id [private] |
std::string metro::station::Data::m_ligne [private] |
int metro::station::Data::m_nEtape [private] |
std::string metro::station::Data::m_nom [private] |