libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::ObjectVariantDataFile Class Referencefinal

#include <libosmscout/include/osmscout/db/ObjectVariantDataFile.h>

Public Member Functions

 ObjectVariantDataFile ()
bool Load (const TypeConfig &typeConfig, const std::string &filename)
bool IsLoaded () const
std::string GetFilename () const
const std::vector< ObjectVariantData > & GetData () const

Detailed Description

DataFile class for loading the object variant data, which is part of the routing graph. The object variant data contains a lookup table for path attributes. Since the number of attribute value combinations is much smaller then the actual number of elements in the route graph it makes sense to store all possible combinations in a lookup table and just index them from the routing graph paths.

Constructor & Destructor Documentation

◆ ObjectVariantDataFile()

osmscout::ObjectVariantDataFile::ObjectVariantDataFile ( )

Member Function Documentation

◆ GetData()

const std::vector< ObjectVariantData > & osmscout::ObjectVariantDataFile::GetData ( ) const
inline

◆ GetFilename()

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

◆ IsLoaded()

bool osmscout::ObjectVariantDataFile::IsLoaded ( ) const
inline

◆ Load()

bool osmscout::ObjectVariantDataFile::Load ( const TypeConfig & typeConfig,
const std::string & filename )

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