libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
osmscout::EleFeatureValue Class Reference

#include <EleFeature.h>

+ Inheritance diagram for osmscout::EleFeatureValue:

Public Member Functions

 EleFeatureValue ()=default
 
 EleFeatureValue (int16_t ele)
 
int16_t GetEle () const
 
std::string GetLabel (const Locale &locale, size_t labelIndex) const override
 
EleFeatureValueoperator= (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...
 
- Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()=default
 
 FeatureValue (const FeatureValue &featureValue)=default
 
virtual bool IsFlagSet (size_t) const
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

◆ EleFeatureValue() [1/2]

osmscout::EleFeatureValue::EleFeatureValue ( )
default

◆ EleFeatureValue() [2/2]

osmscout::EleFeatureValue::EleFeatureValue ( int16_t  ele)
inlineexplicit

Member Function Documentation

◆ GetEle()

int16_t osmscout::EleFeatureValue::GetEle ( ) const
inline

◆ GetLabel()

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

bool osmscout::EleFeatureValue::operator== ( const FeatureValue other) const
overridevirtual

◆ Read()

void osmscout::EleFeatureValue::Read ( FileScanner scanner)
overridevirtual

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Implements osmscout::FeatureValue.

References osmscout::FileScanner::ReadInt16Number().

◆ SetEle()

void osmscout::EleFeatureValue::SetEle ( int16_t  ele)
inline

◆ Write()

void osmscout::EleFeatureValue::Write ( FileWriter writer)
overridevirtual

Write the FeatureValue to disk.

Exceptions
IOException.

Implements osmscout::FeatureValue.

References osmscout::FileWriter::WriteNumber().


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