libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::SidewayFeatureValue Class Reference

#include <libosmscout/include/osmscout/feature/SidewayFeature.h>

Inheritance diagram for osmscout::SidewayFeatureValue:
Collaboration diagram for osmscout::SidewayFeatureValue:

Public Types

enum  Feature : uint8_t {
  sidewalkTrackLeft = 1u << 0u , sidewalkTrackRight = 1u << 1u , cyclewayLaneLeft = 1u << 2u , cyclewayLaneRight = 1u << 3u ,
  cyclewayTrackLeft = 1u << 4u , cyclewayTrackRight = 1u << 5u
}

Public Member Functions

 SidewayFeatureValue ()=default
bool IsFlagSet (size_t flagIndex) const override
void SetFeatureSet (uint8_t featureSet)
bool HasSidewalkTrackLeft () const
bool HasSidewalkTrackRight () const
bool HasCyclewayLaneLeft () const
bool HasCyclewayLaneRight () const
bool HasCyclewayTrackLeft () const
bool HasCyclewayTrackRight () const
void Read (FileScanner &scanner) override
void Write (FileWriter &writer) override
SidewayFeatureValueoperator= (const FeatureValue &other) override
bool operator== (const FeatureValue &other) const override
Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()=default
 FeatureValue (const FeatureValue &featureValue)=default
virtual ~FeatureValue ()=default
virtual std::string GetLabel (const Locale &, size_t) const
virtual bool operator!= (const FeatureValue &other) const

Member Enumeration Documentation

◆ Feature

Enumerator
sidewalkTrackLeft 
sidewalkTrackRight 
cyclewayLaneLeft 
cyclewayLaneRight 
cyclewayTrackLeft 
cyclewayTrackRight 

Constructor & Destructor Documentation

◆ SidewayFeatureValue()

osmscout::SidewayFeatureValue::SidewayFeatureValue ( )
default

Member Function Documentation

◆ HasCyclewayLaneLeft()

bool osmscout::SidewayFeatureValue::HasCyclewayLaneLeft ( ) const
inline

◆ HasCyclewayLaneRight()

bool osmscout::SidewayFeatureValue::HasCyclewayLaneRight ( ) const
inline

◆ HasCyclewayTrackLeft()

bool osmscout::SidewayFeatureValue::HasCyclewayTrackLeft ( ) const
inline

◆ HasCyclewayTrackRight()

bool osmscout::SidewayFeatureValue::HasCyclewayTrackRight ( ) const
inline

◆ HasSidewalkTrackLeft()

bool osmscout::SidewayFeatureValue::HasSidewalkTrackLeft ( ) const
inline

◆ HasSidewalkTrackRight()

bool osmscout::SidewayFeatureValue::HasSidewalkTrackRight ( ) const
inline

◆ IsFlagSet()

bool osmscout::SidewayFeatureValue::IsFlagSet ( size_t flagIndex) const
inlineoverridevirtual

Reimplemented from osmscout::FeatureValue.

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

bool osmscout::SidewayFeatureValue::operator== ( const FeatureValue & other) const
overridevirtual

◆ Read()

void osmscout::SidewayFeatureValue::Read ( FileScanner & scanner)
overridevirtual

Read the value of the Feature from the FileScanner

Exceptions
IOException

Implements osmscout::FeatureValue.

◆ SetFeatureSet()

void osmscout::SidewayFeatureValue::SetFeatureSet ( uint8_t featureSet)
inline

◆ Write()

void osmscout::SidewayFeatureValue::Write ( FileWriter & writer)
overridevirtual

Write the FeatureValue to disk.

Exceptions
IOException.

Implements osmscout::FeatureValue.


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