pleyo.com

BAL::BCInternationalizationICU Class Reference

#include <BCInternationalizationICU.h>

Inheritance diagram for BAL::BCInternationalizationICU:

BAL::BIInternationalization

List of all members.

Public Member Functions

 BCInternationalizationICU ()
virtual ~BCInternationalizationICU ()
virtual
DeprecatedString * 
toAce (const DeprecatedString *s, const unsigned l)
virtual const UCharnormalize (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


Constructor & Destructor Documentation

BAL::BCInternationalizationICU::BCInternationalizationICU (  )  [inline]

virtual BAL::BCInternationalizationICU::~BCInternationalizationICU (  )  [inline, virtual]


Member Function Documentation

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]

test is a space

Implements BAL::BIInternationalization.

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.

UChar32 BAL::BCInternationalizationICU::foldCase ( UChar32  c  )  [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.

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.

UChar32 BAL::BCInternationalizationICU::toTitleCase ( UChar32  c  )  [virtual]

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]

test if c is another format

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isSeparatorSpace ( UChar32  c  )  [virtual]

test if c is a separator space

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isPrintableChar ( UChar32  c  )  [virtual]

test if c is printable

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isDigit ( UChar32  c  )  [virtual]

test if c is a digit

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isPunct ( UChar32  c  )  [virtual]

test if c is a punctuation

Implements BAL::BIInternationalization.

UChar32 BAL::BCInternationalizationICU::mirroredChar ( 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]

return the category

Implements BAL::BIInternationalization.

Direction BAL::BCInternationalizationICU::direction ( UChar32  c  )  [virtual]

return the direction

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isLower ( UChar32  c  )  [virtual]

test if c is lowercase

Implements BAL::BIInternationalization.

bool BAL::BCInternationalizationICU::isUpper ( UChar32  c  )  [virtual]

test if c is uppercase

Implements BAL::BIInternationalization.

int BAL::BCInternationalizationICU::digitValue ( UChar32  c  )  [virtual]

return the digit value

Implements BAL::BIInternationalization.

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]

Returns the type defining the composition of the character.

Implements BAL::BIInternationalization.

int BAL::BCInternationalizationICU::umemcasecmp ( const UChar a,
const UChar b,
int  len 
) [virtual]

compare lower(a) and lower(b) on len

Implements BAL::BIInternationalization.


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com