|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/db/AreaIndex.h>

Classes | |
| struct | TypeData |
Public Member Functions | |
| AreaIndex ()=default | |
| AreaIndex (const AreaIndex &)=delete | |
| AreaIndex (AreaIndex &&)=delete | |
| AreaIndex & | operator= (const AreaIndex &)=delete |
| AreaIndex & | operator= (AreaIndex &&)=delete |
| virtual | ~AreaIndex () |
| void | Close () |
| bool | Open (const TypeConfigRef &typeConfig, const std::string &path, bool memoryMappedData) |
| bool | IsOpen () const |
| std::string | GetFilename () const |
| bool | GetOffsets (const GeoBox &boundingBox, const TypeInfoSet &types, std::vector< FileOffset > &offsets, TypeInfoSet &loadedTypes) const |
Protected Member Functions | |
| void | GetOffsets (const TypeData &typeData, const GeoBox &boundingBox, std::unordered_set< FileOffset > &offsets) const |
| AreaIndex (const std::string &indexFileName) | |
| virtual void | ReadTypeData (const TypeConfigRef &typeConfig, TypeData &data)=0 |
Protected Attributes | |
| FileScanner | scanner |
| Scanner instance for reading this file. | |
Generic area index for lookup objects by area
|
explicitprotected |
|
default |
|
delete |
|
delete |
|
virtual |
| void osmscout::AreaIndex::Close | ( | ) |
|
inline |
| bool osmscout::AreaIndex::GetOffsets | ( | const GeoBox & | boundingBox, |
| const TypeInfoSet & | types, | ||
| std::vector< FileOffset > & | offsets, | ||
| TypeInfoSet & | loadedTypes ) const |
|
protected |
|
inline |
| bool osmscout::AreaIndex::Open | ( | const TypeConfigRef & | typeConfig, |
| const std::string & | path, | ||
| bool | memoryMappedData ) |
|
protectedpure virtual |
|
mutableprotected |
Scanner instance for reading this file.