libosmscout  1.1.1
Public Member Functions | Public Attributes | List of all members
osmscout::ObjectVariantData Struct Reference

#include <libosmscout/include/osmscout/routing/RouteNode.h>

Public Member Functions

bool operator== (const ObjectVariantData &other) const
 
bool operator< (const ObjectVariantData &other) const
 
void Read (const TypeConfig &typeConfig, FileScanner &scanner)
 
void Write (FileWriter &writer) const
 

Public Attributes

TypeInfoRef type
 The type of the object. More...
 
uint8_t maxSpeed
 Maximum speed allowed on the way. More...
 
uint8_t grade
 Quality of road/track 1 (good)...5 (bad) More...
 

Detailed Description

For every unique combination of object attributes that are routing relevant we store an ObjectvariantData entry.

Member Function Documentation

◆ operator<()

bool osmscout::ObjectVariantData::operator< ( const ObjectVariantData other) const

◆ operator==()

bool osmscout::ObjectVariantData::operator== ( const ObjectVariantData other) const

◆ Read()

void osmscout::ObjectVariantData::Read ( const TypeConfig &  typeConfig,
FileScanner &  scanner 
)

◆ Write()

void osmscout::ObjectVariantData::Write ( FileWriter &  writer) const

Member Data Documentation

◆ grade

uint8_t osmscout::ObjectVariantData::grade

Quality of road/track 1 (good)...5 (bad)

◆ maxSpeed

uint8_t osmscout::ObjectVariantData::maxSpeed

Maximum speed allowed on the way.

◆ type

TypeInfoRef osmscout::ObjectVariantData::type

The type of the object.


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