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

#include <TypeFeatures.h>

+ Inheritance diagram for osmscout::GradeFeatureValue:

Public Member Functions

uint8_t GetGrade () const
 
 GradeFeatureValue ()
 
 GradeFeatureValue (uint8_t grade)
 
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 SetGrade (uint8_t grade)
 
void Write (FileWriter &writer)
 Write the FeatureValue to disk. More...
 
- Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()
 
virtual std::string GetLabel () const
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

osmscout::GradeFeatureValue::GradeFeatureValue ( )
inline
osmscout::GradeFeatureValue::GradeFeatureValue ( uint8_t  grade)
inline

Member Function Documentation

uint8_t osmscout::GradeFeatureValue::GetGrade ( ) const
inline
FeatureValue & osmscout::GradeFeatureValue::operator= ( const FeatureValue other)
virtual

Reimplemented from osmscout::FeatureValue.

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Reimplemented from osmscout::FeatureValue.

void osmscout::GradeFeatureValue::SetGrade ( uint8_t  grade)
inline
void osmscout::GradeFeatureValue::Write ( FileWriter &  writer)
virtual

Write the FeatureValue to disk.

Exceptions
IOException.

Reimplemented from osmscout::FeatureValue.


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