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

#include <LayerFeature.h>

+ Inheritance diagram for osmscout::LayerFeatureValue:

Public Member Functions

int8_t GetLayer () const
 
 LayerFeatureValue ()=default
 
 LayerFeatureValue (int8_t layer)
 
LayerFeatureValueoperator= (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 SetLayer (int8_t layer)
 
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

◆ LayerFeatureValue() [1/2]

osmscout::LayerFeatureValue::LayerFeatureValue ( )
default

◆ LayerFeatureValue() [2/2]

osmscout::LayerFeatureValue::LayerFeatureValue ( int8_t  layer)
inlineexplicit

Member Function Documentation

◆ GetLayer()

int8_t osmscout::LayerFeatureValue::GetLayer ( ) const
inline

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Implements osmscout::FeatureValue.

References osmscout::FileScanner::ReadInt8().

◆ SetLayer()

void osmscout::LayerFeatureValue::SetLayer ( int8_t  layer)
inline

◆ Write()

void osmscout::LayerFeatureValue::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: