00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00040 #ifndef BCINTERNATIONALISATIONICU_H
00041 #define BCINTERNATIONALISATIONICU_H
00042
00043 #include "BIInternationalization.h"
00044
00045 namespace BAL{
00046
00047 class BCInternationalizationICU : public BIInternationalization {
00048 public:
00049 BCInternationalizationICU(){};
00050 virtual ~BCInternationalizationICU(){};
00051
00052 virtual DeprecatedString *toAce( const DeprecatedString *s, const unsigned l );
00053 virtual const UChar* normalize(const UChar* characters, unsigned norm, size_t *length );
00054 virtual bool isSpace(unsigned short c);
00055 virtual UChar32 toLower(unsigned short c);
00056 virtual int toLower(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
00057 virtual UChar32 toUpper(unsigned short c);
00058 virtual int toUpper(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
00059 virtual UChar32 foldCase(UChar32 c);
00060 virtual int foldCase(UChar* result, int resultLength, const UChar* src, int srcLength, bool* error);
00061 virtual UChar32 toTitleCase(UChar32 c);
00062 virtual bool isFormatChar(UChar32 c);
00063 virtual bool isSeparatorSpace(UChar32 c);
00064 virtual bool isPrintableChar(UChar32 c);
00065 virtual bool isDigit(UChar32 c);
00066 virtual bool isPunct(UChar32 c);
00067 virtual UChar32 mirroredChar(UChar32 c);
00068 virtual CharCategory category(UChar32 c);
00069 virtual Direction direction(UChar32 c);
00070 virtual bool isLower(UChar32 c);
00071 virtual bool isUpper(UChar32 c);
00072 virtual int digitValue(UChar32 c);
00073 virtual uint8_t combiningClass(UChar32 c);
00074 virtual DecompositionType decompositionType(UChar32 c);
00075 virtual int umemcasecmp(const UChar* a, const UChar* b, int len);
00076 };
00077
00078 }
00079 #endif // BCINTERNATIONALIZATIONICU_H