1#pragma once
2
3#include <mbgl/util/feature.hpp>
4#include <mbgl/util/optional.hpp>
5
6#include <string>
7#include <memory>
8
9namespace mbgl {
10namespace style {
11namespace expression {
12
13class Collator {
14public:
15 Collator(bool caseSensitive, bool diacriticSensitive, optional<std::string> locale = {});
16
17 bool operator==(const Collator& other) const;
18
19 int compare(const std::string& lhs, const std::string& rhs) const;
20
21 std::string resolvedLocale() const;
22private:
23 class Impl;
24 std::shared_ptr<Impl> impl;
25};
26
27} // namespace expression
28} // namespace style
29} // namespace mbgl
30

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/style/expression/collator.hpp