Lines Matching refs:args
61 Result Parse(const std::string& args) {
62 if (args == "") {
65 return Result::Failure("Unexpected extra characters " + args);
310 Result Parse(const std::string& args) {
311 return Result::Success(args);
314 Result ParseAndAppend(const std::string& args,
317 existing_value = args;
320 existing_value += args;
329 Result Parse(const std::string& args) {
331 return Result::Failure("Unconditional failure: Plugin vector must be appended: " + args);
334 Result ParseAndAppend(const std::string& args,
336 existing_value.push_back(Plugin::Create(args));
346 Result Parse(const std::string& args) {
348 return Result::Failure("Unconditional failure: Agent list must be appended: " + args);
351 Result ParseAndAppend(const std::string& args,
353 existing_value.emplace_back(args);
363 Result Parse(const std::string& args) {
365 return Result::Failure("Unconditional failure: string vector must be appended: " + args);
368 Result ParseAndAppend(const std::string& args,
370 existing_value.push_back(args);
416 Result Parse(const std::string& args) {
417 return Result::Success(ParseStringList<Separator>::Split(args));
434 Result Parse(const std::string& args) {
436 const char* pos = args.c_str();
443 return Result::Failure("Failed to parse integer from " + args);
447 return Result::OutOfRange("Failed to parse integer from " + args + "; out of range");