1#ifndef OSMIUM_TAGS_TAGS_FILTER_HPP
2#define OSMIUM_TAGS_TAGS_FILTER_HPP
65 template <
typename TResult>
68 std::vector<std::pair<TResult, TagMatcher>>
m_rules;
101 m_rules.emplace_back(result, matcher);
113 template <
typename... TArgs>
127 for (
const auto& rule :
m_rules) {
128 if (rule.second(tag)) {
140 std::size_t
count() const noexcept {
Definition: matcher.hpp:48
Definition: collection.hpp:117
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53