libosmscout
0.1
|
#include <EleFeature.h>
Public Member Functions | |
EleFeatureValue ()=default | |
EleFeatureValue (int16_t ele) | |
int16_t | GetEle () const |
std::string | GetLabel (const Locale &locale, size_t labelIndex) const override |
EleFeatureValue & | 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. More... | |
void | SetEle (int16_t ele) |
void | Write (FileWriter &writer) override |
Write the FeatureValue to disk. More... | |
![]() | |
FeatureValue ()=default | |
FeatureValue (const FeatureValue &featureValue)=default | |
virtual bool | IsFlagSet (size_t) const |
virtual bool | operator!= (const FeatureValue &other) const |
virtual | ~FeatureValue ()=default |
|
default |
|
inlineexplicit |
|
inline |
Referenced by osmscout::ElevationService< DataLoader >::ElevationProfile().
|
overridevirtual |
Reimplemented from osmscout::FeatureValue.
References osmscout::Locale::GetDistanceUnits(), osmscout::Locale::GetUnitsSeparator(), osmscout::Imperial, osmscout::EleFeature::IN_FEET_LABEL_INDEX, osmscout::EleFeature::IN_LOCALE_UNIT_LABEL_INDEX, osmscout::EleFeature::IN_METER_LABEL_INDEX, osmscout::Meters(), osmscout::Metrics, and osmscout::NumberToString().
|
overridevirtual |
Reimplemented from osmscout::FeatureValue.
|
overridevirtual |
Implements osmscout::FeatureValue.
|
overridevirtual |
Read the value of the Feature from the FileScanner.
IOException |
Implements osmscout::FeatureValue.
References osmscout::FileScanner::ReadInt16Number().
|
inline |
Referenced by osmscout::EleFeature::Parse().
|
overridevirtual |
Write the FeatureValue to disk.
IOException. |
Implements osmscout::FeatureValue.
References osmscout::FileWriter::WriteNumber().