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

Function FillEditableMapObject

libs/editor/editor_tests/osm_editor_test.cpp:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void FillEditableMapObject(osm::Editor const & editor, FeatureType & ft, osm::EditableMapObject & emo)
124{
125 emo.SetFromFeatureType(ft);
126 emo.SetHouseNumber(ft.GetHouseNumber());
127 emo.SetEditableProperties(editor.GetEditableProperties(ft));
128}
129
130void SetBuildingLevels(osm::EditableMapObject & emo, std::string s)
131{

Callers 5

GetFeatureStatusTestMethod · 0.85
RollBackChangesTestMethod · 0.85
SaveEditedFeatureTestMethod · 0.85

Calls 5

GetHouseNumberMethod · 0.80
SetEditablePropertiesMethod · 0.80
SetFromFeatureTypeMethod · 0.45
SetHouseNumberMethod · 0.45
GetEditablePropertiesMethod · 0.45

Tested by

no test coverage detected