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

Method remove_excludes

simcore/framework/src/cli/cli.hpp:5909–5916  ·  view source on GitHub ↗

Removes an option from the excludes list of this subcommand

Source from the content-addressed store, hash-verified

5907
5908 /// Removes an option from the excludes list of this subcommand
5909 bool remove_excludes(Option *opt) {
5910 auto iterator = std::find(std::begin(exclude_options_), std::end(exclude_options_), opt);
5911 if (iterator == std::end(exclude_options_)) {
5912 return false;
5913 }
5914 exclude_options_.erase(iterator);
5915 return true;
5916 }
5917
5918 /// Removes a subcommand from the excludes list of this subcommand
5919 bool remove_excludes(App *app) {

Callers 2

remove_optionMethod · 0.45
remove_subcommandMethod · 0.45

Calls 4

findFunction · 0.85
beginFunction · 0.85
endFunction · 0.85
eraseMethod · 0.45

Tested by

no test coverage detected