26 #ifndef NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP 27 #define NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP 130 class Error :
public std::invalid_argument
135 :
std::invalid_argument(what)
187 const std::string& metavar =
"");
195 parse(
const std::vector<std::string>& tokens,
size_t start = 0)
const;
199 parseValue(
ArgValueType valueType,
const std::string& token)
const;
214 typedef std::map<std::string, Arg> ArgMap;
216 std::set<std::string> m_requiredArgs;
217 std::vector<std::string> m_positionalArgs;
224 #endif // NFD_TOOLS_NFDC_COMMAND_DEFINITION_HPP
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...