1 #ifndef OSMIUM_TAGS_TAGS_FILTER_HPP 2 #define OSMIUM_TAGS_TAGS_FILTER_HPP 39 #include <boost/iterator/filter_iterator.hpp> 64 std::vector<std::pair<bool, TagMatcher>>
m_rules;
69 using iterator = boost::filter_iterator<TagsFilter, osmium::TagList::const_iterator>;
97 m_rules.emplace_back(result, matcher);
109 template <
typename... TArgs>
123 for (
const auto& rule :
m_rules) {
124 if (rule.second(tag)) {
154 #endif // OSMIUM_TAGS_TAGS_FILTER_HPP
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: matcher.hpp:47