libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::MaxSpeedFeatureValue Class Reference

#include <libosmscout/include/osmscout/feature/MaxSpeedFeature.h>

Inheritance diagram for osmscout::MaxSpeedFeatureValue:
Collaboration diagram for osmscout::MaxSpeedFeatureValue:

Public Member Functions

 MaxSpeedFeatureValue ()=default
 MaxSpeedFeatureValue (uint8_t maxSpeed)
void SetMaxSpeed (uint8_t maxSpeed)
uint8_t GetMaxSpeed () const
void Read (FileScanner &scanner) override
void Write (FileWriter &writer) override
MaxSpeedFeatureValueoperator= (const FeatureValue &other) override
bool operator== (const FeatureValue &other) const override
Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()=default
 FeatureValue (const FeatureValue &featureValue)=default
virtual ~FeatureValue ()=default
virtual std::string GetLabel (const Locale &, size_t) const
virtual bool IsFlagSet (size_t) const
virtual bool operator!= (const FeatureValue &other) const

Constructor & Destructor Documentation

◆ MaxSpeedFeatureValue() [1/2]

osmscout::MaxSpeedFeatureValue::MaxSpeedFeatureValue ( )
default

◆ MaxSpeedFeatureValue() [2/2]

osmscout::MaxSpeedFeatureValue::MaxSpeedFeatureValue ( uint8_t maxSpeed)
inlineexplicit

Member Function Documentation

◆ GetMaxSpeed()

uint8_t osmscout::MaxSpeedFeatureValue::GetMaxSpeed ( ) const
inline

◆ operator=()

MaxSpeedFeatureValue & osmscout::MaxSpeedFeatureValue::operator= ( const FeatureValue & other)
overridevirtual

Reimplemented from osmscout::FeatureValue.

◆ operator==()

bool osmscout::MaxSpeedFeatureValue::operator== ( const FeatureValue & other) const
overridevirtual

◆ Read()

void osmscout::MaxSpeedFeatureValue::Read ( FileScanner & scanner)
overridevirtual

Read the value of the Feature from the FileScanner

Exceptions
IOException

Implements osmscout::FeatureValue.

◆ SetMaxSpeed()

void osmscout::MaxSpeedFeatureValue::SetMaxSpeed ( uint8_t maxSpeed)
inline

◆ Write()

void osmscout::MaxSpeedFeatureValue::Write ( FileWriter & writer)
overridevirtual

Write the FeatureValue to disk.

Exceptions
IOException.

Implements osmscout::FeatureValue.


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