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

Function MakeOsmElement

generator/generator_tests/common.cpp:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6{
7
8OsmElement MakeOsmElement(uint64_t id, Tags const & tags, OsmElement::EntityType t)
9{
10 OsmElement el;
11 el.m_id = id;
12 el.m_type = t;
13 for (auto const & t : tags)
14 el.AddTag(t.first, t.second);
15
16 return el;
17}
18
19std::string GetFileName(std::string const & filename)
20{

Callers 12

MakeFbForTestFunction · 0.85
UNIT_TESTFunction · 0.85
MakePostcodeAreaRelationFunction · 0.85
MakeAreaWithPlaceNodeFunction · 0.85
UNIT_TESTFunction · 0.85
UNIT_TESTFunction · 0.85
AddOsmWayByPointsFunction · 0.85
MakeOsmElementWithNodesFunction · 0.85
UNIT_CLASS_TESTFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 1

AddTagMethod · 0.45

Tested by 10

MakeFbForTestFunction · 0.68
UNIT_TESTFunction · 0.68
MakePostcodeAreaRelationFunction · 0.68
MakeAreaWithPlaceNodeFunction · 0.68
UNIT_TESTFunction · 0.68
UNIT_TESTFunction · 0.68
AddOsmWayByPointsFunction · 0.68
MakeOsmElementWithNodesFunction · 0.68
UNIT_CLASS_TESTFunction · 0.68
UNIT_TESTFunction · 0.68