SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TUniChInfo Class Reference

#include <unicode.h>

List of all members.

Public Types

enum  {
  ccStarter = 0, ccOverlaysAndInterior = 1, ccNuktas = 7, ccHiraganaKatakanaVoicingMarks = 8,
  ccViramas = 9, ccFixedPositionStart = 10, ccFixedPositionEnd = 199, ccBelowLeftAttached = 200,
  ccBelowAttached = 202, ccBelowRightAttached = 204, ccLeftAttached = 208, ccRightAttached = 210,
  ccAboveLeftAttached = 212, ccAboveAttached = 214, ccAboveRightAttached = 216, ccBelowLeft = 218,
  ccBelow = 220, ccBelowRight = 222, ccLeft = 224, ccRight = 226,
  ccAboveLeft = 228, ccAbove = 230, ccAboveRight = 232, ccDoubleBelow = 233,
  ccDoubleAbove = 234, ccBelowIotaSubscript = 240, ccInvalid = 255
}

Public Member Functions

void InitAfterLoad ()
void SetCatAndSubCat (const TUniChSubCategory catAndSubCat)
void Save (TSOut &SOut) const
void Load (TSIn &SIn)
 TUniChInfo (TSIn &SIn)
 TUniChInfo ()
bool IsDcpFlag (const TUniChFlags flag) const
void ClrDcpFlags ()
void SetDcpFlag (const TUniChFlags flag)
bool IsAlphabetic () const
bool IsUppercase () const
bool IsLowercase () const
bool IsMath () const
bool IsDefaultIgnorable () const
bool IsGraphemeBase () const
bool IsGraphemeExtend () const
bool IsIdStart () const
bool IsIdContinue () const
bool IsXidStart () const
bool IsXidContinue () const
bool IsProperty (const TUniChProperties flag) const
void SetProperty (const TUniChProperties flag)
bool IsAsciiHexDigit () const
bool IsBidiControl () const
bool IsDash () const
bool IsDeprecated () const
bool IsDiacritic () const
bool IsExtender () const
bool IsGraphemeLink () const
bool IsHexDigit () const
bool IsHyphen () const
bool IsIdeographic () const
bool IsJoinControl () const
bool IsLogicalOrderException () const
bool IsNoncharacter () const
bool IsQuotationMark () const
bool IsSoftDotted () const
bool IsSTerminal () const
bool IsTerminalPunctuation () const
bool IsVariationSelector () const
bool IsWhiteSpace () const
bool IsPropertyX (const TUniChPropertiesX flag) const
void SetPropertyX (const TUniChPropertiesX flag)
bool IsCompositionExclusion () const
bool IsCompatibilityDecomposition () const
bool IsWbFlag (const TUniChFlags flag) const
void ClrWbAndSbFlags ()
void SetWbFlag (const TUniChFlags flag)
int GetWbFlags () const
bool IsWbFormat () const
TStr GetWbFlagsStr () const
bool IsSbFlag (const TUniChFlags flag) const
void SetSbFlag (const TUniChFlags flag)
int GetSbFlags () const
bool IsSbFormat () const
TStr GetSbFlagsStr () const
bool IsSbSep () const
bool IsGbExtend () const
bool IsCased () const
TUniChCategory GetCat () const
TUniChSubCategory GetSubCat () const
bool IsCurrency () const
bool IsPrivateUse () const
bool IsSurrogate () const

Static Public Member Functions

static ushort GetLineBreakCode (char c1, char c2)
static void LoadUShort (TSIn &SIn, ushort &u)
static void LoadSChar (TSIn &SIn, signed char &u)
static void SaveUShort (TSOut &SOut, ushort u)
static void SaveSChar (TSOut &SOut, signed char u)
static TStr GetWbFlagsStr (const int flags)
static TStr GetSbFlagsStr (const int flags)
static bool IsValidSubCat (const char chCat, const char chSubCat)

Public Attributes

char chCat
char chSubCat
uchar combClass
TUniChCategory cat
TUniChSubCategory subCat
signed char script
int simpleUpperCaseMapping
int simpleLowerCaseMapping
int simpleTitleCaseMapping
int decompOffset
int nameOffset
int flags
int properties
int propertiesX
ushort lineBreak

Static Public Attributes

static const ushort LineBreak_Unknown = TUniChInfo::GetLineBreakCode('X', 'X')
static const ushort LineBreak_ComplexContext = TUniChInfo::GetLineBreakCode('S', 'A')
static const ushort LineBreak_Numeric = TUniChInfo::GetLineBreakCode('N', 'U')
static const ushort LineBreak_InfixNumeric = TUniChInfo::GetLineBreakCode('I', 'S')
static const ushort LineBreak_Quotation = TUniChInfo::GetLineBreakCode('Q', 'U')

Friends

class TUniChDb

Detailed Description

Definition at line 984 of file unicode.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
ccStarter 
ccOverlaysAndInterior 
ccNuktas 
ccHiraganaKatakanaVoicingMarks 
ccViramas 
ccFixedPositionStart 
ccFixedPositionEnd 
ccBelowLeftAttached 
ccBelowAttached 
ccBelowRightAttached 
ccLeftAttached 
ccRightAttached 
ccAboveLeftAttached 
ccAboveAttached 
ccAboveRightAttached 
ccBelowLeft 
ccBelow 
ccBelowRight 
ccLeft 
ccRight 
ccAboveLeft 
ccAbove 
ccAboveRight 
ccDoubleBelow 
ccDoubleAbove 
ccBelowIotaSubscript 
ccInvalid 

Definition at line 987 of file unicode.h.

             { // combining classes (for 'combClass'); from UnicodeData.txt
                ccStarter = 0, // 0: Spacing, split, enclosing, reordrant, and Tibetan subjoined
                ccOverlaysAndInterior = 1,
                ccNuktas = 7,
                ccHiraganaKatakanaVoicingMarks = 8,
                ccViramas = 9,
                ccFixedPositionStart = 10, // Start of fixed position classes
                ccFixedPositionEnd = 199, // End of fixed position classes
                ccBelowLeftAttached = 200,
                ccBelowAttached = 202,
                ccBelowRightAttached = 204,
                ccLeftAttached = 208, // Left attached (reordrant around single base character)
                ccRightAttached = 210,
                ccAboveLeftAttached = 212,
                ccAboveAttached = 214,
                ccAboveRightAttached = 216,
                ccBelowLeft = 218,
                ccBelow = 220,
                ccBelowRight = 222,
                ccLeft = 224, // Left (reordrant around single base character)
                ccRight = 226,
                ccAboveLeft = 228,
                ccAbove = 230,
                ccAboveRight = 232,
                ccDoubleBelow = 233,
                ccDoubleAbove = 234,
                ccBelowIotaSubscript = 240, // Below (iota subscript)
                ccInvalid = 255 // not defined by Unicode
        };

Constructor & Destructor Documentation

TUniChInfo::TUniChInfo ( TSIn SIn) [inline, explicit]

Definition at line 1060 of file unicode.h.

References Load().

{ Load(SIn); }

Here is the call graph for this function:

TUniChInfo::TUniChInfo ( ) [inline]

Definition at line 1061 of file unicode.h.

References InitAfterLoad().

Here is the call graph for this function:


Member Function Documentation

void TUniChInfo::ClrDcpFlags ( ) [inline]

Definition at line 1068 of file unicode.h.

References flags, and ucfDcpMask.

void TUniChInfo::ClrWbAndSbFlags ( ) [inline]

Definition at line 1115 of file unicode.h.

References flags, ucfSbMask, and ucfWbMask.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

Here is the caller graph for this function:

TUniChCategory TUniChInfo::GetCat ( ) const [inline]

Definition at line 1144 of file unicode.h.

References cat.

{ return (TUniChCategory) cat; }
static ushort TUniChInfo::GetLineBreakCode ( char  c1,
char  c2 
) [inline, static]

Definition at line 1030 of file unicode.h.

Referenced by TUniChDb::InitLineBreaks().

{ return ((ushort(uchar(c1)) & 0xff) << 8) | ((ushort(uchar(c2)) & 0xff)); }

Here is the caller graph for this function:

int TUniChInfo::GetSbFlags ( ) const [inline]

Definition at line 1127 of file unicode.h.

References flags, and ucfSbMask.

Referenced by GetSbFlagsStr(), and TUniChDb::InitWordAndSentenceBoundaryFlags().

{ return flags & ucfSbMask; }

Here is the caller graph for this function:

TStr TUniChInfo::GetSbFlagsStr ( ) const [inline]

Definition at line 1129 of file unicode.h.

References GetSbFlags(), and GetSbFlagsStr().

Referenced by GetSbFlagsStr(), TUniChDb::InitWordAndSentenceBoundaryFlags(), and TUniChDb::TestFindNextWordOrSentenceBoundary().

{ return GetSbFlagsStr(GetSbFlags()); }

Here is the call graph for this function:

Here is the caller graph for this function:

static TStr TUniChInfo::GetSbFlagsStr ( const int  flags) [inline, static]

Definition at line 1130 of file unicode.h.

References ucfSbATerm, ucfSbClose, ucfSbFormat, ucfSbLower, ucfSbNumeric, ucfSbOLetter, ucfSbSep, ucfSbSp, ucfSbSTerm, and ucfSbUpper.

                                                   { return TStr("") + (flags & ucfSbSep ? "S" : "") +
                (flags & ucfSbFormat ? "F" : "") + (flags & ucfSbSp ? "_" : "") + (flags & ucfSbLower ? "L" : "") +
                (flags & ucfSbUpper ? "U" : "") + (flags & ucfSbOLetter ? "O" : "") + (flags & ucfSbNumeric ? "N" : "") +
                (flags & ucfSbATerm ? "A" : "") + (flags & ucfSbSTerm ? "T" : "") + (flags & ucfSbClose ? "C" : ""); }

Definition at line 1145 of file unicode.h.

References subCat.

{ return (TUniChSubCategory) subCat; }
int TUniChInfo::GetWbFlags ( ) const [inline]

Definition at line 1117 of file unicode.h.

References flags, and ucfWbMask.

Referenced by GetWbFlagsStr(), and TUniChDb::InitWordAndSentenceBoundaryFlags().

{ return flags & ucfWbMask; }

Here is the caller graph for this function:

TStr TUniChInfo::GetWbFlagsStr ( ) const [inline]

Definition at line 1119 of file unicode.h.

References GetWbFlags(), and GetWbFlagsStr().

Referenced by GetWbFlagsStr(), and TUniChDb::TestFindNextWordOrSentenceBoundary().

{ return GetWbFlagsStr(GetWbFlags()); }

Here is the call graph for this function:

Here is the caller graph for this function:

static TStr TUniChInfo::GetWbFlagsStr ( const int  flags) [inline, static]

Definition at line 1120 of file unicode.h.

References ucfWbALetter, ucfWbExtendNumLet, ucfWbFormat, ucfWbKatakana, ucfWbMidLetter, ucfWbMidNum, and ucfWbNumeric.

                                                   { return TStr("") + (flags & ucfWbALetter ? "A" : "") +
                (flags & ucfWbFormat ? "F" : "") + (flags & ucfWbKatakana ? "K" : "") + (flags & ucfWbMidLetter ? "M" : "") +
                (flags & ucfWbMidNum ? "m" : "") + (flags & ucfWbNumeric ? "N" : "") + (flags & ucfWbExtendNumLet ? "E" : ""); }
void TUniChInfo::InitAfterLoad ( ) [inline]

Definition at line 1034 of file unicode.h.

References cat, chCat, chSubCat, and subCat.

Referenced by Load(), TUniChDb::LoadTxt(), and TUniChInfo().

                             {
                cat = (TUniChCategory) chCat;
                subCat = (TUniChSubCategory) (((int(uchar(chCat)) & 0xff) << 8) | (int(uchar(chSubCat)) & 0xff)); }

Here is the caller graph for this function:

bool TUniChInfo::IsAlphabetic ( ) const [inline]

Definition at line 1070 of file unicode.h.

References IsDcpFlag(), and ucfDcpAlphabetic.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), and TUStr::IsAlphabetic().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsAsciiHexDigit ( ) const [inline]

Definition at line 1085 of file unicode.h.

References IsProperty(), and ucfPrAsciiHexDigit.

Here is the call graph for this function:

bool TUniChInfo::IsBidiControl ( ) const [inline]

Definition at line 1086 of file unicode.h.

References IsProperty(), and ucfPrBidiControl.

Here is the call graph for this function:

bool TUniChInfo::IsCased ( ) const [inline]

Definition at line 1141 of file unicode.h.

References IsLowercase(), IsUppercase(), and subCat.

Referenced by TUStr::IsCase().

{ return IsUppercase() || IsLowercase() || (subCat == ucLetterTitlecase); }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1111 of file unicode.h.

References flags, and ucfCompatibilityDecomposition.

Referenced by TUniChDb::AddDecomposition(), and TUniChDb::LoadTxt().

Here is the caller graph for this function:

bool TUniChInfo::IsCompositionExclusion ( ) const [inline]

Definition at line 1110 of file unicode.h.

References flags, and ucfCompositionExclusion.

Referenced by TUniChDb::LoadTxt().

Here is the caller graph for this function:

bool TUniChInfo::IsCurrency ( ) const [inline]

Definition at line 1156 of file unicode.h.

References subCat.

{ return subCat == ucSymbolCurrency; }
bool TUniChInfo::IsDash ( ) const [inline]

Definition at line 1087 of file unicode.h.

References IsProperty(), and ucfPrDash.

{ return IsProperty(ucfPrDash); }

Here is the call graph for this function:

bool TUniChInfo::IsDcpFlag ( const TUniChFlags  flag) const [inline]

Definition at line 1067 of file unicode.h.

References Assert, flags, and ucfDcpMask.

Referenced by TUniChDb::InitDerivedCoreProperties(), IsAlphabetic(), IsDefaultIgnorable(), IsGraphemeBase(), IsGraphemeExtend(), IsIdContinue(), IsIdStart(), IsLowercase(), IsMath(), IsUppercase(), IsXidContinue(), and IsXidStart().

{ Assert((flag & ucfDcpMask) == flag); return (flags & flag) == flag; }

Here is the caller graph for this function:

bool TUniChInfo::IsDefaultIgnorable ( ) const [inline]

Definition at line 1074 of file unicode.h.

References IsDcpFlag(), and ucfDcpDefaultIgnorableCodePoint.

Here is the call graph for this function:

bool TUniChInfo::IsDeprecated ( ) const [inline]

Definition at line 1088 of file unicode.h.

References IsProperty(), and ucfPrDeprecated.

Here is the call graph for this function:

bool TUniChInfo::IsDiacritic ( ) const [inline]

Definition at line 1089 of file unicode.h.

References IsProperty(), and ucfPrDiacritic.

Here is the call graph for this function:

bool TUniChInfo::IsExtender ( ) const [inline]

Definition at line 1090 of file unicode.h.

References IsProperty(), and ucfPrExtender.

Here is the call graph for this function:

bool TUniChInfo::IsGbExtend ( ) const [inline]

Definition at line 1138 of file unicode.h.

References IsGraphemeExtend().

Referenced by TUniChDb::IsWbIgnored().

{ return IsGraphemeExtend(); }

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsGraphemeBase ( ) const [inline]

Definition at line 1075 of file unicode.h.

References IsDcpFlag(), and ucfDcpGraphemeBase.

Here is the call graph for this function:

bool TUniChInfo::IsGraphemeExtend ( ) const [inline]

Definition at line 1076 of file unicode.h.

References IsDcpFlag(), and ucfDcpGraphemeExtend.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), and IsGbExtend().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsGraphemeLink ( ) const [inline]

Definition at line 1091 of file unicode.h.

References IsProperty(), and ucfPrGraphemeLink.

Here is the call graph for this function:

bool TUniChInfo::IsHexDigit ( ) const [inline]

Definition at line 1092 of file unicode.h.

References IsProperty(), and ucfPrHexDigit.

Here is the call graph for this function:

bool TUniChInfo::IsHyphen ( ) const [inline]

Definition at line 1093 of file unicode.h.

References IsProperty(), and ucfPrHyphen.

{ return IsProperty(ucfPrHyphen); }

Here is the call graph for this function:

bool TUniChInfo::IsIdContinue ( ) const [inline]

Definition at line 1078 of file unicode.h.

References IsDcpFlag(), and ucfDcpIdContinue.

Here is the call graph for this function:

bool TUniChInfo::IsIdeographic ( ) const [inline]

Definition at line 1094 of file unicode.h.

References IsProperty(), and ucfPrIdeographic.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsIdStart ( ) const [inline]

Definition at line 1077 of file unicode.h.

References IsDcpFlag(), and ucfDcpIdStart.

{ return IsDcpFlag(ucfDcpIdStart); }

Here is the call graph for this function:

bool TUniChInfo::IsJoinControl ( ) const [inline]

Definition at line 1095 of file unicode.h.

References IsProperty(), and ucfPrJoinControl.

Here is the call graph for this function:

bool TUniChInfo::IsLogicalOrderException ( ) const [inline]

Definition at line 1096 of file unicode.h.

References IsProperty(), and ucfPrLogicalOrderException.

Here is the call graph for this function:

bool TUniChInfo::IsLowercase ( ) const [inline]

Definition at line 1072 of file unicode.h.

References IsDcpFlag(), and ucfDcpLowercase.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), IsCased(), and TUStr::IsLowerCase().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsMath ( ) const [inline]

Definition at line 1073 of file unicode.h.

References IsDcpFlag(), and ucfDcpMath.

Referenced by TUStr::IsMath().

{ return IsDcpFlag(ucfDcpMath); }

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsNoncharacter ( ) const [inline]

Definition at line 1097 of file unicode.h.

References IsProperty(), and ucfPrNoncharacterCodePoint.

Here is the call graph for this function:

bool TUniChInfo::IsPrivateUse ( ) const [inline]

Definition at line 1160 of file unicode.h.

References subCat.

{ return subCat == ucOtherPrivateUse; }
bool TUniChInfo::IsPropertyX ( const TUniChPropertiesX  flag) const [inline]

Definition at line 1106 of file unicode.h.

References propertiesX.

Referenced by TUniChDb::InitPropList().

{ return (propertiesX & flag) == flag; }

Here is the caller graph for this function:

bool TUniChInfo::IsQuotationMark ( ) const [inline]

Definition at line 1098 of file unicode.h.

References IsProperty(), and ucfPrQuotationMark.

Here is the call graph for this function:

bool TUniChInfo::IsSbFlag ( const TUniChFlags  flag) const [inline]

Definition at line 1125 of file unicode.h.

References Assert, flags, and ucfSbMask.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), and IsSbFormat().

{ Assert((flag & ucfSbMask) == flag); return (flags & flag) == flag; }

Here is the caller graph for this function:

bool TUniChInfo::IsSbFormat ( ) const [inline]

Definition at line 1128 of file unicode.h.

References IsSbFlag(), and ucfSbFormat.

{ return IsSbFlag(ucfSbFormat); }

Here is the call graph for this function:

bool TUniChInfo::IsSbSep ( ) const [inline]

Definition at line 1135 of file unicode.h.

References flags, and ucfSbSep.

{ return (flags & ucfSbSep) == ucfSbSep; }
bool TUniChInfo::IsSoftDotted ( ) const [inline]

Definition at line 1099 of file unicode.h.

References IsProperty(), and ucfPrSoftDotted.

Here is the call graph for this function:

bool TUniChInfo::IsSTerminal ( ) const [inline]

Definition at line 1100 of file unicode.h.

References IsProperty(), and ucfPrSTerm.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

{ return IsProperty(ucfPrSTerm); }

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsSurrogate ( ) const [inline]

Definition at line 1161 of file unicode.h.

References subCat.

{ return subCat == ucOtherSurrogate; }
bool TUniChInfo::IsTerminalPunctuation ( ) const [inline]

Definition at line 1101 of file unicode.h.

References IsProperty(), and ucfPrTerminalPunctuation.

Here is the call graph for this function:

bool TUniChInfo::IsUppercase ( ) const [inline]

Definition at line 1071 of file unicode.h.

References IsDcpFlag(), and ucfDcpUppercase.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), IsCased(), and TUStr::IsUpperCase().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool TUniChInfo::IsValidSubCat ( const char  chCat,
const char  chSubCat 
) [inline, static]

Definition at line 1163 of file unicode.h.

Referenced by TUniChDb::TSubcatHelper::ProcessComment().

                                                                                {
                static const char s[] = "LuLlLtLmLoMnMcMeNdNlNoPcPdPsPePiPfPoSmScSkSoZsZlZpCcCfCsCoCn";
                for (const char *p = s; *p; p += 2)
                        if (chCat == p[0] && chSubCat == p[1]) return true;
                return false; }

Here is the caller graph for this function:

bool TUniChInfo::IsVariationSelector ( ) const [inline]

Definition at line 1102 of file unicode.h.

References IsProperty(), and ucfPrVariationSelector.

Here is the call graph for this function:

bool TUniChInfo::IsWbFlag ( const TUniChFlags  flag) const [inline]

Definition at line 1114 of file unicode.h.

References Assert, flags, and ucfWbMask.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags(), and IsWbFormat().

{ Assert((flag & ucfWbMask) == flag); return (flags & flag) == flag; }

Here is the caller graph for this function:

bool TUniChInfo::IsWbFormat ( ) const [inline]

Definition at line 1118 of file unicode.h.

References IsWbFlag(), and ucfWbFormat.

Referenced by TUniChDb::IsWbIgnored().

{ return IsWbFlag(ucfWbFormat); }

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsWhiteSpace ( ) const [inline]

Definition at line 1103 of file unicode.h.

References IsProperty(), and ucfPrWhiteSpace.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

Here is the call graph for this function:

Here is the caller graph for this function:

bool TUniChInfo::IsXidContinue ( ) const [inline]

Definition at line 1080 of file unicode.h.

References IsDcpFlag(), and ucfDcpXidContinue.

Here is the call graph for this function:

bool TUniChInfo::IsXidStart ( ) const [inline]

Definition at line 1079 of file unicode.h.

References IsDcpFlag(), and ucfDcpXidStart.

Here is the call graph for this function:

void TUniChInfo::Load ( TSIn SIn) [inline]
static void TUniChInfo::LoadSChar ( TSIn SIn,
signed char &  u 
) [inline, static]

Definition at line 1045 of file unicode.h.

References TSIn::LoadBf().

Referenced by Load().

{ SIn.LoadBf(&u, sizeof(u)); }

Here is the call graph for this function:

Here is the caller graph for this function:

static void TUniChInfo::LoadUShort ( TSIn SIn,
ushort u 
) [inline, static]

Definition at line 1044 of file unicode.h.

References TSIn::LoadBf().

Referenced by Load().

{ SIn.LoadBf(&u, sizeof(u)); }

Here is the call graph for this function:

Here is the caller graph for this function:

static void TUniChInfo::SaveSChar ( TSOut SOut,
signed char  u 
) [inline, static]

Definition at line 1047 of file unicode.h.

References TSOut::SaveBf().

Referenced by Save().

{ SOut.SaveBf(&u, sizeof(u)); }

Here is the call graph for this function:

Here is the caller graph for this function:

static void TUniChInfo::SaveUShort ( TSOut SOut,
ushort  u 
) [inline, static]

Definition at line 1046 of file unicode.h.

References TSOut::SaveBf().

Referenced by Save().

{ SOut.SaveBf(&u, sizeof(u)); }

Here is the call graph for this function:

Here is the caller graph for this function:

void TUniChInfo::SetCatAndSubCat ( const TUniChSubCategory  catAndSubCat) [inline]

Definition at line 1037 of file unicode.h.

References cat, chCat, chSubCat, and subCat.

                                                                   {
                cat = (TUniChCategory) ((int(catAndSubCat) >> 8) & 0xff);
                subCat = catAndSubCat;
                chCat = (char) cat; chSubCat = (char) (int(subCat) & 0xff); }
void TUniChInfo::SetDcpFlag ( const TUniChFlags  flag) [inline]

Definition at line 1069 of file unicode.h.

References Assert, flags, and ucfDcpMask.

Referenced by TUniChDb::InitDerivedCoreProperties().

{ Assert((flag & ucfDcpMask) == flag); flags |= flag; }

Here is the caller graph for this function:

void TUniChInfo::SetProperty ( const TUniChProperties  flag) [inline]

Definition at line 1084 of file unicode.h.

References properties.

Referenced by TUniChDb::InitPropList().

{ properties |= flag; }

Here is the caller graph for this function:

void TUniChInfo::SetPropertyX ( const TUniChPropertiesX  flag) [inline]

Definition at line 1107 of file unicode.h.

References propertiesX.

Referenced by TUniChDb::InitPropList().

{ propertiesX |= flag; }

Here is the caller graph for this function:

void TUniChInfo::SetSbFlag ( const TUniChFlags  flag) [inline]

Definition at line 1126 of file unicode.h.

References Assert, flags, and ucfSbMask.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

{ Assert((flag & ucfSbMask) == flag); flags |= flag; }

Here is the caller graph for this function:

void TUniChInfo::SetWbFlag ( const TUniChFlags  flag) [inline]

Definition at line 1116 of file unicode.h.

References Assert, flags, and ucfWbMask.

Referenced by TUniChDb::InitWordAndSentenceBoundaryFlags().

{ Assert((flag & ucfWbMask) == flag); flags |= flag; }

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class TUniChDb [friend]

Definition at line 1041 of file unicode.h.


Member Data Documentation

Definition at line 1018 of file unicode.h.

Referenced by GetCat(), InitAfterLoad(), and SetCatAndSubCat().

Definition at line 1016 of file unicode.h.

Referenced by InitAfterLoad(), Load(), TUniChDb::LoadTxt(), Save(), and SetCatAndSubCat().

Definition at line 1016 of file unicode.h.

Referenced by InitAfterLoad(), Load(), TUniChDb::LoadTxt(), Save(), and SetCatAndSubCat().

Definition at line 1017 of file unicode.h.

Referenced by Load(), TUniChDb::LoadTxt(), and Save().

Definition at line 1031 of file unicode.h.

Referenced by TUniChDb::InitLineBreaks().

Definition at line 1023 of file unicode.h.

Referenced by Load(), TUniChDb::LoadTxt(), and Save().


The documentation for this class was generated from the following files: