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

Method needs

simcore/framework/src/cli/cli.hpp:3802–3807  ·  view source on GitHub ↗

Sets required options

Source from the content-addressed store, hash-verified

3800
3801 /// Sets required options
3802 Option *needs(Option *opt) {
3803 if (opt != this) {
3804 needs_.insert(opt);
3805 }
3806 return this;
3807 }
3808
3809 /// Can find a string if needed
3810 template <typename T = App>

Callers

nothing calls this directly

Calls 2

get_option_no_throwMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected