|
libosmscout 0.1
|
#include <MaxSpeedFeature.h>
Public Member Functions | |
| uint8_t | GetMaxSpeed () const |
| MaxSpeedFeatureValue ()=default | |
| MaxSpeedFeatureValue (uint8_t maxSpeed) | |
| MaxSpeedFeatureValue & | operator= (const FeatureValue &other) override |
| bool | operator== (const FeatureValue &other) const override |
| void | Read (FileScanner &scanner) override |
| Read the value of the Feature from the FileScanner. | |
| void | SetMaxSpeed (uint8_t maxSpeed) |
| void | Write (FileWriter &writer) override |
| Write the FeatureValue to disk. | |
| Public Member Functions inherited from osmscout::FeatureValue | |
| FeatureValue ()=default | |
| FeatureValue (const FeatureValue &featureValue)=default | |
| virtual std::string | GetLabel (const Locale &, size_t) const |
| virtual bool | IsFlagSet (size_t) const |
| virtual bool | operator!= (const FeatureValue &other) const |
| virtual | ~FeatureValue ()=default |
|
default |
Referenced by operator=(), and operator==().
|
inlineexplicit |
|
inline |
Referenced by osmscout::AbstractRoutingProfile::GetTime2(), and osmscout::SpeedAgent::Process().
|
overridevirtual |
Reimplemented from osmscout::FeatureValue.
References osmscout::FeatureValue::FeatureValue(), and MaxSpeedFeatureValue().
|
overridevirtual |
Implements osmscout::FeatureValue.
References osmscout::FeatureValue::FeatureValue(), and MaxSpeedFeatureValue().
|
overridevirtual |
Read the value of the Feature from the FileScanner.
| IOException |
Implements osmscout::FeatureValue.
References osmscout::FileScanner::ReadUInt8().
|
inline |
Referenced by osmscout::MaxSpeedFeature::Parse().
|
overridevirtual |
Write the FeatureValue to disk.
| IOException. |
Implements osmscout::FeatureValue.
References osmscout::FileWriter::Write().