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

#include <WidthFeature.h>

+ Inheritance diagram for osmscout::WidthFeatureValue:

Public Member Functions

uint8_t GetWidth () const
 
WidthFeatureValueoperator= (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 SetWidth (uint8_t width)
 
 WidthFeatureValue ()=default
 
 WidthFeatureValue (uint8_t width)
 
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 std::string GetLabel (const Locale &, size_t) const
 
virtual bool IsFlagSet (size_t) const
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

◆ WidthFeatureValue() [1/2]

osmscout::WidthFeatureValue::WidthFeatureValue ( )
default

◆ WidthFeatureValue() [2/2]

osmscout::WidthFeatureValue::WidthFeatureValue ( uint8_t  width)
inlineexplicit

Member Function Documentation

◆ GetWidth()

uint8_t osmscout::WidthFeatureValue::GetWidth ( ) const
inline

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Implements osmscout::FeatureValue.

References osmscout::FileScanner::ReadUInt8().

◆ SetWidth()

void osmscout::WidthFeatureValue::SetWidth ( uint8_t  width)
inline

◆ Write()

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

Write the FeatureValue to disk.

Exceptions
IOException.

Implements osmscout::FeatureValue.

References osmscout::FileWriter::Write().


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