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

#include <NameFeature.h>

+ Inheritance diagram for osmscout::NameFeatureValue:

Public Member Functions

std::string GetLabel (const Locale &, size_t) const override
 
std::string GetName () const
 
 NameFeatureValue ()=default
 
 NameFeatureValue (const NameFeatureValue &featureValue)=default
 
 NameFeatureValue (const std::string &name)
 
NameFeatureValueoperator= (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

◆ NameFeatureValue() [1/3]

osmscout::NameFeatureValue::NameFeatureValue ( )
default

◆ NameFeatureValue() [2/3]

osmscout::NameFeatureValue::NameFeatureValue ( const NameFeatureValue featureValue)
default

◆ NameFeatureValue() [3/3]

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

Member Function Documentation

◆ GetLabel()

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

Reimplemented from osmscout::FeatureValue.

◆ GetName()

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

◆ operator=()

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

Reimplemented from osmscout::FeatureValue.

◆ operator==()

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

◆ Read()

void osmscout::NameFeatureValue::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::NameFeatureValue::SetName ( const std::string_view &  name)
inline

◆ Write()

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