ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
ICU4XCodePointSetBuilder Class Reference

#include <ICU4XCodePointSetBuilder.hpp>

Public Member Functions

ICU4XCodePointSetData build ()
 
void complement ()
 
bool is_empty () const
 
void add_char (char32_t ch)
 
void add_u32 (uint32_t ch)
 
void add_inclusive_range (char32_t start, char32_t end)
 
void add_inclusive_range_u32 (uint32_t start, uint32_t end)
 
void add_set (const ICU4XCodePointSetData &data)
 
void remove_char (char32_t ch)
 
void remove_inclusive_range (char32_t start, char32_t end)
 
void remove_set (const ICU4XCodePointSetData &data)
 
void retain_char (char32_t ch)
 
void retain_inclusive_range (char32_t start, char32_t end)
 
void retain_set (const ICU4XCodePointSetData &data)
 
void complement_char (char32_t ch)
 
void complement_inclusive_range (char32_t start, char32_t end)
 
void complement_set (const ICU4XCodePointSetData &data)
 
 ICU4XCodePointSetBuilder (capi::ICU4XCodePointSetBuilder *i)
 
 ICU4XCodePointSetBuilder ()=default
 
 ICU4XCodePointSetBuilder (ICU4XCodePointSetBuilder &&) noexcept=default
 
ICU4XCodePointSetBuilderoperator= (ICU4XCodePointSetBuilder &&other) noexcept=default
 

Static Public Member Functions

static ICU4XCodePointSetBuilder create ()
 

Detailed Description

Constructor & Destructor Documentation

◆ ICU4XCodePointSetBuilder() [1/3]

ICU4XCodePointSetBuilder::ICU4XCodePointSetBuilder ( capi::ICU4XCodePointSetBuilder * i)
inlineexplicit

◆ ICU4XCodePointSetBuilder() [2/3]

ICU4XCodePointSetBuilder::ICU4XCodePointSetBuilder ( )
default

◆ ICU4XCodePointSetBuilder() [3/3]

ICU4XCodePointSetBuilder::ICU4XCodePointSetBuilder ( ICU4XCodePointSetBuilder && )
defaultnoexcept

Member Function Documentation

◆ add_char()

void ICU4XCodePointSetBuilder::add_char ( char32_t ch)
inline

Add a single character to the set

See the Rust documentation for add_char for more information.

◆ add_inclusive_range()

void ICU4XCodePointSetBuilder::add_inclusive_range ( char32_t start,
char32_t end )
inline

Add an inclusive range of characters to the set

See the Rust documentation for add_range for more information.

◆ add_inclusive_range_u32()

void ICU4XCodePointSetBuilder::add_inclusive_range_u32 ( uint32_t start,
uint32_t end )
inline

Deprecated, use add_inclusive_range.

See the Rust documentation for add_range_u32 for more information.

◆ add_set()

void ICU4XCodePointSetBuilder::add_set ( const ICU4XCodePointSetData & data)
inline

Add all elements that belong to the provided set to the set

See the Rust documentation for add_set for more information.

◆ add_u32()

void ICU4XCodePointSetBuilder::add_u32 ( uint32_t ch)
inline

Deprecated, use add_char.

See the Rust documentation for add_u32 for more information.

◆ build()

ICU4XCodePointSetData ICU4XCodePointSetBuilder::build ( )
inline

Build this into a set

This object is repopulated with an empty builder

See the Rust documentation for build for more information.

◆ complement()

void ICU4XCodePointSetBuilder::complement ( )
inline

Complements this set

(Elements in this set are removed and vice versa)

See the Rust documentation for complement for more information.

◆ complement_char()

void ICU4XCodePointSetBuilder::complement_char ( char32_t ch)
inline

Complement a single character to the set

(Characters which are in this set are removed and vice versa)

See the Rust documentation for complement_char for more information.

◆ complement_inclusive_range()

void ICU4XCodePointSetBuilder::complement_inclusive_range ( char32_t start,
char32_t end )
inline

Complement an inclusive range of characters from the set

(Characters which are in this set are removed and vice versa)

See the Rust documentation for complement_range for more information.

◆ complement_set()

void ICU4XCodePointSetBuilder::complement_set ( const ICU4XCodePointSetData & data)
inline

Complement all elements that belong to the provided set from the set

(Characters which are in this set are removed and vice versa)

See the Rust documentation for complement_set for more information.

◆ create()

ICU4XCodePointSetBuilder ICU4XCodePointSetBuilder::create ( )
inlinestatic

Make a new set builder containing nothing

See the Rust documentation for new for more information.

◆ is_empty()

bool ICU4XCodePointSetBuilder::is_empty ( ) const
inline

Returns whether this set is empty

See the Rust documentation for is_empty for more information.

◆ operator=()

ICU4XCodePointSetBuilder & ICU4XCodePointSetBuilder::operator= ( ICU4XCodePointSetBuilder && other)
defaultnoexcept

◆ remove_char()

void ICU4XCodePointSetBuilder::remove_char ( char32_t ch)
inline

Remove a single character to the set

See the Rust documentation for remove_char for more information.

◆ remove_inclusive_range()

void ICU4XCodePointSetBuilder::remove_inclusive_range ( char32_t start,
char32_t end )
inline

Remove an inclusive range of characters from the set

See the Rust documentation for remove_range for more information.

◆ remove_set()

void ICU4XCodePointSetBuilder::remove_set ( const ICU4XCodePointSetData & data)
inline

Remove all elements that belong to the provided set from the set

See the Rust documentation for remove_set for more information.

◆ retain_char()

void ICU4XCodePointSetBuilder::retain_char ( char32_t ch)
inline

Removes all elements from the set except a single character

See the Rust documentation for retain_char for more information.

◆ retain_inclusive_range()

void ICU4XCodePointSetBuilder::retain_inclusive_range ( char32_t start,
char32_t end )
inline

Removes all elements from the set except an inclusive range of characters f

See the Rust documentation for retain_range for more information.

◆ retain_set()

void ICU4XCodePointSetBuilder::retain_set ( const ICU4XCodePointSetData & data)
inline

Removes all elements from the set except all elements in the provided set

See the Rust documentation for retain_set for more information.


The documentation for this class was generated from the following file: