| 5 | namespace generator |
| 6 | { |
| 7 | std::shared_ptr<FilterInterface> FilterCollection::Clone() const |
| 8 | { |
| 9 | auto p = std::make_shared<FilterCollection>(); |
| 10 | for (auto const & c : m_collection) |
| 11 | p->Append(c->Clone()); |
| 12 | return p; |
| 13 | } |
| 14 | |
| 15 | bool FilterCollection::IsAccepted(OsmElement const & element) const |
| 16 | { |