libosmscout 0.1
Loading...
Searching...
No Matches
osmscout::CoordDataFile Class Reference

#include <CoordDataFile.h>

Public Types

using ResultMap = std::unordered_map<OSMId, Point>

Public Member Functions

bool Close ()
 CoordDataFile ()
bool Get (const std::set< OSMId > &ids, ResultMap &resultMap) const
std::string GetFilename () const
bool Open (const std::string &path, bool memoryMapedData)
virtual ~CoordDataFile ()

Static Public Attributes

static const char *const COORD_DAT ="coord.dat"

Member Typedef Documentation

◆ ResultMap

using osmscout::CoordDataFile::ResultMap = std::unordered_map<OSMId, Point>

Constructor & Destructor Documentation

◆ CoordDataFile()

osmscout::CoordDataFile::CoordDataFile ( )

◆ ~CoordDataFile()

osmscout::CoordDataFile::~CoordDataFile ( )
virtual

References Close().

Member Function Documentation

◆ Close()

bool osmscout::CoordDataFile::Close ( )

◆ Get()

bool osmscout::CoordDataFile::Get ( const std::set< OSMId > & ids,
ResultMap & resultMap ) const

◆ GetFilename()

std::string osmscout::CoordDataFile::GetFilename ( ) const
inline

◆ Open()

bool osmscout::CoordDataFile::Open ( const std::string & path,
bool memoryMapedData )

Member Data Documentation

◆ COORD_DAT

const char *const osmscout::CoordDataFile::COORD_DAT ="coord.dat"
static

Referenced by Open().


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