Public Member Functions | |
bool | addChar (utf32_char_type chr) |
virtual bool UC_DLL_CALL | addChars (utf32_char_type bChr, utf32_char_type eChr)=0 |
virtual bool UC_DLL_CALL | contains (utf32_char_type chr) const =0 |
virtual ICharacterClass *UC_DLL_CALL | createCharacterClass ()=0 |
bool | delChar (utf32_char_type chr) |
virtual bool UC_DLL_CALL | delChars (utf32_char_type bChr, utf32_char_type eChr)=0 |
A mutable set of Unicode characters.
virtual bool UC_DLL_CALL fe::ICharacterClassBuilder::addChars | ( | utf32_char_type | bChr, | |
utf32_char_type | eChr | |||
) | [pure virtual] |
Adds (bChr, eChr]
range of characters to this character class builder. Implementation should return true
on success.
bChr | the first character in the range to add; | |
eChr | the character one past the final character in the range to add. |
virtual bool UC_DLL_CALL fe::ICharacterClassBuilder::delChars | ( | utf32_char_type | bChr, | |
utf32_char_type | eChr | |||
) | [pure virtual] |
Deletes (bChr, eChr]
range of characters from this character class builder. Implementation should return true
on success.
bChr | the first character in the range to delete; | |
eChr | the character one past the final character in the range to delete. |
bool fe::ICharacterClassBuilder::addChar | ( | utf32_char_type | chr | ) | [inline] |
Adds a single character to this character class builder. Implementation should return true
on success.
chr | a character to add. |
bool fe::ICharacterClassBuilder::delChar | ( | utf32_char_type | chr | ) | [inline] |
Deletes a single character from this character class builder. Implementation should return true
on success.
chr | a character to delete. |
virtual bool UC_DLL_CALL fe::ICharacterClassBuilder::contains | ( | utf32_char_type | chr | ) | const [pure virtual] |
Returns true
if the given character belongs to this character class builder.
chr | a character to test. |
virtual ICharacterClass* UC_DLL_CALL fe::ICharacterClassBuilder::createCharacterClass | ( | ) | [pure virtual] |
Returns pointer to a heap allocated immutable copy of this character class builder or 0
if error occurred.
fe::ICharacterClass::contains() called on the object addressed with the returned pointer should return the same result as contains() called on this character class builder for any given character.