MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / isSet

Method isSet

encrypt-config/ArgParser.cpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool Arguments::isSet(const std::string &flag) const {
113 utils::optional<Flag> opt_flag = getFlag(flag);
114 if (!opt_flag) {
115 return false;
116 }
117 return utils::haveCommonItem(opt_flag->names, flags_);
118}
119
120Arguments Arguments::parse(int argc, char* argv[]) {
121 Arguments args;

Callers 2

mainFunction · 0.80
parseMethod · 0.80

Calls 1

haveCommonItemFunction · 0.85

Tested by

no test coverage detected