Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

UChar Class Reference

Inheritance diagram for UChar:

ICU List of all members.

Public Types

enum  Property {
  Alphabetic = 0, BinaryStart = Alphabetic, AsciiHexDigit, BidiControl,
  BidiMirrored, Dash, DefaultIgnorableCodePoint, Deprecated,
  Diacritic, Extender, FullCompositionExclusion, GraphemeBase,
  GraphemeExtend, GraphemeLink, HexDigit, Hyphen,
  IdContinue, IdStart, Ideographic, IdsBinaryOperator,
  IdsTrinaryOperator, JoinControl, LogicalOrderException, Lowercase,
  Math, NoncharacterCodePoint, QuotationMark, Radical,
  SoftDotted, TerminalPunctuation, UnifiedIdeograph, Uppercase,
  WhiteSpace, XidContinue, XidStart, CaseSensitive,
  STerm, VariationSelector, NfdInert, NfkdInert,
  NfcInert, NfkcInert, SegmentStarter, BinaryLimit,
  BidiClass = 0x1000, IntStart = BidiClass, Block, CanonicalCombiningClass,
  DecompositionType, EastAsianWidth, GeneralCategory, JoiningGroup,
  JoiningType, LineBreak, NumericType, Script,
  HangulSyllableType, NfdQuickCheck, NfkdQuickCheck, NfcQuickCheck,
  NfkcQuickCheck, LeadCanonicalCombiningClass, TrailCanonicalCombiningClass, IntLimit,
  GeneralCategoryMask = 0x2000, MaskStart = GeneralCategoryMask, MaskLimit, NumericValue = 0x3000,
  DoubleStart = NumericValue, DoubleLimit, Age = 0x4000, StringStart = Age,
  BidiMirroringGlyph, CaseFolding, IsoComment, LowercaseMapping,
  Name, SimpleCaseFolding, SimpleLowercaseMapping, SimpleTitlecaseMapping,
  SimpleUppercaseMapping, TitlecaseMapping, Unicode1Name, UppercaseMapping,
  StringLimit, InvalidCode = -1
}
enum  Category {
  Unassigned = 0, GeneralOtherTypes = 0, UppercaseLetter = 1, LowercaseLetter = 2,
  TitlecaseLetter = 3, ModifierLetter = 4, OtherLetter = 5, NonSpacingMark = 6,
  EnclosingMark = 7, CombiningSpacingMark = 8, DecimalDigitNumber = 9, LetterNumber = 10,
  OtherNumber = 11, SpaceSeparator = 12, LineSeparator = 13, ParagraphSeparator = 14,
  ControlChar = 15, FormatChar = 16, PrivateUseChar = 17, Surrogate = 18,
  DashPunctuation = 19, StartPunctuation = 20, EndPunctuation = 21, ConnectorPunctuation = 22,
  OtherPunctuation = 23, MathSymbol = 24, CurrencySymbol = 25, ModifierSymbol = 26,
  OtherSymbol = 27, InitialPunctuation = 28, FinalPunctuation = 29, Count
}
enum  Direction {
  LeftToRight = 0, RightToLeft = 1, EuropeanNumber = 2, EuropeanNumberSeparator = 3,
  EuropeanNumberTerminator = 4, ArabicNumber = 5, CommonNumberSeparator = 6, BlockSeparator = 7,
  SegmentSeparator = 8, WhiteSpaceNeutral = 9, OtherNeutral = 10, LeftToRightEmbedding = 11,
  LeftToRightOverride = 12, RightToLeftArabic = 13, RightToLeftEmbedding = 14, RightToLeftOverride = 15,
  PopDirectionalFormat = 16, DirNonSpacingMark = 17, BoundaryNeutral = 18, Count
}
enum  BlockCode {
  NoBlock = 0, BasicLatin = 1, Latin1Supplement = 2, LatinExtendedA = 3,
  LatinExtendedB = 4, IpaExtensions = 5, SpacingModifierLetters = 6, CombiningDiacriticalMarks = 7,
  Greek = 8, Cyrillic = 9, Armenian = 10, Hebrew = 11,
  Arabic = 12, Syriac = 13, Thaana = 14, Devanagari = 15,
  Bengali = 16, Gurmukhi = 17, Gujarati = 18, Oriya = 19,
  Tamil = 20, Telugu = 21, Kannada = 22, Malayalam = 23,
  Sinhala = 24, Thai = 25, Lao = 26, Tibetan = 27,
  Myanmar = 28, Georgian = 29, HangulJamo = 30, Ethiopic = 31,
  Cherokee = 32, UnifiedCanadianAboriginalSyllabics = 33, Ogham = 34, Runic = 35,
  Khmer = 36, Mongolian = 37, LatinExtendedAdditional = 38, GreekExtended = 39,
  GeneralPunctuation = 40, SuperscriptsAndSubscripts = 41, CurrencySymbols = 42, CombiningMarksForSymbols = 43,
  LetterlikeSymbols = 44, NumberForms = 45, Arrows = 46, MathematicalOperators = 47,
  MiscellaneousTechnical = 48, ControlPictures = 49, OpticalCharacterRecognition = 50, EnclosedAlphanumerics = 51,
  BoxDrawing = 52, BlockElements = 53, GeometricShapes = 54, MiscellaneousSymbols = 55,
  Dingbats = 56, BraillePatterns = 57, CjkRadicalsSupplement = 58, KangxiRadicals = 59,
  IdeographicDescriptionCharacters = 60, CjkSymbolsAndPunctuation = 61, Hiragana = 62, Katakana = 63,
  Bopomofo = 64, HangulCompatibilityJamo = 65, Kanbun = 66, BopomofoExtended = 67,
  EnclosedCjkLettersAndMonths = 68, CjkCompatibility = 69, CjkUnifiedIdeographsExtensionA = 70, CjkUnifiedIdeographs = 71,
  YiSyllables = 72, YiRadicals = 73, HangulSyllables = 74, HighSurrogates = 75,
  HighPrivateUseSurrogates = 76, LowSurrogates = 77, PrivateUse = 78, PrivateUseArea = PrivateUse,
  CjkCompatibilityIdeographs = 79, AlphabeticPresentationForms = 80, ArabicPresentationFormsA = 81, CombiningHalfMarks = 82,
  CjkCompatibilityForms = 83, SmallFormVariants = 84, ArabicPresentationFormsB = 85, Specials = 86,
  HalfwidthAndFullwidthForms = 87, OldItalic = 88, Gothic = 89, Deseret = 90,
  ByzantineMusicalSymbols = 91, MusicalSymbols = 92, MathematicalAlphanumericSymbols = 93, CjkUnifiedIdeographsExtensionB = 94,
  CjkCompatibilityIdeographsSupplement = 95, Tags = 96, CyrillicSupplementary = 97, CyrillicSupplement = CyrillicSupplementary,
  Tagalog = 98, Hanunoo = 99, Buhid = 100, Tagbanwa = 101,
  MiscellaneousMathematicalSymbolsA = 102, SupplementalArrowsA = 103, SupplementalArrowsB = 104, MiscellaneousMathematicalSymbolsB = 105,
  SupplementalMathematicalOperators = 106, KatakanaPhoneticExtensions = 107, VariationSelectors = 108, SupplementaryPrivateUseAreaA = 109,
  SupplementaryPrivateUseAreaB = 110, Limbu = 111, TaiLe = 112, KhmerSymbols = 113,
  PhoneticExtensions = 114, MiscellaneousSymbolsAndArrows = 115, YijingHexagramSymbols = 116, LinearBSyllabary = 117,
  LinearBIdeograms = 118, AegeanNumbers = 119, Ugaritic = 120, Shavian = 121,
  Osmanya = 122, CypriotSyllabary = 123, TaiXuanJingSymbols = 124, VariationSelectorsSupplement = 125,
  Count, InvalidCode = -1
}
enum  EastAsianWidth {
  Neutral, Ambiguous, Halfwidth, Fullwidth,
  Narrow, Wide, Count
}
enum  CharNameChoice { Unicode, Unicode10, Extended, Count }
enum  NameChoice { Short, Long, Count }
enum  DecompositionType {
  None, Canonical, Compat, Circle,
  Final, Font, Fraction, Initial,
  Isolated, Medial, Narrow, Nobreak,
  Small, Square, Sub, Super,
  Vertical, Wide, Count
}
enum  JoiningType {
  NonJoining, JoinCausing, DualJoining, LeftJoining,
  RightJoining, Transparent, Count
}
enum  JoiningGroup {
  NoJoiningGroup, Ain, Alaph, Alef,
  Beh, Beth, Dal, DalathRish,
  E, Feh, FinalSemkath, Gaf,
  Gamal, Hah, HamzaOnHehGoal, He,
  Heh, HehGoal, Heth, Kaf,
  Kaph, KnottedHeh, Lam, Lamadh,
  Meem, Mim, Noon, Nun,
  Pe, Qaf, Qaph, Reh,
  Reversed_Pe, Sad, Sadhe, Seen,
  Semkath, Shin, Swash_Kaf, Syriac_Waw,
  Tah, Taw, Teh_Marbuta, Teth,
  Waw, Yeh, Yeh_Barree, Yeh_With_Tail,
  Yudh, Yudh_He, Zain, Fe,
  Khaph, Zhain, Count
}
enum  LineBreak {
  Unknown, Ambiguous, Alphabetic = 0, BreakBoth,
  BreakAfter, BreakBefore, MandatoryBreak, ContingentBreak,
  ClosePunctuation, CombiningMark, CarriageReturn, Exclamation,
  Glue, Hyphen, Ideographic, Inseperable,
  Inseparable = Inseperable, InfixNumeric, LineFeed, Nonstarter,
  Numeric, OpenPunctuation, PostfixNumeric, PrefixNumeric,
  Quotation, ComplexContext, Surrogate = 18, Space,
  BreakSymbols, Zwspace, NextLine, WordJoiner,
  Count
}
enum  NumericType {
  None, Decimal, Digit, Numeric,
  Count
}
enum  HangulSyllableType {
  NotApplicable, LeadingJamo, VowelJamo, TrailingJamo,
  LvSyllable, LvtSyllable, Count
}

Public Member Functions

uint getProperty (dchar c, Property p)
uint getPropertyMinimum (Property p)
uint getPropertyMaximum (Property p)
Direction charDirection (dchar c)
BlockCode getBlockCode (dchar c)
char[] getCharName (dchar c, CharNameChoice choice, inout char[] dst)
char[] getComment (dchar c, inout char[] dst)
dchar charFromName (CharNameChoice choice, char[] name)
char[] getPropertyName (Property p, NameChoice choice)
char[] getPropertyValueName (Property p, NameChoice choice, uint value)
void getUnicodeVersion (inout Version v)
void getCharAge (dchar c, inout Version v)

Static Public Member Functions

static this ()
static ~this ()

Static Public Attributes

static FunctionLoader Bind[] targets

Private Types

typedef void * Handle
enum  Error { OK, BufferOverflow = 15 }

Static Private Member Functions

static bool isError (Error e)
static void testError (Error e, char[] msg)
static char * toString (char[] string)
static wchar * toString (wchar[] string)
static uint length (char *s)
static uint length (wchar *s)
static char[] toArray (char *s)
static wchar[] toArray (wchar *s)

Static Private Attributes

static void * library

Detailed Description

This API provides low-level access to the Unicode Character Database. In addition to raw property values, some convenience functions calculate derived properties, for example for Java-style programming.

Unicode assigns each code point (not just assigned character) values for many properties. Most of them are simple boolean flags, or constants from a small enumerated list. For some properties, values are strings or other relatively more complex types.

For more information see "About the Unicode Character Database" (http://www.unicode.org/ucd/) and the ICU User Guide chapter on Properties (http://oss.software.ibm.com/icu/userguide/properties.html).

Many functions are designed to match java.lang.Character functions. See the individual function documentation, and see the JDK 1.4.1 java.lang.Character documentation at http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Character.html

There are also functions that provide easy migration from C/POSIX functions like isblank(). Their use is generally discouraged because the C/POSIX standards do not define their semantics beyond the ASCII range, which means that different implementations exhibit very different behavior. Instead, Unicode properties should be used directly.

There are also only a few, broad C/POSIX character classes, and they tend to be used for conflicting purposes. For example, the "isalpha()" class is sometimes used to determine word boundaries, while a more sophisticated approach would at least distinguish initial letters from continuation characters (the latter including combining marks). (In ICU, BreakIterator is the most sophisticated API for word boundaries.) Another example: There is no "istitle()" class for titlecase characters.

A summary of the behavior of some C/POSIX character classification implementations for Unicode is available at http://oss.software.ibm.com/cvs/icu/~checkout~/icuhtml/design/posix_classes.html

See this page for full details.

Definition at line 135 of file UChar.d.


Member Typedef Documentation

typedef void* Handle [protected, inherited]
 

Use this for the primary argument-type to most ICU functions

Definition at line 112 of file ICU.d.


Member Enumeration Documentation

enum Property
 

Enumeration values:
Alphabetic 
BinaryStart 
AsciiHexDigit 
BidiControl 
BidiMirrored 
Dash 
DefaultIgnorableCodePoint 
Deprecated 
Diacritic 
Extender 
FullCompositionExclusion 
GraphemeBase 
GraphemeExtend 
GraphemeLink 
HexDigit 
Hyphen 
IdContinue 
IdStart 
Ideographic 
IdsBinaryOperator 
IdsTrinaryOperator 
JoinControl 
LogicalOrderException 
Lowercase 
Math 
NoncharacterCodePoint 
QuotationMark 
Radical 
SoftDotted 
TerminalPunctuation 
UnifiedIdeograph 
Uppercase 
WhiteSpace 
XidContinue 
XidStart 
CaseSensitive 
STerm 
VariationSelector 
NfdInert 
NfkdInert 
NfcInert 
NfkcInert 
SegmentStarter 
BinaryLimit 
BidiClass 
IntStart 
Block 
CanonicalCombiningClass 
DecompositionType 
EastAsianWidth 
GeneralCategory 
JoiningGroup 
JoiningType 
LineBreak 
NumericType 
Script 
HangulSyllableType 
NfdQuickCheck 
NfkdQuickCheck 
NfcQuickCheck 
NfkcQuickCheck 
LeadCanonicalCombiningClass 
TrailCanonicalCombiningClass 
IntLimit 
GeneralCategoryMask 
MaskStart 
MaskLimit 
NumericValue 
DoubleStart 
DoubleLimit 
Age 
StringStart 
BidiMirroringGlyph 
CaseFolding 
IsoComment 
LowercaseMapping 
Name 
SimpleCaseFolding 
SimpleLowercaseMapping 
SimpleTitlecaseMapping 
SimpleUppercaseMapping 
TitlecaseMapping 
Unicode1Name 
UppercaseMapping 
StringLimit 
InvalidCode 

Definition at line 137 of file UChar.d.

enum Category
 

Enumeration values:
Unassigned 
GeneralOtherTypes 
UppercaseLetter 
LowercaseLetter 
TitlecaseLetter 
ModifierLetter 
OtherLetter 
NonSpacingMark 
EnclosingMark 
CombiningSpacingMark 
DecimalDigitNumber 
LetterNumber 
OtherNumber 
SpaceSeparator 
LineSeparator 
ParagraphSeparator 
ControlChar 
FormatChar 
PrivateUseChar 
Surrogate 
DashPunctuation 
StartPunctuation 
EndPunctuation 
ConnectorPunctuation 
OtherPunctuation 
MathSymbol 
CurrencySymbol 
ModifierSymbol 
OtherSymbol 
InitialPunctuation 
FinalPunctuation 
Count 

Definition at line 226 of file UChar.d.

enum Direction
 

Enumeration values:
LeftToRight 
RightToLeft 
EuropeanNumber 
EuropeanNumberSeparator 
EuropeanNumberTerminator 
ArabicNumber 
CommonNumberSeparator 
BlockSeparator 
SegmentSeparator 
WhiteSpaceNeutral 
OtherNeutral 
LeftToRightEmbedding 
LeftToRightOverride 
RightToLeftArabic 
RightToLeftEmbedding 
RightToLeftOverride 
PopDirectionalFormat 
DirNonSpacingMark 
BoundaryNeutral 
Count 

Definition at line 262 of file UChar.d.

enum BlockCode
 

Enumeration values:
NoBlock 
BasicLatin 
Latin1Supplement 
LatinExtendedA 
LatinExtendedB 
IpaExtensions 
SpacingModifierLetters 
CombiningDiacriticalMarks 
Greek 
Cyrillic 
Armenian 
Hebrew 
Arabic 
Syriac 
Thaana 
Devanagari 
Bengali 
Gurmukhi 
Gujarati 
Oriya 
Tamil 
Telugu 
Kannada 
Malayalam 
Sinhala 
Thai 
Lao 
Tibetan 
Myanmar 
Georgian 
HangulJamo 
Ethiopic 
Cherokee 
UnifiedCanadianAboriginalSyllabics 
Ogham 
Runic 
Khmer 
Mongolian 
LatinExtendedAdditional 
GreekExtended 
GeneralPunctuation 
SuperscriptsAndSubscripts 
CurrencySymbols 
CombiningMarksForSymbols 
LetterlikeSymbols 
NumberForms 
Arrows 
MathematicalOperators 
MiscellaneousTechnical 
ControlPictures 
OpticalCharacterRecognition 
EnclosedAlphanumerics 
BoxDrawing 
BlockElements 
GeometricShapes 
MiscellaneousSymbols 
Dingbats 
BraillePatterns 
CjkRadicalsSupplement 
KangxiRadicals 
IdeographicDescriptionCharacters 
CjkSymbolsAndPunctuation 
Hiragana 
Katakana 
Bopomofo 
HangulCompatibilityJamo 
Kanbun 
BopomofoExtended 
EnclosedCjkLettersAndMonths 
CjkCompatibility 
CjkUnifiedIdeographsExtensionA 
CjkUnifiedIdeographs 
YiSyllables 
YiRadicals 
HangulSyllables 
HighSurrogates 
HighPrivateUseSurrogates 
LowSurrogates 
PrivateUse 
PrivateUseArea 
CjkCompatibilityIdeographs 
AlphabeticPresentationForms 
ArabicPresentationFormsA 
CombiningHalfMarks 
CjkCompatibilityForms 
SmallFormVariants 
ArabicPresentationFormsB 
Specials 
HalfwidthAndFullwidthForms 
OldItalic 
Gothic 
Deseret 
ByzantineMusicalSymbols 
MusicalSymbols 
MathematicalAlphanumericSymbols 
CjkUnifiedIdeographsExtensionB 
CjkCompatibilityIdeographsSupplement 
Tags 
CyrillicSupplementary 
CyrillicSupplement 
Tagalog 
Hanunoo 
Buhid 
Tagbanwa 
MiscellaneousMathematicalSymbolsA 
SupplementalArrowsA 
SupplementalArrowsB 
MiscellaneousMathematicalSymbolsB 
SupplementalMathematicalOperators 
KatakanaPhoneticExtensions 
VariationSelectors 
SupplementaryPrivateUseAreaA 
SupplementaryPrivateUseAreaB 
Limbu 
TaiLe 
KhmerSymbols 
PhoneticExtensions 
MiscellaneousSymbolsAndArrows 
YijingHexagramSymbols 
LinearBSyllabary 
LinearBIdeograms 
AegeanNumbers 
Ugaritic 
Shavian 
Osmanya 
CypriotSyllabary 
TaiXuanJingSymbols 
VariationSelectorsSupplement 
Count 
InvalidCode 

Definition at line 286 of file UChar.d.

enum EastAsianWidth
 

Enumeration values:
Neutral 
Ambiguous 
Halfwidth 
Fullwidth 
Narrow 
Wide 
Count 

Definition at line 420 of file UChar.d.

enum CharNameChoice
 

Enumeration values:
Unicode 
Unicode10 
Extended 
Count 

Definition at line 431 of file UChar.d.

enum NameChoice
 

Enumeration values:
Short 
Long 
Count 

Definition at line 439 of file UChar.d.

enum DecompositionType
 

Enumeration values:
None 
Canonical 
Compat 
Circle 
Final 
Font 
Fraction 
Initial 
Isolated 
Medial 
Narrow 
Nobreak 
Small 
Square 
Sub 
Super 
Vertical 
Wide 
Count 

Definition at line 446 of file UChar.d.

enum JoiningType
 

Enumeration values:
NonJoining 
JoinCausing 
DualJoining 
LeftJoining 
RightJoining 
Transparent 
Count 

Definition at line 469 of file UChar.d.

enum JoiningGroup
 

Enumeration values:
NoJoiningGroup 
Ain 
Alaph 
Alef 
Beh 
Beth 
Dal 
DalathRish 
E 
Feh 
FinalSemkath 
Gaf 
Gamal 
Hah 
HamzaOnHehGoal 
He 
Heh 
HehGoal 
Heth 
Kaf 
Kaph 
KnottedHeh 
Lam 
Lamadh 
Meem 
Mim 
Noon 
Nun 
Pe 
Qaf 
Qaph 
Reh 
Reversed_Pe 
Sad 
Sadhe 
Seen 
Semkath 
Shin 
Swash_Kaf 
Syriac_Waw 
Tah 
Taw 
Teh_Marbuta 
Teth 
Waw 
Yeh 
Yeh_Barree 
Yeh_With_Tail 
Yudh 
Yudh_He 
Zain 
Fe 
Khaph 
Zhain 
Count 

Definition at line 480 of file UChar.d.

enum LineBreak
 

Enumeration values:
Unknown 
Ambiguous 
Alphabetic 
BreakBoth 
BreakAfter 
BreakBefore 
MandatoryBreak 
ContingentBreak 
ClosePunctuation 
CombiningMark 
CarriageReturn 
Exclamation 
Glue 
Hyphen 
Ideographic 
Inseperable 
Inseparable 
InfixNumeric 
LineFeed 
Nonstarter 
Numeric 
OpenPunctuation 
PostfixNumeric 
PrefixNumeric 
Quotation 
ComplexContext 
Surrogate 
Space 
BreakSymbols 
Zwspace 
NextLine 
WordJoiner 
Count 

Definition at line 539 of file UChar.d.

enum NumericType
 

Enumeration values:
None 
Decimal 
Digit 
Numeric 
Count 

Definition at line 576 of file UChar.d.

enum HangulSyllableType
 

Enumeration values:
NotApplicable 
LeadingJamo 
VowelJamo 
TrailingJamo 
LvSyllable 
LvtSyllable 
Count 

Definition at line 585 of file UChar.d.

enum Error [protected, inherited]
 

ICU error codes (the ones which are referenced)

Enumeration values:
OK 
BufferOverflow 

Definition at line 146 of file ICU.d.


Constructor & Destructor Documentation

static ~this  )  [inline, static]
 

Definition at line 1236 of file UChar.d.

References library.


Member Function Documentation

uint getProperty dchar  c,
Property  p
[inline]
 

Get the property value for an enumerated or integer Unicode property for a code point. Also returns binary and mask property values.

Unicode, especially in version 3.2, defines many more properties than the original set in UnicodeData.txt.

The properties APIs are intended to reflect Unicode properties as defined in the Unicode Character Database (UCD) and Unicode Technical Reports (UTR). For details about the properties see http://www.unicode.org/ . For names of Unicode properties see the file PropertyAliases.txt

Definition at line 613 of file UChar.d.

uint getPropertyMinimum Property  p  )  [inline]
 

Get the minimum value for an enumerated/integer/binary Unicode property

Definition at line 625 of file UChar.d.

uint getPropertyMaximum Property  p  )  [inline]
 

Get the maximum value for an enumerated/integer/binary Unicode property

Definition at line 637 of file UChar.d.

Direction charDirection dchar  c  )  [inline]
 

Returns the bidirectional category value for the code point, which is used in the Unicode bidirectional algorithm (UAX #9 http://www.unicode.org/reports/tr9/).

Definition at line 650 of file UChar.d.

BlockCode getBlockCode dchar  c  )  [inline]
 

Returns the Unicode allocation block that contains the character

Definition at line 662 of file UChar.d.

char [] getCharName dchar  c,
CharNameChoice  choice,
inout char[]  dst
[inline]
 

Retrieve the name of a Unicode character.

Definition at line 673 of file UChar.d.

References ICU::testError().

char [] getComment dchar  c,
inout char[]  dst
[inline]
 

Get the ISO 10646 comment for a character.

Definition at line 688 of file UChar.d.

References ICU::testError().

dchar charFromName CharNameChoice  choice,
char[]  name
[inline]
 

Find a Unicode character by its name and return its code point value.

Definition at line 704 of file UChar.d.

References ICU::testError(), and ICU::toString().

char [] getPropertyName Property  p,
NameChoice  choice
[inline]
 

Return the Unicode name for a given property, as given in the Unicode database file PropertyAliases.txt

Definition at line 720 of file UChar.d.

References ICU::toArray().

char [] getPropertyValueName Property  p,
NameChoice  choice,
uint  value
[inline]
 

Return the Unicode name for a given property value, as given in the Unicode database file PropertyValueAliases.txt.

Definition at line 732 of file UChar.d.

References ICU::toArray().

void getUnicodeVersion inout Version  v  )  [inline]
 

Gets the Unicode version information

Definition at line 743 of file UChar.d.

void getCharAge dchar  c,
inout Version  v
[inline]
 

Get the "age" of the code point

Definition at line 754 of file UChar.d.

static this  )  [inline, static]
 

Definition at line 1227 of file UChar.d.

References library, and targets.

static bool isError Error  e  )  [inline, static, protected, inherited]
 

Definition at line 156 of file ICU.d.

Referenced by UCollator::getLocale().

static void testError Error  e,
char[]  msg
[inline, static, protected, inherited]
 

Definition at line 174 of file ICU.d.

Referenced by UCalendar::add(), USet::applyPattern(), charFromName(), UNormalize::check(), URegex::clone(), UNormalize::compare(), UDomainName::compare(), UText::compareFolded(), UConverter::UTranscoder::convert(), UEnumeration::count(), UConverter::decode(), UConverter::encode(), URegex::end(), UTransform::execute(), USearch::first(), UResourceBundle::get(), UCalendar::get(), UCollator::getAttribute(), UResourceBundle::getBinary(), UCollator::getBound(), getCharName(), getComment(), UCollator::getContractions(), URegex::getFlags(), UResourceBundle::getInt(), UResourceBundle::getIntVector(), UCalendar::getLimit(), UResourceBundle::getLocale(), UCalendar::getMillis(), UConverter::getName(), UResourceBundle::getNextString(), URegex::getPattern(), UCollator::getShortDefinitionString(), UResourceBundle::getString(), UCollator::getTailoredSet(), UDateFormat::getTwoDigitYearStart(), UCollator::getVariableTop(), URegex::groupCount(), UCalendar::inDaylightTime(), UNormalize::isNormalized(), USearch::last(), URegex::match(), USearch::next(), URegex::next(), UEnumeration::next(), UCollator::normalizeShortDefinitionString(), UDateFormat::parse(), USearch::previous(), URegex::probe(), URegex::replaceAll(), URegex::replaceFirst(), URegex::reset(), UEnumeration::reset(), UCalendar::roll(), UCollator::setAttribute(), USearch::setCollator(), UCalendar::setDate(), UCalendar::setDateTime(), UTransform::setFilter(), USearch::setIterator(), UCalendar::setMillis(), USearch::setOffset(), USearch::setPattern(), UDecimalFormat::setPattern(), UMessageFormat::setPattern(), USearch::setText(), URegex::setText(), UBreakIterator::setText(), UCalendar::setTimeZone(), UDateFormat::setTwoDigitYearStart(), UCollator::setVariableTop(), URegex::split(), URegex::start(), UTransform::this(), UStringPrep::this(), USet::this(), USearch::this(), UResourceBundle::this(), URegex::this(), UNumberFormat::this(), UMessageFormat::this(), UDateFormat::this(), UCollator::this(), UCalendar::this(), UBreakIterator::this(), URuleIterator::this(), and UText::toUtf8().

static char* toString char[]  string  )  [inline, static, protected, inherited]
 

Definition at line 184 of file ICU.d.

Referenced by charFromName(), UConverter::compareNames(), UCollator::getDisplayName(), UResourceBundle::getResource(), UCollator::getShortDefinitionString(), UResourceBundle::getString(), UCalendar::getTimeZoneName(), UCollator::normalizeShortDefinitionString(), UMessageFormat::setLocale(), UStringPrep::this(), UResourceBundle::this(), UDateFormat::this(), UCollator::this(), UBreakIterator::this(), UText::toLower(), and UText::toUpper().

static wchar* toString wchar[]  string  )  [inline, static, protected, inherited]
 

Definition at line 206 of file ICU.d.

static uint length char *  s  )  [inline, static, protected, inherited]
 

Definition at line 228 of file ICU.d.

References strlen().

Referenced by UConverter::UTranscoder::convert().

static uint length wchar *  s  )  [inline, static, protected, inherited]
 

Definition at line 237 of file ICU.d.

References wcslen().

static char [] toArray char *  s  )  [inline, static, protected, inherited]
 

Definition at line 246 of file ICU.d.

References strlen().

Referenced by UConverter::detectSignature(), UResourceBundle::getKey(), UResourceBundle::getLocale(), UMessageFormat::getLocale(), UCollator::getLocale(), UConverter::getName(), getPropertyName(), getPropertyValueName(), and UConverter::opApply().

static wchar [] toArray wchar *  s  )  [inline, static, protected, inherited]
 

Definition at line 257 of file ICU.d.

References wcslen().


Member Data Documentation

void* library [static, private]
 

Bind the ICU functions from a shared library. This is complicated by the issues regarding D and DLLs on the Windows platform

Definition at line 1142 of file UChar.d.

Referenced by this(), and ~this().

FunctionLoader Bind [] targets [static]
 

Initial value:

 
                [
                {cast(void**) &forDigit,                "u_forDigit"}

Definition at line 1168 of file UChar.d.

Referenced by this().


The documentation for this class was generated from the following file:
Generated on Sat Dec 24 17:28:42 2005 for Mango by  doxygen 1.4.0