MCPcopy Create free account
hub / github.com/catboost/catboost / GetAllChildren

Method GetAllChildren

library/cpp/yconf/conf.cpp:749–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747}
748
749TYandexConfig::TSectionsMap TYandexConfig::Section::GetAllChildren() const {
750 TSectionsMap result;
751 if (Child == nullptr)
752 return result;
753 Section* curSection = Child;
754 while (curSection) {
755 result.insert(TMultiMap<TCiString, Section*>::value_type(curSection->Name, curSection));
756 curSection = curSection->Next;
757 }
758 return result;
759}

Callers 4

MakeDiffFunction · 0.80
ToJsonPatchMethod · 0.80
GetSectionsMethod · 0.80
ToJsonMethod · 0.80

Calls 2

value_typeFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected