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

#include <TypeFeatures.h>

+ Inheritance diagram for osmscout::PhoneFeatureValue:

Public Member Functions

std::string GetLabel () const
 
std::string GetPhone () const
 
FeatureValueoperator= (const FeatureValue &other)
 
bool operator== (const FeatureValue &other) const
 
 PhoneFeatureValue ()
 
 PhoneFeatureValue (const std::string &phone)
 
void Read (FileScanner &scanner)
 Read the value of the Feature from the FileScanner. More...
 
void SetPhone (const std::string &phone)
 
void Write (FileWriter &writer)
 Write the FeatureValue to disk. More...
 
- Public Member Functions inherited from osmscout::FeatureValue
 FeatureValue ()
 
virtual bool operator!= (const FeatureValue &other) const
 
virtual ~FeatureValue ()=default
 

Constructor & Destructor Documentation

osmscout::PhoneFeatureValue::PhoneFeatureValue ( )
inline
osmscout::PhoneFeatureValue::PhoneFeatureValue ( const std::string &  phone)
inline

Member Function Documentation

std::string osmscout::PhoneFeatureValue::GetLabel ( ) const
inlinevirtual

Reimplemented from osmscout::FeatureValue.

std::string osmscout::PhoneFeatureValue::GetPhone ( ) const
inline
FeatureValue & osmscout::PhoneFeatureValue::operator= ( const FeatureValue other)
virtual

Reimplemented from osmscout::FeatureValue.

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

Read the value of the Feature from the FileScanner.

Exceptions
IOException

Reimplemented from osmscout::FeatureValue.

References osmscout::FileScanner::Read().

void osmscout::PhoneFeatureValue::SetPhone ( const std::string &  phone)
inline
void osmscout::PhoneFeatureValue::Write ( FileWriter writer)
virtual

Write the FeatureValue to disk.

Exceptions
IOException.

Reimplemented from osmscout::FeatureValue.

References osmscout::FileWriter::Write().


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