MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / check_fname

Method check_fname

simcore/framework/src/cli/cli.hpp:4160–4165  ·  view source on GitHub ↗

Requires "--" to be removed from string

Source from the content-addressed store, hash-verified

4158
4159 /// Requires "--" to be removed from string
4160 bool check_fname(std::string name) const {
4161 if (fnames_.empty()) {
4162 return false;
4163 }
4164 return (detail::find_member(std::move(name), fnames_, ignore_case_, ignore_underscore_) >= 0);
4165 }
4166
4167 /// Get the value that goes for a flag, nominally gets the default value but allows for overrides if not
4168 /// disabled

Callers

nothing calls this directly

Calls 2

find_memberFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected