1#ifndef icu4x_DecomposingNormalizer_D_HPP
2#define icu4x_DecomposingNormalizer_D_HPP
15namespace capi {
struct DataProvider; }
17namespace capi {
struct DecomposingNormalizer; }
25 struct DecomposingNormalizer;
33class DecomposingNormalizer {
41 inline static std::unique_ptr<icu4x::DecomposingNormalizer>
create_nfd();
55 inline static std::unique_ptr<icu4x::DecomposingNormalizer>
create_nfkd();
72 inline std::string
normalize(std::string_view s)
const;
110 inline const icu4x::capi::DecomposingNormalizer* AsFFI()
const;
111 inline icu4x::capi::DecomposingNormalizer* AsFFI();
114 inline static void operator delete(
void* ptr);
116 DecomposingNormalizer() =
delete;
121 static void operator delete[](
void*, size_t) =
delete;
Definition diplomat_runtime.hpp:140
Definition DataError.d.hpp:37
Definition DataProvider.d.hpp:40
Definition DecomposingNormalizer.d.hpp:33
static std::unique_ptr< icu4x::DecomposingNormalizer > create_nfd()
Definition DecomposingNormalizer.hpp:49
static diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > create_nfkd_with_provider(const icu4x::DataProvider &provider)
Definition DecomposingNormalizer.hpp:64
std::string normalize(std::string_view s) const
Definition DecomposingNormalizer.hpp:69
bool is_normalized16(std::u16string_view s) const
Definition DecomposingNormalizer.hpp:84
static std::unique_ptr< icu4x::DecomposingNormalizer > create_nfkd()
Definition DecomposingNormalizer.hpp:59
size_t is_normalized_up_to(std::string_view s) const
Definition DecomposingNormalizer.hpp:90
size_t is_normalized16_up_to(std::u16string_view s) const
Definition DecomposingNormalizer.hpp:96
bool is_normalized(std::string_view s) const
Definition DecomposingNormalizer.hpp:78
static diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > create_nfd_with_provider(const icu4x::DataProvider &provider)
Definition DecomposingNormalizer.hpp:54