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

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

Inheritance diagram for osmscout::ConstructionYearFeatureValue:
Collaboration diagram for osmscout::ConstructionYearFeatureValue:

Public Member Functions

 ConstructionYearFeatureValue ()=default
 ConstructionYearFeatureValue (int startYear, int endYear)
void SetStartYear (int year)
int GetStartYear () const
void SetEndYear (int year)
int GetEndYear () const
std::string GetLabel (const Locale &, size_t) const override
void Read (FileScanner &scanner) override
void Write (FileWriter &writer) override
ConstructionYearFeatureValueoperator= (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 bool IsFlagSet (size_t) const
virtual bool operator!= (const FeatureValue &other) const

Constructor & Destructor Documentation

◆ ConstructionYearFeatureValue() [1/2]

osmscout::ConstructionYearFeatureValue::ConstructionYearFeatureValue ( )
default

◆ ConstructionYearFeatureValue() [2/2]

osmscout::ConstructionYearFeatureValue::ConstructionYearFeatureValue ( int startYear,
int endYear )
inline

Member Function Documentation

◆ GetEndYear()

int osmscout::ConstructionYearFeatureValue::GetEndYear ( ) const
inline

◆ GetLabel()

std::string osmscout::ConstructionYearFeatureValue::GetLabel ( const Locale & ,
size_t  ) const
inlineoverridevirtual

Reimplemented from osmscout::FeatureValue.

◆ GetStartYear()

int osmscout::ConstructionYearFeatureValue::GetStartYear ( ) const
inline

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

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

Read the value of the Feature from the FileScanner

Exceptions
IOException

Implements osmscout::FeatureValue.

◆ SetEndYear()

void osmscout::ConstructionYearFeatureValue::SetEndYear ( int year)
inline

◆ SetStartYear()

void osmscout::ConstructionYearFeatureValue::SetStartYear ( int year)
inline

◆ Write()

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