summaryrefslogtreecommitdiff
path: root/src/query_parser.hh
blob: 4c12502a0c3115c66a313c1c6f4639ac10dcb078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef QUERY_PARSER_HH
#define QUERY_PARSER_HH

#include <map>
#include <string>

namespace stuff {

class QueryParser {
public:
    static bool parse(const std::string& in,
                      std::map<std::string, std::string>* out);

private:
    QueryParser() {}
    ~QueryParser() {}
    QueryParser(const QueryParser&) = delete;
    QueryParser& operator=(const QueryParser&) = delete;
};

}  // namespace stuff

#endif /* QUERY_PARSER_HH */