MCPcopy Create free account
hub / github.com/comaps/comaps / Clone

Method Clone

generator/filter_collection.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace generator
6{
7std::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
15bool FilterCollection::IsAccepted(OsmElement const & element) const
16{

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected