|
libosmscout 0.1
|
The address feature stores the house number of an (normally) node or area. More...
#include <AddressFeature.h>
Inheritance diagram for osmscout::AddressFeatureValue:Public Member Functions | |
| AddressFeatureValue ()=default | |
| AddressFeatureValue (const AddressFeatureValue &featureValue)=default | |
| AddressFeatureValue (const std::string &address) | |
| std::string | GetAddress () const |
| std::string | GetLabel (const Locale &, size_t) const override |
| AddressFeatureValue & | operator= (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. | |
| void | SetAddress (const std::string_view &address) |
| void | Write (FileWriter &writer) override |
| Write the FeatureValue to disk. | |
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 |
The address feature stores the house number of an (normally) node or area.
Even the data is not stored the address feature checks that a street or place and an house number is stored on the object.
So in effect it stores the house number part of objects that have an address.
|
default |
|
default |
|
inlineexplicit |
|
inline |
|
inlineoverridevirtual |
Reimplemented from osmscout::FeatureValue.
|
overridevirtual |
Reimplemented from osmscout::FeatureValue.
|
overridevirtual |
Implements osmscout::FeatureValue.
|
overridevirtual |
Read the value of the Feature from the FileScanner.
| IOException |
Implements osmscout::FeatureValue.
References osmscout::FileScanner::ReadString().
|
inline |
Referenced by osmscout::AddressFeature::Parse().
|
overridevirtual |
Write the FeatureValue to disk.
| IOException. |
Implements osmscout::FeatureValue.
References osmscout::FileWriter::Write().