#ifndef icu4x_ExemplarCharacters_D_HPP #define icu4x_ExemplarCharacters_D_HPP #include #include #include #include #include #include #include "../diplomat_runtime.hpp" namespace icu4x { namespace capi { struct DataProvider; } class DataProvider; namespace capi { struct ExemplarCharacters; } class ExemplarCharacters; namespace capi { struct Locale; } class Locale; class DataError; } namespace icu4x { namespace capi { struct ExemplarCharacters; } // namespace capi } // namespace namespace icu4x { class ExemplarCharacters { public: inline bool contains(std::string_view s) const; inline bool contains(char32_t cp) const; inline static diplomat::result, icu4x::DataError> try_new_main(const icu4x::DataProvider& provider, const icu4x::Locale& locale); inline static diplomat::result, icu4x::DataError> try_new_auxiliary(const icu4x::DataProvider& provider, const icu4x::Locale& locale); inline static diplomat::result, icu4x::DataError> try_new_punctuation(const icu4x::DataProvider& provider, const icu4x::Locale& locale); inline static diplomat::result, icu4x::DataError> try_new_numbers(const icu4x::DataProvider& provider, const icu4x::Locale& locale); inline static diplomat::result, icu4x::DataError> try_new_index(const icu4x::DataProvider& provider, const icu4x::Locale& locale); inline const icu4x::capi::ExemplarCharacters* AsFFI() const; inline icu4x::capi::ExemplarCharacters* AsFFI(); inline static const icu4x::ExemplarCharacters* FromFFI(const icu4x::capi::ExemplarCharacters* ptr); inline static icu4x::ExemplarCharacters* FromFFI(icu4x::capi::ExemplarCharacters* ptr); inline static void operator delete(void* ptr); private: ExemplarCharacters() = delete; ExemplarCharacters(const icu4x::ExemplarCharacters&) = delete; ExemplarCharacters(icu4x::ExemplarCharacters&&) noexcept = delete; ExemplarCharacters operator=(const icu4x::ExemplarCharacters&) = delete; ExemplarCharacters operator=(icu4x::ExemplarCharacters&&) noexcept = delete; static void operator delete[](void*, size_t) = delete; }; } // namespace #endif // icu4x_ExemplarCharacters_D_HPP