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

#include <TypeFeatures.h>

+ Inheritance diagram for osmscout::EleFeatureValue:

Public Member Functions

 EleFeatureValue ()
 
 EleFeatureValue (uint32_t ele)
 
uint32_t GetEle () const
 
std::string GetLabel () const
 
FeatureValueoperator= (const FeatureValue &other)
 
bool operator== (const FeatureValue &other) const
 
void Read (FileScanner &scanner)
 Read the value of the Feature from the FileScanner. More...
 
void SetEle (uint32_t ele)
 
void Write (FileWriter &writer)
 Write the FeatureValue to disk. More...
 
- Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

osmscout::EleFeatureValue::EleFeatureValue ( )
inline
osmscout::EleFeatureValue::EleFeatureValue ( uint32_t  ele)
inline

Member Function Documentation

uint32_t osmscout::EleFeatureValue::GetEle ( ) const
inline
std::string osmscout::EleFeatureValue::GetLabel ( ) const
inlinevirtual

Reimplemented from osmscout::FeatureValue.

References osmscout::NumberToString().

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

Reimplemented from osmscout::FeatureValue.

bool osmscout::EleFeatureValue::operator== ( const FeatureValue other) const
virtual
void osmscout::EleFeatureValue::Read ( FileScanner scanner)
virtual

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Reimplemented from osmscout::FeatureValue.

References osmscout::FileScanner::ReadNumber().

void osmscout::EleFeatureValue::SetEle ( uint32_t  ele)
inline
void osmscout::EleFeatureValue::Write ( FileWriter writer)
virtual

Write the FeatureValue to disk.

Exceptions
IOException.

Reimplemented from osmscout::FeatureValue.

References osmscout::FileWriter::WriteNumber().


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