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

Method GetTypeByReadableObjectName

libs/indexer/classificator.cpp:402–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402uint32_t Classificator::GetTypeByReadableObjectName(std::string const & name) const
403{
404 ASSERT(!name.empty(), ());
405 return GetTypeByPathSafe(strings::Tokenize(name, "-"));
406}
407
408void Classificator::ReadTypesMapping(std::istream & s)
409{

Callers 15

HierarchyEntryFromCsvRowFunction · 0.80
OnListItemSelectedMethod · 0.80
CharDataMethod · 0.80
ClassificatorTypeToIndexFunction · 0.80
MarkAsDisusedMethod · 0.80
UNIT_CLASS_TESTFunction · 0.80
GetEditJournalMethod · 0.80
NewFeatureCategoriesMethod · 0.80
AddLanguageMethod · 0.80

Calls 3

ASSERTFunction · 0.85
TokenizeFunction · 0.50
emptyMethod · 0.45

Tested by 4

UNIT_CLASS_TESTFunction · 0.64
UNIT_TESTFunction · 0.64
UNIT_TESTFunction · 0.64
UNIT_TESTFunction · 0.64