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

#include <TypeFeatures.h>

+ Inheritance diagram for osmscout::AdminLevelFeatureValue:

Public Member Functions

 AdminLevelFeatureValue ()
 
 AdminLevelFeatureValue (uint8_t adminLevel, const std::string &isIn)
 
uint8_t GetAdminLevel () const
 
std::string GetIsIn () const
 
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 SetAdminLevel (uint8_t adminLevel)
 
void SetIsIn (const std::string &isIn)
 
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 ()=default
 

Constructor & Destructor Documentation

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

Member Function Documentation

uint8_t osmscout::AdminLevelFeatureValue::GetAdminLevel ( ) const
inline
std::string osmscout::AdminLevelFeatureValue::GetIsIn ( ) const
inline
FeatureValue & osmscout::AdminLevelFeatureValue::operator= ( const FeatureValue other)
virtual

Reimplemented from osmscout::FeatureValue.

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Reimplemented from osmscout::FeatureValue.

void osmscout::AdminLevelFeatureValue::SetAdminLevel ( uint8_t  adminLevel)
inline
void osmscout::AdminLevelFeatureValue::SetIsIn ( const std::string &  isIn)
inline
void osmscout::AdminLevelFeatureValue::Write ( FileWriter &  writer)
virtual

Write the FeatureValue to disk.

Exceptions
IOException.

Reimplemented from osmscout::FeatureValue.


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