Kùzu C++ API
Loading...
Searching...
No Matches
case_insensitive_map.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <unordered_map>
6#include <unordered_set>
7
8#include "api.h"
9
10namespace kuzu {
11namespace common {
12
14 KUZU_API uint64_t operator()(const std::string& str) const;
15};
16
18 KUZU_API bool operator()(const std::string& lhs, const std::string& rhs) const;
19};
20
21template<typename T>
22using case_insensitive_map_t = std::unordered_map<std::string, T, CaseInsensitiveStringHashFunction,
24
25using case_insensitve_set_t = std::unordered_set<std::string, CaseInsensitiveStringHashFunction,
27
28} // namespace common
29} // namespace kuzu
#define KUZU_API
Definition api.h:25
std::unordered_set< std::string, CaseInsensitiveStringHashFunction, CaseInsensitiveStringEquality > case_insensitve_set_t
Definition case_insensitive_map.h:25
std::unordered_map< std::string, T, CaseInsensitiveStringHashFunction, CaseInsensitiveStringEquality > case_insensitive_map_t
Definition case_insensitive_map.h:22
Definition array_utils.h:7
Definition case_insensitive_map.h:17
KUZU_API bool operator()(const std::string &lhs, const std::string &rhs) const
Definition case_insensitive_map.h:13
KUZU_API uint64_t operator()(const std::string &str) const