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

#include <TypeFeatures.h>

+ Inheritance diagram for osmscout::MaxSpeedFeatureValue:

Public Member Functions

uint8_t GetMaxSpeed () const
 
 MaxSpeedFeatureValue ()
 
 MaxSpeedFeatureValue (uint8_t maxSpeed)
 
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 SetMaxSpeed (uint8_t maxSpeed)
 
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 ()
 

Constructor & Destructor Documentation

osmscout::MaxSpeedFeatureValue::MaxSpeedFeatureValue ( )
inline
osmscout::MaxSpeedFeatureValue::MaxSpeedFeatureValue ( uint8_t  maxSpeed)
inline

Member Function Documentation

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

Reimplemented from osmscout::FeatureValue.

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Reimplemented from osmscout::FeatureValue.

References osmscout::FileScanner::Read().

void osmscout::MaxSpeedFeatureValue::SetMaxSpeed ( uint8_t  maxSpeed)
inline
void osmscout::MaxSpeedFeatureValue::Write ( FileWriter writer)
virtual

Write the FeatureValue to disk.

Exceptions
IOException.

Reimplemented from osmscout::FeatureValue.

References osmscout::FileWriter::Write().


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