5 #include <unordered_map> 8 std::string abbreviation_;
10 std::string description_;
17 ArgParser(
const std::string& executable_name);
18 ArgParser(
const std::string& usage,
const std::string& description,
const std::string& example=
"");
21 void AddOptions(
const std::vector<Arg>& options);
22 bool Parse(
int argc,
char* argv[]);
25 bool Get(
const std::string& identifier, std::string& value);
30 std::vector<Arg> options_;
31 std::unordered_map<std::string, std::string> abbv_to_full_;
32 std::unordered_map<std::string, std::string> full_to_value_;
35 std::string description_;
37 std::string executable_name_;
Definition: arg_parser.h:7
Definition: arg_parser.h:14