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

Method HasAnyLongOption

library/cpp/getopt/small/last_getopt_opts.cpp:180–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 }
179
180 bool TOpts::HasAnyLongOption() const {
181 for (const auto& Opt : Opts_) {
182 TOpt* opt = Opt.Get();
183 if (!opt->GetLongNames().empty())
184 return true;
185 }
186 return false;
187 }
188
189 void TOpts::Validate() const {
190 for (TOptsVector::const_iterator i = Opts_.begin(); i != Opts_.end(); ++i) {

Callers

nothing calls this directly

Calls 2

GetMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected