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

Method copy_to

simcore/framework/src/cli/cli.hpp:3385–3395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3383 /// Copy the contents to another similar class (one based on OptionBase)
3384 template <typename T>
3385 void copy_to(T *other) const {
3386 other->group(group_);
3387 other->required(required_);
3388 other->ignore_case(ignore_case_);
3389 other->ignore_underscore(ignore_underscore_);
3390 other->configurable(configurable_);
3391 other->disable_flag_override(disable_flag_override_);
3392 other->delimiter(delimiter_);
3393 other->always_capture_default(always_capture_default_);
3394 other->multi_option_policy(multi_option_policy_);
3395 }
3396
3397 public:
3398 // setters

Callers 1

add_optionMethod · 0.80

Calls 9

groupMethod · 0.45
requiredMethod · 0.45
ignore_caseMethod · 0.45
ignore_underscoreMethod · 0.45
configurableMethod · 0.45
disable_flag_overrideMethod · 0.45
delimiterMethod · 0.45
multi_option_policyMethod · 0.45

Tested by

no test coverage detected