MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / insert

Method insert

src/core/map.cpp:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void Map::MapColorSet::insert(int pos, MapColor* color)
140{
141 colors.insert(colors.begin() + pos, color);
142 adjustColorPriorities(pos + 1, colors.size());
143}
144
145void Map::MapColorSet::erase(int pos)
146{

Callers 15

testMapperToOcdMethod · 0.45
renderTestMethod · 0.45
gpxTestMethod · 0.45
crudTestMethod · 0.45
getSettingCachedMethod · 0.45
setSettingInCacheMethod · 0.45
updateDisplayTextMethod · 0.45
addAngleMethod · 0.45
operator()Method · 0.45
makeColorMethod · 0.45

Calls 2

beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected