#include "server/wesnothd/player.hpp"
#include "server/common/server_base.hpp"
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/mem_fun.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index_container.hpp>
Go to the source code of this file.
|
| using | wesnothd::extract_by_socket = bmi::const_mem_fun< player_record, const any_socket_ptr, &player_record::socket > |
| |
| using | wesnothd::extract_by_name = bmi::const_mem_fun< player_record, const std::string &, &player_record::name > |
| |
| using | wesnothd::extract_by_game = bmi::const_mem_fun< player_record, int, &player_record::game_id > |
| |
| using | wesnothd::index_by_socket = bmi::ordered_unique< bmi::tag< socket_t >, extract_by_socket > |
| |
| using | wesnothd::index_by_name = bmi::hashed_unique< bmi::tag< name_t >, extract_by_name > |
| |
| using | wesnothd::index_by_game = bmi::ordered_non_unique< bmi::tag< game_t >, extract_by_game > |
| |
| using | wesnothd::player_connections = boost::multi_index_container< player_record, bmi::indexed_by< index_by_socket, index_by_name, index_by_game > > |
| |
| typedef player_connections::index< socket_t >::type | wesnothd::player_by_socket |
| |
| typedef player_connections::index< name_t >::type | wesnothd::player_by_name |
| |
| typedef player_connections::index< game_t >::type | wesnothd::player_by_game |
| |
| typedef player_connections::const_iterator | wesnothd::player_iterator |
| |