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

Method GetReadableObjectName

libs/indexer/classificator.cpp:452–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452string Classificator::GetReadableObjectName(uint32_t type) const
453{
454 string s = GetFullObjectName(type);
455 // Remove ending dummy symbol.
456 ASSERT(!s.empty(), ());
457 s.pop_back();
458 // Replace separator.
459 replace(s.begin(), s.end(), '|', '-');
460 return s;
461}

Callers 15

TypeToStringFunction · 0.80
GetReadableTypeFunction · 0.80
GetWheelchairTypeFunction · 0.80
DebugPrintFunction · 0.80
HierarchyEntryToCsvRowFunction · 0.80
GetKeyFunction · 0.80
~EmitterImplMethod · 0.80
TestSurfaceTypesFunction · 0.80
BOOST_PYTHON_MODULEFunction · 0.80
ToDebugStringMethod · 0.80
SaveBookmarkExtendedDataFunction · 0.80

Calls 6

ASSERTFunction · 0.85
replaceFunction · 0.85
emptyMethod · 0.45
pop_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 5

TestSurfaceTypesFunction · 0.64
ToDebugStringMethod · 0.64
UNIT_CLASS_TESTFunction · 0.64
UNIT_CLASS_TESTFunction · 0.64
DebugPrintMethod · 0.64