#include <BCInternationalizationICU.h>

Public Member Functions | |
| BCInternationalizationICU () | |
| virtual | ~BCInternationalizationICU () |
| virtual DeprecatedString * | toAce (const DeprecatedString *s, const unsigned l) |
| virtual const UChar * | normalize (const UChar *characters, unsigned norm, size_t *length) |
| Normalization is used to convert text to a unique, equivalent form. | |
| virtual bool | isSpace (unsigned short c) |
| test is a space | |
| virtual UChar32 | toLower (unsigned short c) |
| converts an uppercase letter to the corresponding lowercase letter. | |
| virtual int | toLower (UChar *result, int resultLength, const UChar *src, int srcLength, bool *error) |
| converts an uppercase letter to the corresponding lowercase letter. | |
| virtual UChar32 | toUpper (unsigned short c) |
| converts a lowercase letter to the corresponding uppercase letter. | |
| virtual int | toUpper (UChar *result, int resultLength, const UChar *src, int srcLength, bool *error) |
| converts a lowercase letter to the corresponding uppercase letter. | |
| virtual UChar32 | foldCase (UChar32 c) |
| Returns the case folded equivalent of the UCS-2-encoded character specified by ucs2. | |
| virtual int | foldCase (UChar *result, int resultLength, const UChar *src, int srcLength, bool *error) |
| Returns the case folded equivalent of the UCS-2-encoded character specified by ucs2. | |
| virtual UChar32 | toTitleCase (UChar32 c) |
| Returns the title case equivalent of the UCS-2-encoded character specified by ucs2 if the character is lowercase or uppercase; otherwise returns the character itself. | |
| virtual bool | isFormatChar (UChar32 c) |
| test if c is another format | |
| virtual bool | isSeparatorSpace (UChar32 c) |
| test if c is a separator space | |
| virtual bool | isPrintableChar (UChar32 c) |
| test if c is printable | |
| virtual bool | isDigit (UChar32 c) |
| test if c is a digit | |
| virtual bool | isPunct (UChar32 c) |
| test if c is a punctuation | |
| virtual UChar32 | mirroredChar (UChar32 c) |
| Returns the mirrored character if this character is a mirrored character; otherwise returns the character itself. | |
| virtual CharCategory | category (UChar32 c) |
| return the category | |
| virtual Direction | direction (UChar32 c) |
| return the direction | |
| virtual bool | isLower (UChar32 c) |
| test if c is lowercase | |
| virtual bool | isUpper (UChar32 c) |
| test if c is uppercase | |
| virtual int | digitValue (UChar32 c) |
| return the digit value | |
| virtual uint8_t | combiningClass (UChar32 c) |
| Returns the combining class for the UCS-2-encoded character specified by ucs2, as defined in the Unicode standard. | |
| virtual DecompositionType | decompositionType (UChar32 c) |
| Returns the type defining the composition of the character. | |
| virtual int | umemcasecmp (const UChar *a, const UChar *b, int len) |
| compare lower(a) and lower(b) on len | |
| BAL::BCInternationalizationICU::BCInternationalizationICU | ( | ) | [inline] |
| virtual BAL::BCInternationalizationICU::~BCInternationalizationICU | ( | ) | [inline, virtual] |
| virtual DeprecatedString* BAL::BCInternationalizationICU::toAce | ( | const DeprecatedString * | s, | |
| const unsigned | l | |||
| ) | [virtual] |
| const UChar * BAL::BCInternationalizationICU::normalize | ( | const UChar * | characters, | |
| unsigned | norm, | |||
| size_t * | length | |||
| ) | [virtual] |
Normalization is used to convert text to a unique, equivalent form.
Implements BAL::BIInternationalization.
| bool BAL::BCInternationalizationICU::isSpace | ( | unsigned short | c | ) | [virtual] |
| UChar32 BAL::BCInternationalizationICU::toLower | ( | unsigned short | c | ) | [virtual] |
converts an uppercase letter to the corresponding lowercase letter.
Implements BAL::BIInternationalization.
| int BAL::BCInternationalizationICU::toLower | ( | UChar * | result, | |
| int | resultLength, | |||
| const UChar * | src, | |||
| int | srcLength, | |||
| bool * | error | |||
| ) | [virtual] |
converts an uppercase letter to the corresponding lowercase letter.
Implements BAL::BIInternationalization.
| UChar32 BAL::BCInternationalizationICU::toUpper | ( | unsigned short | c | ) | [virtual] |
converts a lowercase letter to the corresponding uppercase letter.
Implements BAL::BIInternationalization.
| int BAL::BCInternationalizationICU::toUpper | ( | UChar * | result, | |
| int | resultLength, | |||
| const UChar * | src, | |||
| int | srcLength, | |||
| bool * | error | |||
| ) | [virtual] |
converts a lowercase letter to the corresponding uppercase letter.
Implements BAL::BIInternationalization.
Returns the case folded equivalent of the UCS-2-encoded character specified by ucs2.
For most Unicode characters this is the same as toLower().
Implements BAL::BIInternationalization.
| int BAL::BCInternationalizationICU::foldCase | ( | UChar * | result, | |
| int | resultLength, | |||
| const UChar * | src, | |||
| int | srcLength, | |||
| bool * | error | |||
| ) | [virtual] |
Returns the case folded equivalent of the UCS-2-encoded character specified by ucs2.
For most Unicode characters this is the same as toLower().
Implements BAL::BIInternationalization.
Returns the title case equivalent of the UCS-2-encoded character specified by ucs2 if the character is lowercase or uppercase; otherwise returns the character itself.
Implements BAL::BIInternationalization.
| bool BAL::BCInternationalizationICU::isFormatChar | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isSeparatorSpace | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isPrintableChar | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isDigit | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isPunct | ( | UChar32 | c | ) | [virtual] |
Returns the mirrored character if this character is a mirrored character; otherwise returns the character itself.
Implements BAL::BIInternationalization.
| CharCategory BAL::BCInternationalizationICU::category | ( | UChar32 | c | ) | [virtual] |
| Direction BAL::BCInternationalizationICU::direction | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isLower | ( | UChar32 | c | ) | [virtual] |
| bool BAL::BCInternationalizationICU::isUpper | ( | UChar32 | c | ) | [virtual] |
| uint8_t BAL::BCInternationalizationICU::combiningClass | ( | UChar32 | c | ) | [virtual] |
Returns the combining class for the UCS-2-encoded character specified by ucs2, as defined in the Unicode standard.
Implements BAL::BIInternationalization.
| DecompositionType BAL::BCInternationalizationICU::decompositionType | ( | UChar32 | c | ) | [virtual] |