blob: f4690ce20dc3cee341e71823943a241ca4ceae6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "generator/collection_base.hpp"
#include "generator/filter_interface.hpp"
#include <memory>
struct OsmElement;
namespace feature
{
class FeatureBuilder;
} // namespace feature
namespace generator
{
// This class allows you to work with a group of filters as with one.
class FilterCollection : public CollectionBase<std::shared_ptr<FilterInterface>>, public FilterInterface
{
public:
// FilterInterface overrides:
bool IsAccepted(OsmElement const & element) override;
bool IsAccepted(feature::FeatureBuilder const & feature) override;
};
} // namespace generator
|