Libosmium
2.11.1
Fast and flexible C++ library for working with OpenStreetMap data
|
#include <map.hpp>
Public Types | |
using | id_type = TId |
using | value_type = TValue |
using | map_type = osmium::index::map::Map< id_type, value_type > |
using | create_map_func = std::function< map_type *(const std::vector< std::string > &)> |
Public Member Functions | |
bool | register_map (const std::string &map_type_name, create_map_func func) |
bool | has_map_type (const std::string &map_type_name) const |
std::vector< std::string > | map_types () const |
std::unique_ptr< map_type > | create_map (const std::string &config_string) const |
Static Public Member Functions | |
static MapFactory< id_type, value_type > & | instance () |
Private Member Functions | |
MapFactory ()=default | |
MapFactory (const MapFactory &)=delete | |
MapFactory & | operator= (const MapFactory &)=delete |
MapFactory (MapFactory &&)=delete | |
MapFactory & | operator= (MapFactory &&)=delete |
Private Attributes | |
std::map< const std::string, create_map_func > | m_callbacks |
using osmium::index::MapFactory< TId, TValue >::create_map_func = std::function<map_type*(const std::vector<std::string>&)> |
using osmium::index::MapFactory< TId, TValue >::id_type = TId |
using osmium::index::MapFactory< TId, TValue >::map_type = osmium::index::map::Map<id_type, value_type> |
using osmium::index::MapFactory< TId, TValue >::value_type = TValue |
|
privatedefault |
|
privatedelete |
|
privatedelete |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
privatedelete |
|
privatedelete |
|
inline |
|
private |