|
| TagMatcher () |
|
template<typename TKey , typename X = typename std::enable_if< std::is_convertible<TKey, osmium::StringMatcher>::value, void>::type> |
| TagMatcher (TKey &&key_matcher) |
|
template<typename TKey , typename TValue , typename std::enable_if< std::is_convertible< TKey, osmium::StringMatcher >::value, int >::type = 0, typename std::enable_if< std::is_convertible< TValue, osmium::StringMatcher >::value, int >::type = 0> |
| TagMatcher (TKey &&key_matcher, TValue &&value_matcher, bool invert=false) |
|
bool | operator() (const char *key, const char *value) const noexcept |
|
bool | operator() (const osmium::Tag &tag) const noexcept |
|
bool | operator() (const osmium::TagList &tags) const noexcept |
|
Compares a tags key (and value) against the specified StringMatchers.
template<typename TKey , typename TValue , typename std::enable_if< std::is_convertible< TKey, osmium::StringMatcher >::value, int >::type = 0, typename std::enable_if< std::is_convertible< TValue, osmium::StringMatcher >::value, int >::type = 0>
osmium::TagMatcher::TagMatcher |
( |
TKey && |
key_matcher, |
|
|
TValue && |
value_matcher, |
|
|
bool |
invert = false |
|
) |
| |
|
inline |
Create a TagMatcher matching the key and value against the specified StringMatchers.
- Parameters
-
key_matcher | StringMatcher for matching the key. |
value_matcher | StringMatcher for matching the value. |
invert | If set to true, invert the result of the value_matcher. |