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

Method GetObject

libs/indexer/classificator.cpp:106–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106ClassifObject const * ClassifObject::GetObject(size_t i) const
107{
108 if (i < m_objs.size())
109 return &(m_objs[i]);
110 else
111 {
112 LOG(LINFO, ("Map contains object that has no classificator entry", i, m_name));
113 return nullptr;
114 }
115}
116
117/////////////////////////////////////////////////////////////////////////////////////////
118// Classificator implementation

Callers 15

SortBySpecMethod · 0.80
ForEachPathObjectMethod · 0.80
CuisinesMethod · 0.80
GetDrawRuleFunction · 0.80
IsUsefulTypeFunction · 0.80
CanGenerateLikeFunction · 0.80
GetDrawableScaleRangeFunction · 0.80
IsVisibleInRangeFunction · 0.80
IsDrawableForRulesFunction · 0.80
IsMatchedMethod · 0.80
UNIT_TESTFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 3

UNIT_TESTFunction · 0.64
ForEachObjectFunction · 0.64
UNIT_TESTFunction · 0.64