6 #include <unordered_set> 7 #include <unordered_map> 38 void add(
struct option long_opt);
57 std::vector<struct option> m_long_opts;
58 std::unordered_set<std::string> m_long_opts_set;
61 std::vector<char> m_short_opts;
62 std::unordered_set<int> m_short_opts_set;
65 std::unordered_map<char, std::string> m_short_to_long_map;
68 #endif // LONGOPTIONS_H std::string getLongOptionName(char short_option) const
const char * getShortOpts() const
void add(struct option long_opt)
const struct option * getLongOpts() const