1#ifndef icu4x_CaseMapper_D_HPP
2#define icu4x_CaseMapper_D_HPP
15namespace capi {
struct CaseMapper; }
17namespace capi {
struct CodePointSetBuilder; }
19namespace capi {
struct DataProvider; }
21namespace capi {
struct Locale; }
46 inline static std::unique_ptr<icu4x::CaseMapper>
create();
179 inline const icu4x::capi::CaseMapper* AsFFI()
const;
180 inline icu4x::capi::CaseMapper* AsFFI();
181 inline static const icu4x::CaseMapper* FromFFI(
const icu4x::capi::CaseMapper* ptr);
183 inline static void operator delete(
void* ptr);
185 CaseMapper() =
delete;
190 static void operator delete[](
void*, size_t) =
delete;
Definition diplomat_runtime.hpp:140
Definition CaseMapper.d.hpp:38
static std::unique_ptr< icu4x::CaseMapper > create()
Definition CaseMapper.hpp:63
diplomat::result< std::string, diplomat::Utf8Error > uppercase(std::string_view s, const icu4x::Locale &locale) const
Definition CaseMapper.hpp:86
diplomat::result< std::string, diplomat::Utf8Error > fold_turkic(std::string_view s) const
Definition CaseMapper.hpp:149
char32_t simple_fold(char32_t ch) const
Definition CaseMapper.hpp:185
diplomat::result< std::string, diplomat::Utf8Error > lowercase(std::string_view s, const icu4x::Locale &locale) const
Definition CaseMapper.hpp:73
char32_t simple_titlecase(char32_t ch) const
Definition CaseMapper.hpp:179
void add_case_closure_to(char32_t c, icu4x::CodePointSetBuilder &builder) const
Definition CaseMapper.hpp:161
diplomat::result< std::string, diplomat::Utf8Error > fold(std::string_view s) const
Definition CaseMapper.hpp:137
static diplomat::result< std::string, diplomat::Utf8Error > uppercase_with_compiled_data(std::string_view s, const icu4x::Locale &locale)
Definition CaseMapper.hpp:111
char32_t simple_fold_turkic(char32_t ch) const
Definition CaseMapper.hpp:191
static diplomat::result< std::string, diplomat::Utf8Error > lowercase_with_compiled_data(std::string_view s, const icu4x::Locale &locale)
Definition CaseMapper.hpp:99
char32_t simple_lowercase(char32_t ch) const
Definition CaseMapper.hpp:167
static diplomat::result< std::unique_ptr< icu4x::CaseMapper >, icu4x::DataError > create_with_provider(const icu4x::DataProvider &provider)
Definition CaseMapper.hpp:68
diplomat::result< std::string, diplomat::Utf8Error > titlecase_segment_with_only_case_data_v1(std::string_view s, const icu4x::Locale &locale, icu4x::TitlecaseOptionsV1 options) const
Definition CaseMapper.hpp:123
char32_t simple_uppercase(char32_t ch) const
Definition CaseMapper.hpp:173
Definition CodePointSetBuilder.d.hpp:32
Definition DataError.d.hpp:37
Definition DataProvider.d.hpp:40
Definition Locale.d.hpp:33
Definition TitlecaseOptionsV1.d.hpp:39