31 #include "usbguard/Typedefs.hpp" 35 class KeyValueParserPrivate;
53 KeyValueParser(
const std::vector<std::string>& v,
bool case_sensitive,
bool validate_keys);
66 KeyValueParser(
const std::vector<std::string>& v,
const std::string& sep,
bool case_sensitive,
bool validate_keys);
83 std::pair<std::string, std::string> parseLine(std::string& str);
96 void parseStream(std::istream& stream);
107 std::map<std::string, std::string> getMap();
115 std::unique_ptr<KeyValueParserPrivate> d_pointer;
Serves as a config file parser.
Definition: KeyValueParser.hpp:40