GeoDesk for C++
Fast and storage-efficient spatial database engine for OpenStreetMap features
Loading...
Searching...
No Matches
geodesk::FeatureStore Class Referencefinal

A Geographic Object Library. More...

#include <FeatureStore.h>

Inheritance diagram for geodesk::FeatureStore:

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 IndexedKeyMapkeysToCategories () 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 FeatureStoreopenSingle (std::string_view fileName)
 

Protected Member Functions

void initialize () override
 
DataPtr getPointer (int ofs) const
 

Detailed Description

A Geographic Object Library.

This class if part of the Low-Level API. It is not intended to be used directly by applications.

Member Typedef Documentation

◆ IndexedKeyMap

using geodesk::FeatureStore::IndexedKeyMap = std::unordered_map<uint16_t, uint16_t>

Constructor & Destructor Documentation

◆ FeatureStore()

geodesk::FeatureStore::FeatureStore ( )

◆ ~FeatureStore()

geodesk::FeatureStore::~FeatureStore ( )
override

Member Function Documentation

◆ addref()

void geodesk::FeatureStore::addref ( )
inline

◆ borrowAllMatcher()

const MatcherHolder * geodesk::FeatureStore::borrowAllMatcher ( ) const
inline

◆ executor()

clarisma::ThreadPool< TileQueryTask > & geodesk::FeatureStore::executor ( )
inline

◆ fetchTile()

DataPtr geodesk::FeatureStore::fetchTile ( Tip tip)

◆ getAllMatcher()

const MatcherHolder * geodesk::FeatureStore::getAllMatcher ( )
inline

◆ getIndexCategory()

int geodesk::FeatureStore::getIndexCategory ( int keyCode) const

◆ getMatcher()

const MatcherHolder * geodesk::FeatureStore::getMatcher ( const char * query)

◆ getPointer()

DataPtr geodesk::FeatureStore::getPointer ( int ofs) const
inlineprotected

◆ initialize()

void geodesk::FeatureStore::initialize ( )
overrideprotected

◆ isAllMatcher()

bool geodesk::FeatureStore::isAllMatcher ( const MatcherHolder * matcher) const
inline

◆ keysToCategories()

const IndexedKeyMap & geodesk::FeatureStore::keysToCategories ( ) const
inline

◆ open()

void geodesk::FeatureStore::open ( const char * fileName)
inline

◆ openSingle()

static FeatureStore * geodesk::FeatureStore::openSingle ( std::string_view fileName)
static

◆ refcount()

size_t geodesk::FeatureStore::refcount ( ) const
inline

◆ release()

void geodesk::FeatureStore::release ( )
inline

◆ strings()

StringTable & geodesk::FeatureStore::strings ( )
inline

◆ tileIndex()

DataPtr geodesk::FeatureStore::tileIndex ( ) const
inline

◆ zoomLevels()

uint32_t geodesk::FeatureStore::zoomLevels ( ) const
inline

The documentation for this class was generated from the following file: