libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::DebugDatabase Class Reference

#include <DebugDatabase.h>

Public Member Functions

void Close ()
 
 DebugDatabase (const DebugDatabaseParameter &parameter)
 
bool GetCoords (const std::set< OSMId > &ids, CoordDataFile::ResultMap &coordsMap) const
 
TypeConfigRef GetTypeConfig () const
 
bool IsOpen () const
 
bool Open (const std::string &path)
 
bool ResolveReferences (const std::set< ObjectOSMRef > &ids, const std::set< ObjectFileRef > &fileOffsets, std::multimap< ObjectOSMRef, ObjectFileRef > &idFileOffsetMap, std::map< ObjectFileRef, ObjectOSMRef > &fileOffsetIdMap)
 
virtual ~DebugDatabase ()=default
 

Detailed Description

Secondary Database class for accessing debug information not normally available on the target device.

Constructor & Destructor Documentation

◆ DebugDatabase()

osmscout::DebugDatabase::DebugDatabase ( const DebugDatabaseParameter parameter)
explicit

◆ ~DebugDatabase()

virtual osmscout::DebugDatabase::~DebugDatabase ( )
virtualdefault

Member Function Documentation

◆ Close()

void osmscout::DebugDatabase::Close ( )

◆ GetCoords()

bool osmscout::DebugDatabase::GetCoords ( const std::set< OSMId > &  ids,
CoordDataFile::ResultMap coordsMap 
) const

◆ GetTypeConfig()

TypeConfigRef osmscout::DebugDatabase::GetTypeConfig ( ) const

◆ IsOpen()

bool osmscout::DebugDatabase::IsOpen ( ) const

◆ Open()

bool osmscout::DebugDatabase::Open ( const std::string &  path)

◆ ResolveReferences()

bool osmscout::DebugDatabase::ResolveReferences ( const std::set< ObjectOSMRef > &  ids,
const std::set< ObjectFileRef > &  fileOffsets,
std::multimap< ObjectOSMRef, ObjectFileRef > &  idFileOffsetMap,
std::map< ObjectFileRef, ObjectOSMRef > &  fileOffsetIdMap 
)

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