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

# Tools/Xabsl2/yabsl/vsyabsl/text.h File Reference

`#include <ctype.h>`

Include dependency graph for text.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | MAXSTR 255
#define | MAXPATH 255
#define | MAXNAME 99
#define | MAXGUID 99
#define | MAXIID MAXGUID
#define | MAXCLSID MAXGUID
#define | STR2ANSI
#define | OLE2UNI
#define | BSTR2UNI
#define | UNI(s) L##s
#define | ANSI(s) (s)
#define | STR(s) ANSI(s)
#define | OLE UNI
#define | ansiFree(s) FREE(s)
#define | uniFree(s) FREE(s)
#define | strFree(s) FREE(s)
#define | oleFree(s) FREE(s)
#define | uniCharToLower towlower
#define | uniCharToUpper towupper
#define | uniIsSpace iswspace
#define | uniIsPrintable iswprint
#define | uniIsControl iswcntrl
#define | uniIsAlpha iswalpha
#define | uniIsAlphaNum iswalnum
#define | uniIsDigit iswdigit
#define | ansiCharToLower tolower
#define | ansiCharToUpper toupper
#define | ansiIsSpace isspace
#define | ansiIsPrintable isprint
#define | ansiIsControl iscntrl
#define | ansiIsAlpha isalpha
#define | ansiIsAlphaNum isalnum
#define | ansiIsDigit isdigit
#define | USECONV int _convlen = 0; _convlen
#define | Uni2Ansi(u)
#define | Ansi2Uni(a)
#define | AnsiCopy(a)
#define | UniCopy(u)
#define | Uni2CAnsi(u) ((CAnsiStr)Uni2Ansi(u))
#define | Ansi2CUni(a) ((CUniStr)Ansi2Uni(a))
#define | Ansi2Str AnsiCopy
#define | Str2Ansi AnsiCopy
#define | Uni2Str Uni2Ansi
#define | Str2Uni Ansi2Uni
#define | Uni2CStr Uni2CAnsi
#define | Str2CUni Ansi2CUni
#define | uniToStrLen uniToAnsiLen
#define | uniToStrCopy uniToAnsiCopy
#define | uniToStrDup uniToAnsiDup
#define | uniToStrCat uniToAnsiCat
#define | strToUniLen ansiToUniLen
#define | strToUniCopy ansiToUniCopy
#define | strToUniDup ansiToUniDup
#define | strToUniCat ansiToUniCat
#define | ansiToStrLen ansiLen
#define | ansiToStrCopy ansiCopy
#define | ansiToStrDup ansiDup
#define | ansiToStrCat ansiCat
#define | strToAnsiLen ansiLen
#define | strToAnsiCopy ansiCopy
#define | strToAnsiDup ansiDup
#define | strToAnsiCat ansiCat
#define | Uni2Ole UniCopy
#define | Ole2Uni UniCopy
#define | Ansi2Ole Ansi2Uni
#define | Ole2Ansi Uni2Ansi
#define | Ansi2COle Ansi2CUni
#define | Ole2CAnsi Uni2CAnsi
#define | uniToOleLen uniLen
#define | uniToOleCopy uniCopy
#define | uniToOleDup uniDup
#define | oleToUniLen uniLen
#define | oleToUniCopy uniCopy
#define | oleToUniDup uniDup
#define | oleToUniCat uniCat
#define | ansiToOleLen ansiToUniLen
#define | ansiToOleCopy ansiToUniCopy
#define | ansiToOleDup ansiToUniDup
#define | ansiToOleCat ansiToUniCat
#define | oleToAnsiLen uniToAnsiLen
#define | oleToAnsiCopy uniToAnsiCopy
#define | oleToAnsiDup uniToAnsiDup
#define | oleToAnsiCat uniToAnsiCat
#define | Ole2Str Uni2Ansi
#define | Str2Ole Ansi2Uni
#define | Ole2CStr Uni2CAnsi
#define | Str2COle Ansi2CUni
#define | oleToStrLen uniToAnsiLen
#define | oleToStrCopy uniToAnsiCopy
#define | oleToStrDup uniToAnsiDup
#define | oleToStrCat uniToAnsiCat
#define | strToOleLen ansiToUniLen
#define | strToOleCopy ansiToUniCopy
#define | strToOleDup ansiToUniDup
#define | strToOleCat ansiToUniCat
#define | strEmpty ansiEmpty
#define | strLen ansiLen
#define | strCopy ansiCopy
#define | strCat ansiCat
#define | strDup ansiDup
#define | strClear ansiClear
#define | strCompare ansiCompare
#define | strICompare ansiICompare
#define | strCompareLen ansiCompareLen
#define | strICompareLen ansiICompareLen
#define | strToLower ansiToLower
#define | strToUpper ansiToUpper
#define | strCharToLower ansiCharToLower
#define | strCharToUpper ansiCharToUpper
#define | strFindSubStr ansiFindSubStr
#define | strFindChar ansiFindChar
#define | strFindCharRev ansiFindCharRev
#define | strToInt ansiToInt
#define | strIsSpace ansiIsSpace
#define | strIsPrintable ansiIsPrintable
#define | strIsControl ansiIsControl
#define | strIsAlpha ansiIsAlpha
#define | strIsAlphaNum ansiIsAlphaNum
#define | strIsDigit ansiIsDigit
#define | oleEmpty uniEmpty
#define | oleLen uniLen
#define | oleCopy uniCopy
#define | oleCat uniCat
#define | oleDup uniDup
#define | oleClear uniClear
#define | oleCompare uniCompare
#define | oleICompare uniICompare
#define | oleCompareLen uniCompareLen
#define | oleICompareLen uniICompareLen
#define | oleToLower uniToLower
#define | oleToUpper uniToUpper
#define | oleCharToLower uniCharToLower
#define | oleCharToUpper uniCharToUpper
#define | oleFindSubStr uniFindSubStr
#define | oleFindChar uniFindChar
#define | oleFindCharRev uniFindCharRev
#define | oleToInt uniToInt
#define | oleIsSpace uniIsSpace
#define | oleIsPrintable uniIsPrintable
#define | oleIsControl uniIsControl
#define | oleIsAlpha uniIsAlpha
#define | oleIsAlphaNum uniIsAlphaNum
#define | oleIsDigit uniIsDigit
#define | ansiToBstrDup(s) bstrDup( Ansi2COle(s) )
#define | uniToBstrDup(s) bstrDup( Uni2COle(s) )
#define | strToBstrDup(s) bstrDup( Str2COle(s) )
#define | oleToBstrDup(s) bstrDup( s )
#define | bstrNew(s) oleToBstrDup( OLE(s) )
#define | bstrToAnsiDup oleToAnsiDup
#define | bstrToUniDup oleToUniDup
#define | bstrToStrDup oleToStrDup
#define | bstrToOleDup oleDup
#define | Bstr2Ansi Ole2Ansi
#define | Bstr2CAnsi Ole2CAnsi
#define | Bstr2Uni Ole2Uni
#define | Bstr2CUni Ole2CUni
#define | Bstr2Str Ole2Str
#define | Bstr2CStr Ole2CStr
#define | Bstr2Ole OleCopy
#define | ansiToBstrLen ansiToOleLen
#define | uniToBstrLen uniToOleLen
#define | strToBstrLen strToOleLen
#define | oleToBstrLen oleLen
#define | bstrToAnsiLen uniToAnsiLen
#define | bstrToUniLen bstrLen
#define | bstrToStrLen uniToAnsiLen
#define | bstrToOleLen bstrLen
#define | ansiToBstrCopy(d, s, l) bstrCopy(d,Ansi2COle(s),l)
#define | uniToBstrCopy(d, s, l) bstrCopy(d,Uni2COle(s),l)
#define | strToBstrCopy(d, s, l) bstrCopy(d,Str2COle(s),l)
#define | oleToBstrCopy(d, s, l) bstrCopy(d,s,l)
#define | bstrToAnsiCopy oleToAnsiCopy
#define | bstrToUniCopy oleToUniCopy
#define | bstrToStrCopy oleToStrCopy
#define | bstrToOleCopy oleCopy
#define | ansiToBstrCat(d, s, l) bstrCat(d,Ansi2COle(s),l)
#define | uniToBstrCat(d, s, l) bstrCat(d,Uni2COle(s),l)
#define | strToBstrCat(d, s, l) bstrCat(d,Str2COle(s),l)
#define | oleToBstrCat(d, s, l) bstrCat(d,s,l)
#define | bstrToAnsiCat oleToAnsiCat
#define | bstrToUniCat oleToUniCat
#define | bstrToStrCat oleToStrCat
#define | bstrToOleCat oleCat
#define | bstrClear bstrFree
#define | bstrCompare oleCompare
#define | bstrICompare oleICompare
#define | bstrCompareLen oleCompareLen
#define | bstrICompareLen oleICompareLen
#define | bstrToLower oleToLower
#define | bstrToUpper oleToUpper
#define | bstrFindSubStr oleFindSubStr
#define | bstrFindChar oleFindChar
#define | bstrFindCharRev oleFindCharRev
#define | bstrToInt oleToInt
## Typedefs
typedef unsigned | Nat
typedef unsigned short | UniChar
typedef char | AnsiChar
typedef UniChar | OLECHAR
typedef AnsiChar | Char
typedef OLECHAR | OleChar
typedef OleChar | BstrChar
typedef Char * | Str
typedef UniChar * | UniStr
typedef AnsiChar * | AnsiStr
typedef OleChar * | OleStr
typedef BSTR | Bstr
typedef const Char * | CStr
typedef const UniChar * | CUniStr
typedef const AnsiChar * | CAnsiStr
typedef const OleChar * | COleStr
typedef COleStr | CBstr
typedef COleStr | CBSTR
## Functions
int | ansiToUniLen (CAnsiStr s)
int | uniToAnsiLen (CUniStr s)
UniStr | ansiToUniCopy (UniStr dest, CAnsiStr src, int maxLen)
AnsiStr | uniToAnsiCopy (AnsiStr dest, CUniStr src, int maxLen)
UniStr | ansiToUniDup (CAnsiStr s)
AnsiStr | uniToAnsiDup (CUniStr s)
UniStr | ansiToUniCat (UniStr dest, CAnsiStr src, int maxLen)
AnsiStr | uniToAnsiCat (AnsiStr dest, CUniStr src, int maxLen)
UniStr | uniCopy (UniStr dest, CUniStr src, int maxLen)
AnsiStr | ansiCopy (AnsiStr dest, CAnsiStr src, int maxLen)
UniStr | uniCat (UniStr dest, CUniStr src, int maxLen)
AnsiStr | ansiCat (AnsiStr dest, CAnsiStr src, int maxLen)
bool | uniEmpty (CUniStr s)
int | uniLen (CUniStr s)
UniStr | uniDup (CUniStr s)
UniStr | uniToLower (UniStr s)
UniStr | uniToUpper (UniStr s)
int | uniToInt (CUniStr s)
void | uniClear (UniStr s)
int | uniCompare (CUniStr s, CUniStr t)
int | uniICompare (CUniStr s, CUniStr t)
int | uniCompareLen (CUniStr s, CUniStr t, Nat n)
int | uniICompareLen (CUniStr s, CUniStr t, Nat n)
UniStr | uniFindSubStr (CUniStr s, CUniStr sub)
UniStr | uniFindChar (CUniStr s, UniChar c)
UniStr | uniFindCharRev (CUniStr s, UniChar c)
bool | ansiEmpty (CAnsiStr s)
int | ansiLen (CAnsiStr s)
AnsiStr | ansiDup (CAnsiStr s)
AnsiStr | ansiToLower (AnsiStr s)
AnsiStr | ansiToUpper (AnsiStr s)
int | ansiToInt (CAnsiStr s)
void | ansiClear (AnsiStr s)
int | ansiCompare (CAnsiStr s, CAnsiStr t)
int | ansiICompare (CAnsiStr s, CAnsiStr t)
int | ansiCompareLen (CAnsiStr s, CAnsiStr t, Nat n)
int | ansiICompareLen (CAnsiStr s, CAnsiStr t, Nat n)
AnsiStr | ansiFindSubStr (CAnsiStr s, CAnsiStr sub)
AnsiStr | ansiFindChar (CAnsiStr s, AnsiChar c)
AnsiStr | ansiFindCharRev (CAnsiStr s, AnsiChar c)
CStr | Ansi2CStr (CAnsiStr a)
CAnsiStr | Str2CAnsi (CStr s)
COleStr | Uni2COle (CUniStr u)
CUniStr | Ole2CUni (COleStr o)
bool | bstrEmpty (CBSTR s)
int | bstrLen (CBSTR s)
BSTR | bstrDup (CBSTR s)
void | bstrFree (BSTR &)
BSTR | bstrCopy (BSTR &, COleStr, int maxLen)
BSTR | bstrCat (BSTR &, COleStr, int maxLen)
COleStr | Bstr2COle (BSTR s)

## Define Documentation

#define MAXSTR 255

| Definition at line 73 of file text.h.

#define MAXPATH 255

| Definition at line 74 of file text.h. Referenced by RegisterService().

#define MAXNAME 99

| Definition at line 75 of file text.h.

#define MAXGUID 99

| Definition at line 76 of file text.h.

#define MAXIID MAXGUID

| Definition at line 77 of file text.h.

#define MAXCLSID MAXGUID

| Definition at line 78 of file text.h.

#define STR2ANSI

| Definition at line 89 of file text.h.

#define OLE2UNI

| Definition at line 91 of file text.h.

#define BSTR2UNI

| Definition at line 96 of file text.h.

#define UNI | ( | s |  | ) | L##s

| Definition at line 115 of file text.h. Referenced by ansiToUniCopy(), uniCat(), uniClear(), and uniCopy().

#define ANSI | ( | s |  | ) | (s)

| Definition at line 116 of file text.h.

#define STR | ( | s |  | ) | ANSI(s)

| Definition at line 124 of file text.h. Referenced by RegisterServer(), and RegisterService().

#define OLE UNI

| Definition at line 131 of file text.h. Referenced by RegisterService().

#define ansiFree | ( | s |  | ) | FREE(s)

| Definition at line 152 of file text.h.

#define uniFree | ( | s |  | ) | FREE(s)

| Definition at line 153 of file text.h.

#define strFree | ( | s |  | ) | FREE(s)

| Definition at line 154 of file text.h.

#define oleFree | ( | s |  | ) | FREE(s)

| Definition at line 155 of file text.h.

#define uniCharToLower towlower

| Definition at line 240 of file text.h.

#define uniCharToUpper towupper

| Definition at line 241 of file text.h.

#define uniIsSpace iswspace

| Definition at line 242 of file text.h.

#define uniIsPrintable iswprint

| Definition at line 243 of file text.h.

#define uniIsControl iswcntrl

| Definition at line 244 of file text.h.

#define uniIsAlpha iswalpha

| Definition at line 245 of file text.h.

#define uniIsAlphaNum iswalnum

| Definition at line 246 of file text.h.

#define uniIsDigit iswdigit

| Definition at line 247 of file text.h.

#define ansiCharToLower tolower

| Definition at line 311 of file text.h.

#define ansiCharToUpper toupper

| Definition at line 312 of file text.h.

#define ansiIsSpace isspace

| Definition at line 314 of file text.h.

#define ansiIsPrintable isprint

| Definition at line 315 of file text.h.

#define ansiIsControl iscntrl

| Definition at line 316 of file text.h.

#define ansiIsAlpha isalpha

| Definition at line 317 of file text.h.

#define ansiIsAlphaNum isalnum

| Definition at line 318 of file text.h.

#define ansiIsDigit isdigit

| Definition at line 319 of file text.h.

#define USECONV int _convlen = 0; _convlen

| Definition at line 322 of file text.h. Referenced by RegisterServer(), and RegisterService().

#define Uni2Ansi | ( | u |  | ) |

| Value:
    (\
        (NULL==u) ? NULL : (\
            _convlen = uniToAnsiLen(u), \
                uniToAnsiCopy( (AnsiStr)_alloca((_convlen+1)*sizeof(AnsiChar)), u, _convlen )))
Definition at line 324 of file text.h.

#define Ansi2Uni | ( | a |  | ) |

| Value:
    (\
        (NULL==a) ? NULL : (\
            _convlen = ansiToUniLen(a), \
               ansiToUniCopy( (UniStr)_alloca((_convlen+1)*sizeof(UniChar)), a, _convlen )))
Definition at line 329 of file text.h.

#define AnsiCopy | ( | a |  | ) |

| Value:
    (\
        (NULL==a) ? NULL : (\
            _convlen = ansiLen(a), \
                ansiCopy( (AnsiStr)_alloca((_convlen+1)*sizeof(AnsiChar)), a, _convlen )))
Definition at line 334 of file text.h.

#define UniCopy | ( | u |  | ) |

| Value:
    (\
        (NULL==u) ? NULL : (\
           _convlen = uniLen(u), \
                uniCopy( (UniStr)_alloca((_convlen+1)*sizeof(UniChar)), u, _convlen )))
Definition at line 339 of file text.h.

#define Uni2CAnsi | ( | u |  | ) | ((CAnsiStr)Uni2Ansi(u))

| Definition at line 344 of file text.h.

#define Ansi2CUni | ( | a |  | ) | ((CUniStr)Ansi2Uni(a))

| Definition at line 345 of file text.h.

#define Ansi2Str AnsiCopy

| Definition at line 383 of file text.h.

#define Str2Ansi AnsiCopy

| Definition at line 384 of file text.h.

#define Uni2Str Uni2Ansi

| Definition at line 388 of file text.h.

#define Str2Uni Ansi2Uni

| Definition at line 389 of file text.h.

#define Uni2CStr Uni2CAnsi

| Definition at line 390 of file text.h.

#define Str2CUni Ansi2CUni

| Definition at line 391 of file text.h.

#define uniToStrLen uniToAnsiLen

| Definition at line 393 of file text.h.

#define uniToStrCopy uniToAnsiCopy

| Definition at line 394 of file text.h.

#define uniToStrDup uniToAnsiDup

| Definition at line 395 of file text.h.

#define uniToStrCat uniToAnsiCat

| Definition at line 396 of file text.h.

#define strToUniLen ansiToUniLen

| Definition at line 398 of file text.h.

#define strToUniCopy ansiToUniCopy

| Definition at line 399 of file text.h.

#define strToUniDup ansiToUniDup

| Definition at line 400 of file text.h.

#define strToUniCat ansiToUniCat

| Definition at line 401 of file text.h.

#define ansiToStrLen ansiLen

| Definition at line 403 of file text.h.

#define ansiToStrCopy ansiCopy

| Definition at line 404 of file text.h.

#define ansiToStrDup ansiDup

| Definition at line 405 of file text.h.

#define ansiToStrCat ansiCat

| Definition at line 406 of file text.h. Referenced by RegisterService().

#define strToAnsiLen ansiLen

| Definition at line 408 of file text.h.

#define strToAnsiCopy ansiCopy

| Definition at line 409 of file text.h.

#define strToAnsiDup ansiDup

| Definition at line 410 of file text.h.

#define strToAnsiCat ansiCat

| Definition at line 411 of file text.h.

#define Uni2Ole UniCopy

| Definition at line 452 of file text.h.

#define Ole2Uni UniCopy

| Definition at line 453 of file text.h.

#define Ansi2Ole Ansi2Uni

| Definition at line 457 of file text.h.

#define Ole2Ansi Uni2Ansi

| Definition at line 458 of file text.h.

#define Ansi2COle Ansi2CUni

| Definition at line 459 of file text.h.

#define Ole2CAnsi Uni2CAnsi

| Definition at line 460 of file text.h.

#define uniToOleLen uniLen

| Definition at line 462 of file text.h.

#define uniToOleCopy uniCopy

| Definition at line 463 of file text.h.

#define uniToOleDup uniDup

| Definition at line 464 of file text.h.

#define oleToUniLen uniLen

| Definition at line 466 of file text.h.

#define oleToUniCopy uniCopy

| Definition at line 467 of file text.h.

#define oleToUniDup uniDup

| Definition at line 468 of file text.h.

#define oleToUniCat uniCat

| Definition at line 469 of file text.h.

#define ansiToOleLen ansiToUniLen

| Definition at line 471 of file text.h.

#define ansiToOleCopy ansiToUniCopy

| Definition at line 472 of file text.h.

#define ansiToOleDup ansiToUniDup

| Definition at line 473 of file text.h.

#define ansiToOleCat ansiToUniCat

| Definition at line 474 of file text.h.

#define oleToAnsiLen uniToAnsiLen

| Definition at line 476 of file text.h.

#define oleToAnsiCopy uniToAnsiCopy

| Definition at line 477 of file text.h.

#define oleToAnsiDup uniToAnsiDup

| Definition at line 478 of file text.h.

#define oleToAnsiCat uniToAnsiCat

| Definition at line 479 of file text.h.

#define Ole2Str Uni2Ansi

| Definition at line 522 of file text.h.

#define Str2Ole Ansi2Uni

| Definition at line 523 of file text.h.

#define Ole2CStr Uni2CAnsi

| Definition at line 524 of file text.h. Referenced by RegisterServer(), and RegisterService().

#define Str2COle Ansi2CUni

| Definition at line 525 of file text.h.

#define oleToStrLen uniToAnsiLen

| Definition at line 527 of file text.h.

#define oleToStrCopy uniToAnsiCopy

| Definition at line 528 of file text.h.

#define oleToStrDup uniToAnsiDup

| Definition at line 529 of file text.h.

#define oleToStrCat uniToAnsiCat

| Definition at line 530 of file text.h.

#define strToOleLen ansiToUniLen

| Definition at line 532 of file text.h.

#define strToOleCopy ansiToUniCopy

| Definition at line 533 of file text.h.

#define strToOleDup ansiToUniDup

| Definition at line 534 of file text.h.

#define strToOleCat ansiToUniCat

| Definition at line 535 of file text.h.

#define strEmpty ansiEmpty

| Definition at line 571 of file text.h.

#define strLen ansiLen

| Definition at line 572 of file text.h. Referenced by RegCreateValue().

#define strCopy ansiCopy

| Definition at line 573 of file text.h. Referenced by GetRegistrationRoot(), and RegisterServer().

#define strCat ansiCat

| Definition at line 574 of file text.h. Referenced by RegisterServer(), and RegisterService().

#define strDup ansiDup

| Definition at line 575 of file text.h.

#define strClear ansiClear

| Definition at line 576 of file text.h.

#define strCompare ansiCompare

| Definition at line 577 of file text.h.

#define strICompare ansiICompare

| Definition at line 578 of file text.h.

#define strCompareLen ansiCompareLen

| Definition at line 579 of file text.h.

#define strICompareLen ansiICompareLen

| Definition at line 580 of file text.h.

#define strToLower ansiToLower

| Definition at line 581 of file text.h.

#define strToUpper ansiToUpper

| Definition at line 582 of file text.h.

#define strCharToLower ansiCharToLower

| Definition at line 583 of file text.h.

#define strCharToUpper ansiCharToUpper

| Definition at line 584 of file text.h.

#define strFindSubStr ansiFindSubStr

| Definition at line 585 of file text.h.

#define strFindChar ansiFindChar

| Definition at line 586 of file text.h.

#define strFindCharRev ansiFindCharRev

| Definition at line 587 of file text.h.

#define strToInt ansiToInt

| Definition at line 588 of file text.h.

#define strIsSpace ansiIsSpace

| Definition at line 589 of file text.h.

#define strIsPrintable ansiIsPrintable

| Definition at line 590 of file text.h.

#define strIsControl ansiIsControl

| Definition at line 591 of file text.h.

#define strIsAlpha ansiIsAlpha

| Definition at line 592 of file text.h.

#define strIsAlphaNum ansiIsAlphaNum

| Definition at line 593 of file text.h.

#define strIsDigit ansiIsDigit

| Definition at line 594 of file text.h.

#define oleEmpty uniEmpty

| Definition at line 630 of file text.h.

#define oleLen uniLen

| Definition at line 631 of file text.h. Referenced by bstrCat(), and bstrCopy().

#define oleCopy uniCopy

| Definition at line 632 of file text.h. Referenced by bstrCat().

#define oleCat uniCat

| Definition at line 633 of file text.h. Referenced by bstrCat().

#define oleDup uniDup

| Definition at line 634 of file text.h.

#define oleClear uniClear

| Definition at line 635 of file text.h.

#define oleCompare uniCompare

| Definition at line 636 of file text.h.

#define oleICompare uniICompare

| Definition at line 637 of file text.h.

#define oleCompareLen uniCompareLen

| Definition at line 638 of file text.h.

#define oleICompareLen uniICompareLen

| Definition at line 639 of file text.h.

#define oleToLower uniToLower

| Definition at line 640 of file text.h.

#define oleToUpper uniToUpper

| Definition at line 641 of file text.h.

#define oleCharToLower uniCharToLower

| Definition at line 642 of file text.h.

#define oleCharToUpper uniCharToUpper

| Definition at line 643 of file text.h.

#define oleFindSubStr uniFindSubStr

| Definition at line 644 of file text.h.

#define oleFindChar uniFindChar

| Definition at line 645 of file text.h.

#define oleFindCharRev uniFindCharRev

| Definition at line 646 of file text.h.

#define oleToInt uniToInt

| Definition at line 647 of file text.h.

#define oleIsSpace uniIsSpace

| Definition at line 648 of file text.h.

#define oleIsPrintable uniIsPrintable

| Definition at line 649 of file text.h.

#define oleIsControl uniIsControl

| Definition at line 650 of file text.h.

#define oleIsAlpha uniIsAlpha

| Definition at line 651 of file text.h.

#define oleIsAlphaNum uniIsAlphaNum

| Definition at line 652 of file text.h.

#define oleIsDigit uniIsDigit

| Definition at line 653 of file text.h.

#define ansiToBstrDup | ( | s |  | ) | bstrDup( Ansi2COle(s) )

| Definition at line 670 of file text.h.

#define uniToBstrDup | ( | s |  | ) | bstrDup( Uni2COle(s) )

| Definition at line 671 of file text.h.

#define strToBstrDup | ( | s |  | ) | bstrDup( Str2COle(s) )

| Definition at line 672 of file text.h.

#define oleToBstrDup | ( | s |  | ) | bstrDup( s )

| Definition at line 673 of file text.h.

#define bstrNew | ( | s |  | ) | oleToBstrDup( OLE(s) )

| Definition at line 675 of file text.h.

#define bstrToAnsiDup oleToAnsiDup

| Definition at line 677 of file text.h.

#define bstrToUniDup oleToUniDup

| Definition at line 678 of file text.h.

#define bstrToStrDup oleToStrDup

| Definition at line 679 of file text.h.

#define bstrToOleDup oleDup

| Definition at line 680 of file text.h.

#define Bstr2Ansi Ole2Ansi

| Definition at line 682 of file text.h.

#define Bstr2CAnsi Ole2CAnsi

| Definition at line 683 of file text.h.

#define Bstr2Uni Ole2Uni

| Definition at line 684 of file text.h.

#define Bstr2CUni Ole2CUni

| Definition at line 685 of file text.h.

#define Bstr2Str Ole2Str

| Definition at line 686 of file text.h.

#define Bstr2CStr Ole2CStr

| Definition at line 687 of file text.h.

#define Bstr2Ole OleCopy

| Definition at line 688 of file text.h.

#define ansiToBstrLen ansiToOleLen

| Definition at line 692 of file text.h.

#define uniToBstrLen uniToOleLen

| Definition at line 693 of file text.h.

#define strToBstrLen strToOleLen

| Definition at line 694 of file text.h.

#define oleToBstrLen oleLen

| Definition at line 695 of file text.h.

#define bstrToAnsiLen uniToAnsiLen

| Definition at line 706 of file text.h.

#define bstrToUniLen bstrLen

| Definition at line 707 of file text.h.

#define bstrToStrLen uniToAnsiLen

| Definition at line 708 of file text.h.

#define bstrToOleLen bstrLen

| Definition at line 711 of file text.h.

#define ansiToBstrCopy | ( | d,
|  | s,
|  | l |  | ) | bstrCopy(d,Ansi2COle(s),l)

| Definition at line 714 of file text.h.

#define uniToBstrCopy | ( | d,
|  | s,
|  | l |  | ) | bstrCopy(d,Uni2COle(s),l)

| Definition at line 715 of file text.h.

#define strToBstrCopy | ( | d,
|  | s,
|  | l |  | ) | bstrCopy(d,Str2COle(s),l)

| Definition at line 716 of file text.h.

#define oleToBstrCopy | ( | d,
|  | s,
|  | l |  | ) | bstrCopy(d,s,l)

| Definition at line 717 of file text.h.

#define bstrToAnsiCopy oleToAnsiCopy

| Definition at line 719 of file text.h.

#define bstrToUniCopy oleToUniCopy

| Definition at line 720 of file text.h.

#define bstrToStrCopy oleToStrCopy

| Definition at line 721 of file text.h.

#define bstrToOleCopy oleCopy

| Definition at line 722 of file text.h.

#define ansiToBstrCat | ( | d,
|  | s,
|  | l |  | ) | bstrCat(d,Ansi2COle(s),l)

| Definition at line 725 of file text.h.

#define uniToBstrCat | ( | d,
|  | s,
|  | l |  | ) | bstrCat(d,Uni2COle(s),l)

| Definition at line 726 of file text.h.

#define strToBstrCat | ( | d,
|  | s,
|  | l |  | ) | bstrCat(d,Str2COle(s),l)

| Definition at line 727 of file text.h.

#define oleToBstrCat | ( | d,
|  | s,
|  | l |  | ) | bstrCat(d,s,l)

| Definition at line 728 of file text.h.

#define bstrToAnsiCat oleToAnsiCat

| Definition at line 730 of file text.h.

#define bstrToUniCat oleToUniCat

| Definition at line 731 of file text.h.

#define bstrToStrCat oleToStrCat

| Definition at line 732 of file text.h.

#define bstrToOleCat oleCat

| Definition at line 733 of file text.h.

#define bstrClear bstrFree

| Definition at line 735 of file text.h.

#define bstrCompare oleCompare

| Definition at line 736 of file text.h.

#define bstrICompare oleICompare

| Definition at line 737 of file text.h.

#define bstrCompareLen oleCompareLen

| Definition at line 738 of file text.h.

#define bstrICompareLen oleICompareLen

| Definition at line 739 of file text.h.

#define bstrToLower oleToLower

| Definition at line 740 of file text.h.

#define bstrToUpper oleToUpper

| Definition at line 741 of file text.h.

#define bstrFindSubStr oleFindSubStr

| Definition at line 742 of file text.h.

#define bstrFindChar oleFindChar

| Definition at line 743 of file text.h.

#define bstrFindCharRev oleFindCharRev

| Definition at line 744 of file text.h.

#define bstrToInt oleToInt

| Definition at line 745 of file text.h.

## Typedef Documentation

typedef unsigned Nat

| Definition at line 81 of file text.h.

typedef unsigned short UniChar

| Definition at line 103 of file text.h. Referenced by ansiToUniDup().

typedef char AnsiChar

| Definition at line 104 of file text.h. Referenced by uniToAnsiDup().

typedef UniChar OLECHAR

| Definition at line 110 of file text.h. Referenced by StdService::addScope(), BstrNew(), StdService::GetColorInfo(), and StdService::GetIDsOfNames().

typedef AnsiChar Char

| Definition at line 123 of file text.h. Referenced by RegCreateValue(), RegDeleteRecursive(), RegisterServer(), and RegisterService().

typedef OLECHAR OleChar

| Definition at line 134 of file text.h. Referenced by RegisterServer(), and RegisterService().

typedef OleChar BstrChar

| Definition at line 135 of file text.h.

typedef Char* Str

| Definition at line 138 of file text.h. Referenced by GetRegistrationRoot(), and RegDeleteRecursive().

typedef UniChar* UniStr

| Definition at line 139 of file text.h. Referenced by ansiToUniCat(), ansiToUniCopy(), ansiToUniDup(), uniCat(), uniCopy(), uniDup(), uniFindChar(), uniFindCharRev(), uniFindSubStr(), uniToLower(), and uniToUpper().

typedef AnsiChar* AnsiStr

| Definition at line 140 of file text.h. Referenced by ansiCat(), ansiCopy(), ansiDup(), ansiFindChar(), ansiFindCharRev(), ansiFindSubStr(), ansiToLower(), ansiToUpper(), uniToAnsiCat(), uniToAnsiCopy(), and uniToAnsiDup().

typedef OleChar* OleStr

| Definition at line 141 of file text.h.

typedef BSTR Bstr

| Definition at line 142 of file text.h.

typedef const Char* CStr

| Definition at line 144 of file text.h. Referenced by Ansi2CStr(), RegCreateDwordValue(), RegCreateValue(), RegDeleteRecursive(), and RegisterService().

typedef const UniChar* CUniStr

| Definition at line 145 of file text.h. Referenced by Ole2CUni(), uniCat(), uniCopy(), uniToAnsiCat(), uniToAnsiCopy(), uniToAnsiDup(), and uniToAnsiLen().

typedef const AnsiChar* CAnsiStr

| Definition at line 146 of file text.h. Referenced by ansiCat(), ansiCopy(), ansiToUniCat(), ansiToUniCopy(), ansiToUniDup(), ansiToUniLen(), and Str2CAnsi().

typedef const OleChar* COleStr

| Definition at line 147 of file text.h. Referenced by Bstr2COle(), bstrCat(), bstrCopy(), and Uni2COle().

typedef COleStr CBstr

| Definition at line 148 of file text.h.

typedef COleStr CBSTR

| Definition at line 149 of file text.h.

## Function Documentation

int ansiToUniLen | ( | CAnsiStr | s | ) |

| Definition at line 68 of file text.cpp. References CAnsiStr. Referenced by ansiToUniDup().

int uniToAnsiLen | ( | CUniStr | s | ) |

| Definition at line 75 of file text.cpp. References CUniStr. Referenced by uniToAnsiDup().

UniStr ansiToUniCopy | ( | UniStr | dest,
|  | CAnsiStr | src,
|  | int | maxLen
| ) |

| Definition at line 82 of file text.cpp. References CAnsiStr, UNI, and UniStr. Referenced by ansiToUniCat(), and ansiToUniDup().

AnsiStr uniToAnsiCopy | ( | AnsiStr | dest,
|  | CUniStr | src,
|  | int | maxLen
| ) |

| Definition at line 93 of file text.cpp. References AnsiStr, and CUniStr. Referenced by uniToAnsiCat(), and uniToAnsiDup().

UniStr ansiToUniDup | ( | CAnsiStr | s | ) |

| Definition at line 125 of file text.cpp. References ansiToUniCopy(), ansiToUniLen(), CAnsiStr, UniChar, and UniStr.

Here is the call graph for this function:

AnsiStr uniToAnsiDup | ( | CUniStr | s | ) |

| Definition at line 135 of file text.cpp. References AnsiChar, AnsiStr, CUniStr, uniToAnsiCopy(), and uniToAnsiLen().

Here is the call graph for this function:

UniStr ansiToUniCat | ( | UniStr | dest,
|  | CAnsiStr | src,
|  | int | maxLen
| ) |

| Definition at line 104 of file text.cpp. References ansiToUniCopy(), CAnsiStr, uniLen(), and UniStr.

Here is the call graph for this function:

AnsiStr uniToAnsiCat | ( | AnsiStr | dest,
|  | CUniStr | src,
|  | int | maxLen
| ) |

| Definition at line 114 of file text.cpp. References ansiLen(), AnsiStr, CUniStr, and uniToAnsiCopy().

Here is the call graph for this function:

UniStr uniCopy | ( | UniStr | dest,
|  | CUniStr | src,
|  | int | maxLen
| ) |

| Definition at line 15 of file text.cpp. References CUniStr, UNI, uniLen(), and UniStr.

Here is the call graph for this function:

AnsiStr ansiCopy | ( | AnsiStr | dest,
|  | CAnsiStr | src,
|  | int | maxLen
| ) |

| Definition at line 27 of file text.cpp. References ansiLen(), AnsiStr, and CAnsiStr.

Here is the call graph for this function:

UniStr uniCat | ( | UniStr | dest,
|  | CUniStr | src,
|  | int | maxLen
| ) |

| Definition at line 39 of file text.cpp. References CUniStr, UNI, uniLen(), and UniStr.

Here is the call graph for this function:

AnsiStr ansiCat | ( | AnsiStr | dest,
|  | CAnsiStr | src,
|  | int | maxLen
| ) |

| Definition at line 53 of file text.cpp. References ansiLen(), AnsiStr, and CAnsiStr.

Here is the call graph for this function:

bool uniEmpty | ( | CUniStr | s | ) | `[inline]`

| Definition at line 178 of file text.h.

int uniLen | ( | CUniStr | s | ) | `[inline]`

| Definition at line 179 of file text.h. Referenced by ansiToUniCat(), uniCat(), and uniCopy().

UniStr uniDup | ( | CUniStr | s | ) | `[inline]`

| Definition at line 180 of file text.h. References UniStr.

UniStr uniToLower | ( | UniStr | s | ) | `[inline]`

| Definition at line 182 of file text.h. References UniStr.

UniStr uniToUpper | ( | UniStr | s | ) | `[inline]`

| Definition at line 183 of file text.h. References UniStr.

int uniToInt | ( | CUniStr | s | ) | `[inline]`

| Definition at line 184 of file text.h.

void uniClear | ( | UniStr | s | ) | `[inline]`

| Definition at line 185 of file text.h. References UNI.

int uniCompare | ( | CUniStr | s,
|  | CUniStr | t
| ) | `[inline]`

| Definition at line 187 of file text.h.

int uniICompare | ( | CUniStr | s,
|  | CUniStr | t
| ) | `[inline]`

| Definition at line 195 of file text.h.

int uniCompareLen | ( | CUniStr | s,
|  | CUniStr | t,
|  | Nat | n
| ) | `[inline]`

| Definition at line 203 of file text.h.

int uniICompareLen | ( | CUniStr | s,
|  | CUniStr | t,
|  | Nat | n
| ) | `[inline]`

| Definition at line 212 of file text.h.

UniStr uniFindSubStr | ( | CUniStr | s,
|  | CUniStr | sub
| ) | `[inline]`

| Definition at line 221 of file text.h. References UniStr.

UniStr uniFindChar | ( | CUniStr | s,
|  | UniChar | c
| ) | `[inline]`

| Definition at line 228 of file text.h. References UniStr.

UniStr uniFindCharRev | ( | CUniStr | s,
|  | UniChar | c
| ) | `[inline]`

| Definition at line 234 of file text.h. References UniStr.

bool ansiEmpty | ( | CAnsiStr | s | ) | `[inline]`

| Definition at line 249 of file text.h.

int ansiLen | ( | CAnsiStr | s | ) | `[inline]`

| Definition at line 250 of file text.h. Referenced by ansiCat(), ansiCopy(), and uniToAnsiCat().

AnsiStr ansiDup | ( | CAnsiStr | s | ) | `[inline]`

| Definition at line 251 of file text.h. References AnsiStr.

AnsiStr ansiToLower | ( | AnsiStr | s | ) | `[inline]`

| Definition at line 253 of file text.h. References AnsiStr.

AnsiStr ansiToUpper | ( | AnsiStr | s | ) | `[inline]`

| Definition at line 254 of file text.h. References AnsiStr.

int ansiToInt | ( | CAnsiStr | s | ) | `[inline]`

| Definition at line 255 of file text.h.

void ansiClear | ( | AnsiStr | s | ) | `[inline]`

| Definition at line 256 of file text.h.

int ansiCompare | ( | CAnsiStr | s,
|  | CAnsiStr | t
| ) | `[inline]`

| Definition at line 258 of file text.h.

int ansiICompare | ( | CAnsiStr | s,
|  | CAnsiStr | t
| ) | `[inline]`

| Definition at line 266 of file text.h.

int ansiCompareLen | ( | CAnsiStr | s,
|  | CAnsiStr | t,
|  | Nat | n
| ) | `[inline]`

| Definition at line 274 of file text.h.

int ansiICompareLen | ( | CAnsiStr | s,
|  | CAnsiStr | t,
|  | Nat | n
| ) | `[inline]`

| Definition at line 283 of file text.h.

AnsiStr ansiFindSubStr | ( | CAnsiStr | s,
|  | CAnsiStr | sub
| ) | `[inline]`

| Definition at line 292 of file text.h. References AnsiStr.

AnsiStr ansiFindChar | ( | CAnsiStr | s,
|  | AnsiChar | c
| ) | `[inline]`

| Definition at line 299 of file text.h. References AnsiStr.

AnsiStr ansiFindCharRev | ( | CAnsiStr | s,
|  | AnsiChar | c
| ) | `[inline]`

| Definition at line 305 of file text.h. References AnsiStr.

CStr Ansi2CStr | ( | CAnsiStr | a | ) | `[inline]`

| Definition at line 385 of file text.h. References CStr. Referenced by RegisterServer(), and RegisterService().

CAnsiStr Str2CAnsi | ( | CStr | s | ) | `[inline]`

| Definition at line 386 of file text.h. References CAnsiStr.

COleStr Uni2COle | ( | CUniStr | u | ) | `[inline]`

| Definition at line 454 of file text.h. References COleStr.

CUniStr Ole2CUni | ( | COleStr | o | ) | `[inline]`

| Definition at line 455 of file text.h. References CUniStr.

bool bstrEmpty | ( | CBSTR | s | ) | `[inline]`

| Definition at line 660 of file text.h.

int bstrLen | ( | CBSTR | s | ) | `[inline]`

| Definition at line 661 of file text.h. Referenced by bstrCat().

BSTR bstrDup | ( | CBSTR | s | ) | `[inline]`

| Definition at line 662 of file text.h.

void bstrFree | ( | BSTR & |  | ) |

| Definition at line 147 of file text.cpp. Referenced by StdService::addScope(), StdService::addScopeText(), bstrCat(), and StdService::GetColorInfo().

BSTR bstrCopy | ( | BSTR & | ,
|  | COleStr | ,
|  | int | maxLen
| ) |

| Definition at line 153 of file text.cpp. References COleStr, and oleLen.

BSTR bstrCat | ( | BSTR & | ,
|  | COleStr | ,
|  | int | maxLen
| ) |

| Definition at line 162 of file text.cpp. References bstrFree(), bstrLen(), COleStr, oleCat, oleCopy, and oleLen.

Here is the call graph for this function:

COleStr Bstr2COle | ( | BSTR | s | ) | `[inline]`

| Definition at line 689 of file text.h. References COleStr.