MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / process

Method process

base/poco/Util/src/OptionProcessor.cpp:44–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44bool OptionProcessor::process(const std::string& argument, std::string& optionName, std::string& optionArg)
45{
46 optionName.clear();
47 optionArg.clear();
48 if (!_ignore)
49 {
50 if (!_deferredOption.empty())
51 return processCommon(argument, false, optionName, optionArg);
52 else if (_unixStyle)
53 return processUnix(argument, optionName, optionArg);
54 else
55 return processDefault(argument, optionName, optionArg);
56 }
57 return false;
58}
59
60
61void OptionProcessor::checkRequired() const

Callers 2

checkRequiredMethod · 0.45
processCommonMethod · 0.45

Calls 2

clearMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected