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

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

Inheritance diagram for osmscout::AdminLevelFeatureValue:
Collaboration diagram for osmscout::AdminLevelFeatureValue:

Public Member Functions

 AdminLevelFeatureValue ()=default
 AdminLevelFeatureValue (uint8_t adminLevel, const std::string &isIn)
void SetAdminLevel (uint8_t adminLevel)
void SetIsIn (const std::string_view &isIn)
uint8_t GetAdminLevel () const
std::string GetIsIn () const
void Read (FileScanner &scanner) override
void Write (FileWriter &writer) override
AdminLevelFeatureValueoperator= (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 IsFlagSet (size_t) const
virtual bool operator!= (const FeatureValue &other) const

Constructor & Destructor Documentation

◆ AdminLevelFeatureValue() [1/2]

osmscout::AdminLevelFeatureValue::AdminLevelFeatureValue ( )
default

◆ AdminLevelFeatureValue() [2/2]

osmscout::AdminLevelFeatureValue::AdminLevelFeatureValue ( uint8_t adminLevel,
const std::string & isIn )
inline

Member Function Documentation

◆ GetAdminLevel()

uint8_t osmscout::AdminLevelFeatureValue::GetAdminLevel ( ) const
inline

◆ GetIsIn()

std::string osmscout::AdminLevelFeatureValue::GetIsIn ( ) const
inline

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

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

Read the value of the Feature from the FileScanner

Exceptions
IOException

Implements osmscout::FeatureValue.

◆ SetAdminLevel()

void osmscout::AdminLevelFeatureValue::SetAdminLevel ( uint8_t adminLevel)
inline

◆ SetIsIn()

void osmscout::AdminLevelFeatureValue::SetIsIn ( const std::string_view & isIn)
inline

◆ Write()

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