1#ifndef OSMIUM_TAGS_MATCHER_HPP
2#define OSMIUM_TAGS_MATCHER_HPP
75 template <
typename TKey,
typename X = std::enable_if_t<
76 std::is_convertible<TKey, osmium::StringMatcher>::value,
void>>
90 template <
typename TKey,
typename TValue,
91 typename std::enable_if_t<std::is_convertible<TKey, osmium::StringMatcher>::value,
int> = 0,
92 typename std::enable_if_t<std::is_convertible<TValue, osmium::StringMatcher>::value,
int> = 0>
93 TagMatcher(TKey&& key_matcher, TValue&& value_matcher,
bool invert =
false) :
105 bool operator()(
const char* key,
const char* value)
const noexcept {
126 return operator()(tag);
Definition string_matcher.hpp:62
bool m_has_value_matcher
Definition matcher.hpp:52
bool has_value_matcher() const noexcept
Definition matcher.hpp:65
TagMatcher()
Definition matcher.hpp:60
osmium::StringMatcher m_key_matcher
Definition matcher.hpp:50
TagMatcher(TKey &&key_matcher)
Definition matcher.hpp:77
bool m_result
Definition matcher.hpp:53
TagMatcher(TKey &&key_matcher, TValue &&value_matcher, bool invert=false)
Definition matcher.hpp:93
bool operator()(const char *key, const char *value) const noexcept
Definition matcher.hpp:105
bool operator()(const osmium::TagList &tags) const noexcept
Definition matcher.hpp:124
osmium::StringMatcher m_value_matcher
Definition matcher.hpp:51
bool operator()(const osmium::Tag &tag) const noexcept
Definition matcher.hpp:115
Namespace for everything in the Osmium library.
Definition assembler.hpp:53
Definition location.hpp:555