libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::AreaWayIndex Class Referencefinal

AreaWayIndex allows you to find ways and way relations in a given area. More...

#include <AreaWayIndex.h>

Inheritance diagram for osmscout::AreaWayIndex:

Public Member Functions

 AreaWayIndex ()
 AreaWayIndex (AreaWayIndex &&)=delete
 AreaWayIndex (const AreaWayIndex &)=delete
AreaWayIndex & operator= (AreaWayIndex &&)=delete
AreaWayIndex & operator= (const AreaWayIndex &)=delete
 ~AreaWayIndex () override=default
Public Member Functions inherited from osmscout::AreaIndex
 AreaIndex ()=default
 AreaIndex (AreaIndex &&)=delete
 AreaIndex (const AreaIndex &)=delete
void Close ()
size_t GetEntryCount () const
 The number of entries this index carries; the index file holds one entry per type it indexed.
size_t GetExaminedEntryCount () const
 The number of entries the last lookup examined (diagnostic for tests).
std::string GetFilename () const
bool GetOffsets (const GeoBox &boundingBox, const TypeInfoSet &types, std::vector< FileOffset > &offsets, TypeInfoSet &loadedTypes) const
bool IsOpen () const
bool Open (const TypeConfigRef &typeConfig, const std::string &path, bool memoryMappedData)
AreaIndex & operator= (AreaIndex &&)=delete
AreaIndex & operator= (const AreaIndex &)=delete
virtual ~AreaIndex ()

Static Public Attributes

static const char *const AREA_WAY_IDX ="areaway.idx"

Additional Inherited Members

Protected Member Functions inherited from osmscout::AreaIndex
 AreaIndex (const std::string &indexFileName)
void GetOffsets (const TypeData &typeData, const GeoBox &boundingBox, std::unordered_set< FileOffset > &offsets) const
Protected Attributes inherited from osmscout::AreaIndex
FileScanner scanner
 Scanner instance for reading this file.

Detailed Description

AreaWayIndex allows you to find ways and way relations in a given area.

Ways can be limited by type and result count.

Constructor & Destructor Documentation

◆ AreaWayIndex() [1/3]

osmscout::AreaWayIndex::AreaWayIndex ( )

◆ AreaWayIndex() [2/3]

osmscout::AreaWayIndex::AreaWayIndex ( const AreaWayIndex & )
delete

References AreaWayIndex().

◆ AreaWayIndex() [3/3]

osmscout::AreaWayIndex::AreaWayIndex ( AreaWayIndex && )
delete

References AreaWayIndex().

◆ ~AreaWayIndex()

osmscout::AreaWayIndex::~AreaWayIndex ( )
overridedefault

Member Function Documentation

◆ operator=() [1/2]

AreaWayIndex & osmscout::AreaWayIndex::operator= ( AreaWayIndex && )
delete

References AreaWayIndex().

◆ operator=() [2/2]

AreaWayIndex & osmscout::AreaWayIndex::operator= ( const AreaWayIndex & )
delete

References AreaWayIndex().

Member Data Documentation

◆ AREA_WAY_IDX

const char *const osmscout::AreaWayIndex::AREA_WAY_IDX ="areaway.idx"
static

Referenced by AreaWayIndex().


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