class ICU4XDataProvider; class ICU4XCaseMapCloser; #include"ICU4XError.hpp" class ICU4XCodePointSetBuilder;
/** * A destruction policy for using ICU4XCaseMapCloser with std::unique_ptr.
*/ struct ICU4XCaseMapCloserDeleter { voidoperator()(capi::ICU4XCaseMapCloser* l) const noexcept {
capi::ICU4XCaseMapCloser_destroy(l);
}
};
/** * See the [Rust documentation for `CaseMapCloser`](https://docs.rs/icu/latest/icu/casemap/struct.CaseMapCloser.html) for more information.
*/ class ICU4XCaseMapCloser { public()= defaultjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
/** * Adds all simple case mappings and the full case folding for `c` to `builder`. * Also adds special case closure mappings. * * See the [Rust documentation for `add_case_closure_to`](https://docs.rs/icu/latest/icu/casemap/struct.CaseMapCloser.html#method.add_case_closure_to) for more information.
*/ void add_case_closure_to(char32_t c, ICU4XCodePointSetBuilder& builder) const;
/** * Finds all characters and strings which may casemap to `s` as their full case folding string * and adds them to the set. * * Returns true if the string was found * * See the [Rust documentation for `add_string_case_closure_to`](https://docs.rs/icu/latest/icu/casemap/struct.CaseMapCloser.html#method.add_string_case_closure_to) for more information.
*/ bool add_string_case_closure_to(const std::string_view s, ICU4XCodePointSetBuilder& builder) const; inlineconst capi::ICU4XCaseMapCloser* AsFFI() const { return this->inner.get(); } inline capi::ICU4XCaseMapCloser* AsFFIMut() { return this->inner.get(); } inlineexplicit ICU4XCaseMapCloser(capi::ICU4XCaseMapCloser* i) : inner(i) {}
ICU4XCaseMapCloser() = default;
ICU4XCaseMapCloser(ICU4XCaseMapCloser&&) noexcept = default;
ICU4XCaseMapCloser& operator=(ICU4XCaseMapCloser&& other) noexcept = default; private:
std::unique_ptr<capi::ICU4XCaseMapCloser, ICU4XCaseMapCloserDeleter> inner;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.