GeoDesk for C++
Fast and storage-efficient spatial database engine for OpenStreetMap features
|
A Geographic Object Library. More...
#include <FeatureStore.h>
Public Types | |
using | IndexedKeyMap = std::unordered_map<uint16_t, uint16_t> |
Public Member Functions | |
FeatureStore () | |
~FeatureStore () override | |
void | open (const char *fileName) |
void | addref () |
void | release () |
size_t | refcount () const |
DataPtr | tileIndex () const |
uint32_t | zoomLevels () const |
StringTable & | strings () |
const IndexedKeyMap & | keysToCategories () const |
int | getIndexCategory (int keyCode) const |
const MatcherHolder * | getMatcher (const char *query) |
const MatcherHolder * | borrowAllMatcher () const |
const MatcherHolder * | getAllMatcher () |
bool | isAllMatcher (const MatcherHolder *matcher) const |
clarisma::ThreadPool< TileQueryTask > & | executor () |
DataPtr | fetchTile (Tip tip) |
Static Public Member Functions | |
static FeatureStore * | openSingle (std::string_view fileName) |
Protected Member Functions | |
void | initialize () override |
DataPtr | getPointer (int ofs) const |
A Geographic Object Library.
This class if part of the Low-Level API. It is not intended to be used directly by applications.
using geodesk::FeatureStore::IndexedKeyMap = std::unordered_map<uint16_t, uint16_t> |
geodesk::FeatureStore::FeatureStore | ( | ) |
|
override |
|
inline |
|
inline |
|
inline |
DataPtr geodesk::FeatureStore::fetchTile | ( | Tip | tip | ) |
|
inline |
int geodesk::FeatureStore::getIndexCategory | ( | int | keyCode | ) | const |
const MatcherHolder * geodesk::FeatureStore::getMatcher | ( | const char * | query | ) |
|
inlineprotected |
|
overrideprotected |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |