ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
ReorderedIndexMap.d.hpp
Go to the documentation of this file.
1#ifndef icu4x_ReorderedIndexMap_D_HPP
2#define icu4x_ReorderedIndexMap_D_HPP
3
4#include <stdio.h>
5#include <stdint.h>
6#include <stddef.h>
7#include <stdbool.h>
8#include <memory>
9#include <functional>
10#include <optional>
11#include <cstdlib>
13
14
15namespace icu4x {
16namespace capi {
17 struct ReorderedIndexMap;
18} // namespace capi
19} // namespace
20
21namespace icu4x {
29class ReorderedIndexMap {
30public:
31
36
40 inline size_t len() const;
41
45 inline bool is_empty() const;
46
52 inline size_t operator[](size_t index) const;
53
54 inline const icu4x::capi::ReorderedIndexMap* AsFFI() const;
55 inline icu4x::capi::ReorderedIndexMap* AsFFI();
56 inline static const icu4x::ReorderedIndexMap* FromFFI(const icu4x::capi::ReorderedIndexMap* ptr);
57 inline static icu4x::ReorderedIndexMap* FromFFI(icu4x::capi::ReorderedIndexMap* ptr);
58 inline static void operator delete(void* ptr);
59private:
60 ReorderedIndexMap() = delete;
61 ReorderedIndexMap(const icu4x::ReorderedIndexMap&) = delete;
62 ReorderedIndexMap(icu4x::ReorderedIndexMap&&) noexcept = delete;
63 ReorderedIndexMap operator=(const icu4x::ReorderedIndexMap&) = delete;
64 ReorderedIndexMap operator=(icu4x::ReorderedIndexMap&&) noexcept = delete;
65 static void operator delete[](void*, size_t) = delete;
66};
67
68} // namespace
69#endif // icu4x_ReorderedIndexMap_D_HPP
Definition diplomat_runtime.hpp:223
Definition ReorderedIndexMap.d.hpp:29
size_t operator[](size_t index) const
Definition ReorderedIndexMap.hpp:50
size_t len() const
Definition ReorderedIndexMap.hpp:40
diplomat::span< const size_t > as_slice() const
Definition ReorderedIndexMap.hpp:35
bool is_empty() const
Definition ReorderedIndexMap.hpp:45
Definition Bidi.d.hpp:14