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

#include <BrandFeature.h>

+ Inheritance diagram for osmscout::BrandFeatureValue:

Public Member Functions

 BrandFeatureValue ()=default
 
 BrandFeatureValue (const BrandFeatureValue &featureValue)=default
 
 BrandFeatureValue (const std::string &name)
 
std::string GetLabel (const Locale &, size_t) const override
 
std::string GetName () const
 
BrandFeatureValueoperator= (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 SetName (const std::string_view &name)
 
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 bool IsFlagSet (size_t) const
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

◆ BrandFeatureValue() [1/3]

osmscout::BrandFeatureValue::BrandFeatureValue ( )
default

◆ BrandFeatureValue() [2/3]

osmscout::BrandFeatureValue::BrandFeatureValue ( const BrandFeatureValue featureValue)
default

◆ BrandFeatureValue() [3/3]

osmscout::BrandFeatureValue::BrandFeatureValue ( const std::string &  name)
inlineexplicit

Member Function Documentation

◆ GetLabel()

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

Reimplemented from osmscout::FeatureValue.

◆ GetName()

std::string osmscout::BrandFeatureValue::GetName ( ) const
inline

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Implements osmscout::FeatureValue.

References osmscout::FileScanner::ReadString().

◆ SetName()

void osmscout::BrandFeatureValue::SetName ( const std::string_view &  name)
inline

◆ Write()

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