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

Method GetFreeArgTitle

library/cpp/getopt/small/last_getopt_opts.cpp:262–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 }
261
262 TStringBuf TOpts::GetFreeArgTitle(size_t pos) const {
263 if (FreeArgSpecs_.contains(pos)) {
264 return FreeArgSpecs_.at(pos).GetTitle(DefaultFreeArgTitle_);
265 }
266 return DefaultFreeArgTitle_;
267 }
268
269 void TOpts::SetFreeArgTitle(size_t pos, const TString& title, const TString& help, bool optional) {
270 FreeArgSpecs_[pos] = TFreeArgSpec(title, help, optional);

Callers

nothing calls this directly

Calls 3

GetTitleMethod · 0.80
containsMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected