Lines Matching defs:key
146 bool CommandParser::IsSet(std::string key)
148 if (argsMap.find(std::string("-") + key) == argsMap.end()) {
154 std::string CommandParser::Value(std::string key)
156 auto args = argsMap[std::string("-") + key];
163 std::vector<std::string> CommandParser::Values(std::string key)
165 if (argsMap.find(key) == argsMap.end()) {
168 std::vector<std::string> args = argsMap[key];
172 void CommandParser::Register(std::string key, uint32_t argc, std::string help)
174 regsArgsCountMap[key] = argc;
175 regsHelpMap[key] = help;