|
libosmscout 1.1.1
|
#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 |
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.
| osmscout::ObjectVariantDataFile::ObjectVariantDataFile | ( | ) |
|
inline |
|
inline |
|
inline |
| bool osmscout::ObjectVariantDataFile::Load | ( | const TypeConfig & | typeConfig, |
| const std::string & | filename ) |