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

Method GetName

library/cpp/getopt/small/last_getopt_opt.cpp:42–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 TString TOpt::GetName() const {
43 if (LongNames_.empty())
44 ythrow TConfException() << "no name for option " << this->ToShortString();
45 return LongNames_.at(0);
46 }
47
48 bool TOpt::IsAllowedShortName(unsigned char c) {
49 return isprint(c) && TStringBuf::npos == ExcludedShortNameChars.find(c);

Callers 6

ReopenLogMethod · 0.45
ReopenLogMethod · 0.45
InitMethod · 0.45
~TPortGuardMethod · 0.45
TEST_FFunction · 0.45

Calls 4

ToShortStringMethod · 0.95
TConfExceptionClass · 0.85
emptyMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected