#include <RouteNodeDataFile.h>
|
bool | Close () |
| Close the index. More...
|
|
bool | Get (Id id, RouteNodeRef &node) const |
|
template<typename IteratorIn > |
bool | Get (IteratorIn begin, IteratorIn end, size_t size, std::vector< RouteNodeRef > &data) const |
|
template<typename IteratorIn > |
bool | Get (IteratorIn begin, IteratorIn end, size_t, std::unordered_map< Id, RouteNodeRef > &dataMap) const |
|
Pixel | GetTile (const GeoCoord &coord) const |
|
bool | IsCovered (const GeoCoord &coord) const |
|
bool | IsCovered (const Pixel &tile) const |
|
bool | IsOpen () const |
| Return true, if index is currently opened. More...
|
|
bool | Open (const TypeConfigRef &typeConfig, const std::string &path, bool memoryMapedData) |
|
| RouteNodeDataFile (const std::string &datafile, size_t cacheSize) |
|
◆ RouteNodeDataFile()
osmscout::RouteNodeDataFile::RouteNodeDataFile |
( |
const std::string & |
datafile, |
|
|
size_t |
cacheSize |
|
) |
| |
|
explicit |
◆ Close()
bool osmscout::RouteNodeDataFile::Close |
( |
| ) |
|
◆ Get() [1/3]
bool osmscout::RouteNodeDataFile::Get |
( |
Id |
id, |
|
|
RouteNodeRef & |
node |
|
) |
| const |
◆ Get() [2/3]
template<typename IteratorIn >
bool osmscout::RouteNodeDataFile::Get |
( |
IteratorIn |
begin, |
|
|
IteratorIn |
end, |
|
|
size_t |
size, |
|
|
std::vector< RouteNodeRef > & |
data |
|
) |
| const |
|
inline |
◆ Get() [3/3]
template<typename IteratorIn >
bool osmscout::RouteNodeDataFile::Get |
( |
IteratorIn |
begin, |
|
|
IteratorIn |
end, |
|
|
size_t |
, |
|
|
std::unordered_map< Id, RouteNodeRef > & |
dataMap |
|
) |
| const |
|
inline |
◆ GetTile()
Pixel osmscout::RouteNodeDataFile::GetTile |
( |
const GeoCoord & |
coord | ) |
const |
◆ IsCovered() [1/2]
bool osmscout::RouteNodeDataFile::IsCovered |
( |
const GeoCoord & |
coord | ) |
const |
◆ IsCovered() [2/2]
bool osmscout::RouteNodeDataFile::IsCovered |
( |
const Pixel & |
tile | ) |
const |
◆ IsOpen()
bool osmscout::RouteNodeDataFile::IsOpen |
( |
| ) |
const |
Return true, if index is currently opened.
Method is NOT thread-safe.
◆ Open()
bool osmscout::RouteNodeDataFile::Open |
( |
const TypeConfigRef & |
typeConfig, |
|
|
const std::string & |
path, |
|
|
bool |
memoryMapedData |
|
) |
| |
The documentation for this class was generated from the following files: