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

Function ForEachObject

libs/map/style_tests/classificator_tests.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73};
74
75void ForEachObject(Classificator const & c, vector<string_view> const & path, GeomType geomType, int rules)
76{
77 uint32_t const type = c.GetTypeByPath(path);
78 ClassifObject const * pObj = c.GetObject(type);
79
80 DoCheckStyles doCheck(c, geomType, rules);
81 doCheck(pObj, type);
82 pObj->ForEachObjectInTree(doCheck, type);
83}
84
85void ForEachObject(Classificator const & c, string const & name, GeomType geomType, int rules)
86{

Callers 2

CheckPointStylesFunction · 0.85
CheckLineStylesFunction · 0.85

Calls 4

GetTypeByPathMethod · 0.80
GetObjectMethod · 0.80
ForEachObjectInTreeMethod · 0.80
TokenizeFunction · 0.50

Tested by

no test coverage detected