MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / Flag

Method Flag

lib/config/flags.cc:211–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211Flag::Flag(const std::vector<std::string>& names, const std::string helptext):
212 _group(*currentFlagGroup),
213 _names(names),
214 _helptext(helptext)
215{
216 if (!currentFlagGroup)
217 error("no flag group defined for {}", *names.begin());
218 _group.addFlag(this);
219}
220
221void BoolFlag::set(const std::string& value)
222{

Callers

nothing calls this directly

Calls 3

errorFunction · 0.85
addFlagMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected