#include <tag.hpp>
◆ TagList()
osmium::TagList::TagList |
( |
| ) |
|
|
inline |
◆ find_key()
◆ get_value_by_key()
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
-
◆ has_key()
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
-
◆ has_tag()
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
◆ operator[]()
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: