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

Method AddMode

library/cpp/getopt/small/modchooser.cpp:89–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87TModChooser::~TModChooser() = default;
88
89void TModChooser::AddMode(const TString& mode, const TMainFunctionRawPtr func, const TString& description, bool hidden, bool noCompletion) {
90 AddMode(mode, TMainFunctionPtr(func), description, hidden, noCompletion);
91}
92
93void TModChooser::AddMode(const TString& mode, const TMainFunctionRawPtrV func, const TString& description, bool hidden, bool noCompletion) {
94 AddMode(mode, TMainFunctionPtrV(func), description, hidden, noCompletion);

Callers 4

RegisterModesMethod · 0.80
Y_UNIT_TESTFunction · 0.80
mode_metadataFunction · 0.80
mainFunction · 0.80

Calls 5

push_backMethod · 0.45
GetMethod · 0.45
backMethod · 0.45
FindPtrMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected