#include <tag.hpp>
osmium::TagList::TagList |
( |
| ) |
|
|
inline |
const char* osmium::TagList::get_value_by_key |
( |
const char * |
key, |
|
|
const char * |
default_value = nullptr |
|
) |
| const |
|
inlinenoexcept |
Get tag value for the given tag key. If the key is not set, returns the default_value.
- Precondition
-
bool osmium::TagList::has_key |
( |
const char * |
key | ) |
const |
|
inlinenoexcept |
Returns true if the tag with the given key is in the tag list.
- Precondition
-
bool osmium::TagList::has_tag |
( |
const char * |
key, |
|
|
const char * |
value |
|
) |
| const |
|
inlinenoexcept |
Returns true if the tag with the given key and value is in the tag list.
- Precondition
key != nullptr && value != nullptr
const char* osmium::TagList::operator[] |
( |
const char * |
key | ) |
const |
|
inlinenoexcept |
Get tag value for the given tag key. If the key is not set, returns nullptr.
- Precondition
-
The documentation for this class was generated from the following file: