|
libosmscout
1.1.1
|
#include <libosmscout/include/osmscout/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 | |
| std::string | indexFileName |
| std::string | fullIndexFileName |
| Full path and name of the data file. More... | |
| FileScanner | scanner |
| Scanner instance for reading this file. More... | |
| std::vector< TypeData > | typeData |
| std::mutex | lookupMutex |
Generic area index for lookup objects by area
|
protected |
|
default |
|
delete |
|
delete |
|
virtual |
| void osmscout::AreaIndex::Close | ( | ) |
|
inline |
|
protected |
| bool osmscout::AreaIndex::GetOffsets | ( | const GeoBox & | boundingBox, |
| const TypeInfoSet & | types, | ||
| std::vector< FileOffset > & | offsets, | ||
| TypeInfoSet & | loadedTypes | ||
| ) | const |
|
inline |
| bool osmscout::AreaIndex::Open | ( | const TypeConfigRef & | typeConfig, |
| const std::string & | path, | ||
| bool | memoryMappedData | ||
| ) |
|
protectedpure virtual |
|
protected |
Full path and name of the data file.
|
protected |
|
mutableprotected |
|
mutableprotected |
Scanner instance for reading this file.
|
protected |
1.8.14