Classes | |
class | Data |
struct | id |
Permet l'indexation du container de station par critere d'ID. Plus de détails... | |
struct | key |
Permet l'indexation du container de station par critere de clef. Plus de détails... | |
class | IdMgr |
Définition de type | |
typedef boost::multi_index_container < Data, bmi::indexed_by < bmi::ordered_unique < bmi::tag< id > , BOOST_MULTI_INDEX_CONST_MEM_FUN(Data, id_station, id) > , bmi::ordered_non_unique < bmi::tag< key > , BOOST_MULTI_INDEX_CONST_MEM_FUN(Data, std::string, key) > >> | IdContainer |
Container de station, indexable par plusieurs criteres (id et clef). | |
typedef bmi::index < IdContainer, id >::type | container_by_id_t |
typedef IdContainer::index< id > ::type | set_by_id_t |
Fonctions | |
id_station | get_id (Data &stationData) |
const container_by_id_t & | get_by_id () |
typedef bmi::index<IdContainer, id>::type metro::station::container_by_id_t |
typedef boost::multi_index_container< Data, bmi::indexed_by< bmi::ordered_unique< bmi::tag<id>, BOOST_MULTI_INDEX_CONST_MEM_FUN(Data, id_station, id) >, bmi::ordered_non_unique< bmi::tag<key>, BOOST_MULTI_INDEX_CONST_MEM_FUN(Data, std::string, key) > >> metro::station::IdContainer |
typedef IdContainer::index<id>::type metro::station::set_by_id_t |
const station::container_by_id_t & metro::station::get_by_id | ( | ) |
id_station metro::station::get_id | ( | Data & | stationData | ) |
Raccourci pour station::IdMgr::get_id()
stationData | information de la station |