Searched refs:QueryKey (Results 1 – 2 of 2) sorted by relevance
86 struct QueryKey { struct90 QueryKey(std::string n, unsigned t) : name(move(n)), type(t) {} in QueryKey() function91 bool operator == (const QueryKey& o) const {94 bool operator < (const QueryKey& o) const {102 size_t operator() (const QueryKey& key) const { in operator()160 std::unordered_map<QueryKey, std::string, QueryKeyHash> mappings_
551 auto it = mappings_.find(QueryKey(name, type)); in addMapping()564 auto it = mappings_.find(QueryKey(name, type)); in removeMapping()818 std::unordered_map<QueryKey, std::string, QueryKeyHash>::const_iterator it; in addAnswerRecords()819 while ((it = mappings_.find(QueryKey(rname, rtype))) != mappings_.end()) { in addAnswerRecords()