1#ifndef ICU4X_DecomposingNormalizer_D_HPP
2#define ICU4X_DecomposingNormalizer_D_HPP
14namespace capi {
struct DataProvider; }
16namespace 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;
74 inline void normalize_write(std::string_view s, W& writeable_output)
const;
112 inline const icu4x::capi::DecomposingNormalizer* AsFFI()
const;
113 inline icu4x::capi::DecomposingNormalizer* AsFFI();
116 inline static void operator delete(
void* ptr);
118 DecomposingNormalizer() =
delete;
123 static void operator delete[](
void*, size_t) =
delete;
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
std::string normalize(std::string_view s) const
Definition DecomposingNormalizer.hpp:69
static icu4x::diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > create_nfkd_with_provider(const icu4x::DataProvider &provider)
Definition DecomposingNormalizer.hpp:64
void normalize_write(std::string_view s, W &writeable_output) const
Definition DecomposingNormalizer.hpp:78
bool is_normalized16(std::u16string_view s) const
Definition DecomposingNormalizer.hpp:91
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:97
static icu4x::diplomat::result< std::unique_ptr< icu4x::DecomposingNormalizer >, icu4x::DataError > create_nfd_with_provider(const icu4x::DataProvider &provider)
Definition DecomposingNormalizer.hpp:54
size_t is_normalized16_up_to(std::u16string_view s) const
Definition DecomposingNormalizer.hpp:103
bool is_normalized(std::string_view s) const
Definition DecomposingNormalizer.hpp:85
Definition diplomat_runtime.hpp:166