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

Method Clone

generator/translator_collection.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace generator
8{
9std::shared_ptr<TranslatorInterface> TranslatorCollection::Clone() const
10{
11 auto p = std::make_shared<TranslatorCollection>();
12 for (auto const & c : m_collection)
13 p->Append(c->Clone());
14 return p;
15}
16
17void TranslatorCollection::Emit(OsmElement const & element)
18{

Callers

nothing calls this directly

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected