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

Method run_callback_for_default

simcore/framework/src/cli/cli.hpp:3726–3729  ·  view source on GitHub ↗

Set the value of run_callback_for_default which controls whether the callback function should be called to set the default This is controlled automatically but could be manipulated by the user.

Source from the content-addressed store, hash-verified

3724 /// Set the value of run_callback_for_default which controls whether the callback function should be called to set
3725 /// the default This is controlled automatically but could be manipulated by the user.
3726 Option *run_callback_for_default(bool value = true) {
3727 run_callback_for_default_ = value;
3728 return this;
3729 }
3730 /// Get the current value of run_callback_for_default
3731 bool get_run_callback_for_default() const { return run_callback_for_default_; }
3732

Callers 3

add_optionMethod · 0.80
add_flagMethod · 0.80
add_complexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected