26 #ifndef NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP 27 #define NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP 130 class Error :
public std::invalid_argument
133 using std::invalid_argument::invalid_argument;
183 const std::string& metavar =
"");
191 parse(
const std::vector<std::string>& tokens,
size_t start = 0)
const;
195 parseValue(
ArgValueType valueType,
const std::string& token)
const;
209 std::map<std::string, Arg> m_args;
210 std::set<std::string> m_requiredArgs;
211 std::vector<std::string> m_positionalArgs;
218 #endif // NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...