ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::CodePointSetBuilder Class Reference

#include <CodePointSetBuilder.d.hpp>

Public Member Functions

std::unique_ptr< icu4x::CodePointSetDatabuild ()
 
void complement ()
 
bool is_empty () const
 
void add_char (char32_t ch)
 
void add_inclusive_range (char32_t start, char32_t end)
 
void add_set (const icu4x::CodePointSetData &data)
 
void remove_char (char32_t ch)
 
void remove_inclusive_range (char32_t start, char32_t end)
 
void remove_set (const icu4x::CodePointSetData &data)
 
void retain_char (char32_t ch)
 
void retain_inclusive_range (char32_t start, char32_t end)
 
void retain_set (const icu4x::CodePointSetData &data)
 
void complement_char (char32_t ch)
 
void complement_inclusive_range (char32_t start, char32_t end)
 
void complement_set (const icu4x::CodePointSetData &data)
 

Static Public Member Functions

static std::unique_ptr< icu4x::CodePointSetBuildercreate ()
 
static void operator delete (void *ptr)
 

Detailed Description

Member Function Documentation

◆ add_char()

void icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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_set()

void icu4x::CodePointSetBuilder::add_set ( const icu4x::CodePointSetData & data)
inline

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

See the Rust documentation for add_set for more information.

◆ build()

std::unique_ptr< icu4x::CodePointSetData > icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::complement_set ( const icu4x::CodePointSetData & 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()

std::unique_ptr< icu4x::CodePointSetBuilder > icu4x::CodePointSetBuilder::create ( )
inlinestatic

Make a new set builder containing nothing

See the Rust documentation for new for more information.

◆ is_empty()

bool icu4x::CodePointSetBuilder::is_empty ( ) const
inline

Returns whether this set is empty

See the Rust documentation for is_empty for more information.

◆ operator delete()

void icu4x::CodePointSetBuilder::operator delete ( void * ptr)
inlinestatic

◆ remove_char()

void icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::remove_set ( const icu4x::CodePointSetData & 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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::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 icu4x::CodePointSetBuilder::retain_set ( const icu4x::CodePointSetData & 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 files: