Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

fxunicode.h File Reference

Go to the source code of this file.

Namespaces

namespace  FX
namespace  FX::Unicode

Enumerations

enum  {
  CatNotAssigned = 0,
  CatControl = 1,
  CatFormat = 2,
  CatSurrogate = 3,
  CatOther = 4,
  CatMarkNonSpacing = 5,
  CatMarkSpacingCombining = 6,
  CatMarkEnclosing = 7,
  CatSeparatorSpace = 8,
  CatSeparatorLine = 9,
  CatSeparatorParagraph = 10,
  CatLetterUpper = 11,
  CatLetterLower = 12,
  CatLetterTitle = 13,
  CatLetterModifier = 14,
  CatLetterOther = 15,
  CatNumberLetter = 16,
  CatNumberDecimal = 17,
  CatNumberOther = 18,
  CatPunctConnector = 19,
  CatPunctDash = 20,
  CatPunctOpen = 21,
  CatPunctClose = 22,
  CatPunctInitial = 23,
  CatPunctFinal = 24,
  CatPunctOther = 25,
  CatSymbolMath = 26,
  CatSymbolCurrency = 27,
  CatSymbolModifier = 28,
  CatSymbolOther = 29
}
enum  {
  DirL = 0,
  DirLRE = 1,
  DirLRO = 2,
  DirR = 3,
  DirAL = 4,
  DirRLE = 5,
  DirRLO = 6,
  DirPDF = 7,
  DirEN = 8,
  DirES = 9,
  DirET = 10,
  DirAN = 11,
  DirCS = 12,
  DirNSM = 13,
  DirBN = 14,
  DirB = 15,
  DirS = 16,
  DirWS = 17,
  DirON = 18
}
enum  {
  NonJoining = 0,
  RightJoining = 1,
  DualJoining = 2,
  JoinCausing = 3
}
enum  {
  CombBelowLeftAtt = 200,
  CombBelowAtt = 202,
  CombBelowRightAtt = 204,
  CombLeftAtt = 208,
  CombRightAtt = 210,
  CombAboveLeftAtt = 212,
  CombAboveAtt = 214,
  CombAboveRightAtt = 216,
  CombBelowLeft = 218,
  CombBelow = 220,
  CombBelowRight = 222,
  CombLeft = 224,
  CombRight = 226,
  CombAboveLeft = 228,
  CombAbove = 230,
  CombAboveRight = 232,
  CombDoubleBelow = 233,
  CombDoubleAbove = 234,
  CombIotaSub = 240
}
enum  {
  DecNone = 0,
  DecFont = 1,
  DecNoBreak = 2,
  DecInitial = 3,
  DecMedial = 4,
  DecFinal = 5,
  DecIsolated = 6,
  DecCircle = 7,
  DecSuper = 8,
  DecSub = 9,
  DecVertical = 10,
  DecWide = 11,
  DecNarrow = 12,
  DecSmall = 13,
  DecSquare = 14,
  DecFraction = 15,
  DecCompat = 16,
  DecCanonical = 17
}
enum  {
  BreakUnknown = 0,
  BreakMandarory = 1,
  BreakReturn = 2,
  BreakLineFeed = 3,
  BreakCombMark = 4,
  BreakNextLine = 5,
  BreakSurrogate = 6,
  BreakWordJoiner = 7,
  BreakZWSpace = 8,
  BreakGlue = 9,
  BreakContingent = 10,
  BreakSpace = 11,
  BreakBoth = 12,
  BreakAfter = 13,
  BreakBefore = 14,
  BreakHyphen = 15,
  BreakOpen = 16,
  BreakClose = 17,
  BreakQuote = 18,
  BreakExclaim = 19,
  BreakInsep = 20,
  BreakNonStart = 21,
  BreakInfix = 22,
  BreakNumeric = 23,
  BreakPostfix = 24,
  BreakPrefix = 25,
  BreakSymbol = 26,
  BreakOrdinary = 27,
  BreakIdeograph = 28,
  BreakComplex = 29
}
enum  {
  ScriptCommon = 0,
  ScriptInherited = 1,
  ScriptLatin = 2,
  ScriptGreek = 3,
  ScriptCyrillic = 4,
  ScriptArmenian = 5,
  ScriptGeorgian = 6,
  ScriptRunic = 7,
  ScriptOgham = 8,
  ScriptHebrew = 9,
  ScriptArabic = 10,
  ScriptSyriac = 11,
  ScriptThaana = 12,
  ScriptDevanagari = 13,
  ScriptBengali = 14,
  ScriptGurmukhi = 15,
  ScriptGujarati = 16,
  ScriptOriya = 17,
  ScriptTamil = 18,
  ScriptTelugu = 19,
  ScriptKannada = 20,
  ScriptMalayalam = 21,
  ScriptSinhala = 22,
  ScriptThai = 23,
  ScriptLao = 24,
  ScriptTibetan = 25,
  ScriptMyanmar = 26,
  ScriptKhmer = 27,
  ScriptHan = 28,
  ScriptHiragana = 29,
  ScriptKatakana = 30,
  ScriptHangul = 31,
  ScriptBopomofo = 32,
  ScriptYi = 33,
  ScriptEthiopic = 34,
  ScriptCherokee = 35,
  ScriptCanadianAboriginal = 36,
  ScriptMongolian = 37,
  ScriptGothic = 38,
  ScriptTagalog = 39,
  ScriptHanunoo = 40,
  ScriptBuhid = 41,
  ScriptTagbanwa = 42,
  ScriptLimbu = 43,
  ScriptTaiLe = 44,
  ScriptUgaritic = 45,
  ScriptOsmanya = 46,
  ScriptCypriot = 47,
  ScriptShavian = 48,
  ScriptDeseret = 49,
  ScriptKatakanaHiragana = 50
}

Functions

FXuint charCategory (FXwchar ucs)
FXuint charDirection (FXwchar ucs)
FXuint decomposeType (FXwchar ucs)
FXuint charNumDecompose (FXwchar ucs)
const FXwcharcharDecompose (FXwchar ucs)
FXwchar charCompose (FXwchar ucsa, FXwchar ucsb)
FXuint joiningType (FXwchar ucs)
FXuint isSymmetric (FXwchar ucs)
FXuint charCombining (FXwchar ucs)
FXint digitValue (FXwchar ucs)
FXuint lineBreakType (FXwchar ucs)
FXwchar mirrorImage (FXwchar ucs)
FXuint scriptType (FXwchar ucs)
bool hasCase (FXwchar ucs)
bool isUpper (FXwchar ucs)
bool isLower (FXwchar ucs)
bool isTitle (FXwchar ucs)
bool isAscii (FXwchar ucs)
bool isLetter (FXwchar ucs)
bool isDigit (FXwchar ucs)
bool isAlphaNumeric (FXwchar ucs)
bool isControl (FXwchar ucs)
bool isSpace (FXwchar ucs)
bool isBlank (FXwchar ucs)
bool isPunct (FXwchar ucs)
bool isGraph (FXwchar ucs)
bool isPrint (FXwchar ucs)
bool isHexDigit (FXwchar ucs)
bool isSymbol (FXwchar ucs)
bool isMark (FXwchar ucs)
bool isSep (FXwchar ucs)
FXwchar toUpper (FXwchar ucs)
FXwchar toLower (FXwchar ucs)
FXwchar toTitle (FXwchar ucs)


Function Documentation

FXuint FX::Unicode::charCategory FXwchar  ucs  ) 
 

Character wide character category.

FXuint FX::Unicode::charDirection FXwchar  ucs  ) 
 

Get character wide character direction.

FXuint FX::Unicode::decomposeType FXwchar  ucs  ) 
 

Get wide character decompose type.

FXuint FX::Unicode::charNumDecompose FXwchar  ucs  ) 
 

Return number of wide characters in decomposition.

const FXwchar* FX::Unicode::charDecompose FXwchar  ucs  ) 
 

Return wide character decomposition.

FXwchar FX::Unicode::charCompose FXwchar  ucsa,
FXwchar  ucsb
 

Return wide character composition from ucsa and ucsb.

FXuint FX::Unicode::joiningType FXwchar  ucs  ) 
 

Get wide character joining.

FXuint FX::Unicode::isSymmetric FXwchar  ucs  ) 
 

Get wide character symmetry.

FXuint FX::Unicode::charCombining FXwchar  ucs  ) 
 

Get wide character combining type; zero means starter.

FXint FX::Unicode::digitValue FXwchar  ucs  ) 
 

Get numeric value of wide character (this includes hex value).

FXuint FX::Unicode::lineBreakType FXwchar  ucs  ) 
 

Get linebreak type of wide character.

FXwchar FX::Unicode::mirrorImage FXwchar  ucs  ) 
 

Get mirror image of wide character or character itself.

FXuint FX::Unicode::scriptType FXwchar  ucs  ) 
 

Script type of wide character.

bool FX::Unicode::hasCase FXwchar  ucs  ) 
 

Unicode flavor of common functions.

bool FX::Unicode::isUpper FXwchar  ucs  ) 
 

bool FX::Unicode::isLower FXwchar  ucs  ) 
 

bool FX::Unicode::isTitle FXwchar  ucs  ) 
 

bool FX::Unicode::isAscii FXwchar  ucs  ) 
 

bool FX::Unicode::isLetter FXwchar  ucs  ) 
 

bool FX::Unicode::isDigit FXwchar  ucs  ) 
 

bool FX::Unicode::isAlphaNumeric FXwchar  ucs  ) 
 

bool FX::Unicode::isControl FXwchar  ucs  ) 
 

bool FX::Unicode::isSpace FXwchar  ucs  ) 
 

bool FX::Unicode::isBlank FXwchar  ucs  ) 
 

bool FX::Unicode::isPunct FXwchar  ucs  ) 
 

bool FX::Unicode::isGraph FXwchar  ucs  ) 
 

bool FX::Unicode::isPrint FXwchar  ucs  ) 
 

bool FX::Unicode::isHexDigit FXwchar  ucs  ) 
 

bool FX::Unicode::isSymbol FXwchar  ucs  ) 
 

bool FX::Unicode::isMark FXwchar  ucs  ) 
 

bool FX::Unicode::isSep FXwchar  ucs  ) 
 

FXwchar FX::Unicode::toUpper FXwchar  ucs  ) 
 

Case conversion.

FXwchar FX::Unicode::toLower FXwchar  ucs  ) 
 

FXwchar FX::Unicode::toTitle FXwchar  ucs  ) 
 

Copyright © 1997-2005 Jeroen van der Zijp