blob: e786938503ffd6f2b4f8bd094feb47255be3c452 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
struct OsmElement;
namespace feature
{
class FeatureBuilder;
} // namespace feature
namespace generator
{
// Implementing this interface allows an object to filter OsmElement and FeatureBuilder1 elements.
class FilterInterface
{
public:
virtual ~FilterInterface() = default;
virtual bool IsAccepted(OsmElement const &) { return true; }
virtual bool IsAccepted(feature::FeatureBuilder const &) { return true; }
};
} // namespace generator
|