#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) |
|
|
|
|
|
Definition at line 74 of file text.h. Referenced by RegisterService(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 115 of file text.h. Referenced by ansiToUniCopy(), uniCat(), uniClear(), and uniCopy(). |
|
|
|
|
|
Definition at line 124 of file text.h. Referenced by RegisterServer(), and RegisterService(). |
|
|
Definition at line 131 of file text.h. Referenced by RegisterService(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 322 of file text.h. Referenced by RegisterServer(), and RegisterService(). |
|
|
Value: (\
(NULL==u) ? NULL : (\
_convlen = uniToAnsiLen(u), \
uniToAnsiCopy( (AnsiStr)_alloca((_convlen+1)*sizeof(AnsiChar)), u, _convlen )))
|
|
|
Value: (\
(NULL==a) ? NULL : (\
_convlen = ansiToUniLen(a), \
ansiToUniCopy( (UniStr)_alloca((_convlen+1)*sizeof(UniChar)), a, _convlen )))
|
|
|
Value: |
|
|
Value: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 406 of file text.h. Referenced by RegisterService(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 524 of file text.h. Referenced by RegisterServer(), and RegisterService(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 572 of file text.h. Referenced by RegCreateValue(). |
|
|
Definition at line 573 of file text.h. Referenced by GetRegistrationRoot(), and RegisterServer(). |
|
|
Definition at line 574 of file text.h. Referenced by RegisterServer(), and RegisterService(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 631 of file text.h. Referenced by bstrCat(), and bstrCopy(). |
|
|
Definition at line 632 of file text.h. Referenced by bstrCat(). |
|
|
Definition at line 633 of file text.h. Referenced by bstrCat(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 103 of file text.h. Referenced by ansiToUniDup(). |
|
|
Definition at line 104 of file text.h. Referenced by uniToAnsiDup(). |
|
|
Definition at line 110 of file text.h. Referenced by StdService::addScope(), BstrNew(), StdService::GetColorInfo(), and StdService::GetIDsOfNames(). |
|
|
Definition at line 123 of file text.h. Referenced by RegCreateValue(), RegDeleteRecursive(), RegisterServer(), and RegisterService(). |
|
|
Definition at line 134 of file text.h. Referenced by RegisterServer(), and RegisterService(). |
|
|
|
|
|
Definition at line 138 of file text.h. Referenced by GetRegistrationRoot(), and RegDeleteRecursive(). |
|
|
Definition at line 139 of file text.h. Referenced by ansiToUniCat(), ansiToUniCopy(), ansiToUniDup(), uniCat(), uniCopy(), uniDup(), uniFindChar(), uniFindCharRev(), uniFindSubStr(), uniToLower(), and uniToUpper(). |
|
|
Definition at line 140 of file text.h. Referenced by ansiCat(), ansiCopy(), ansiDup(), ansiFindChar(), ansiFindCharRev(), ansiFindSubStr(), ansiToLower(), ansiToUpper(), uniToAnsiCat(), uniToAnsiCopy(), and uniToAnsiDup(). |
|
|
|
|
|
|
|
|
Definition at line 144 of file text.h. Referenced by Ansi2CStr(), RegCreateDwordValue(), RegCreateValue(), RegDeleteRecursive(), and RegisterService(). |
|
|
Definition at line 145 of file text.h. Referenced by Ole2CUni(), uniCat(), uniCopy(), uniToAnsiCat(), uniToAnsiCopy(), uniToAnsiDup(), and uniToAnsiLen(). |
|
|
Definition at line 146 of file text.h. Referenced by ansiCat(), ansiCopy(), ansiToUniCat(), ansiToUniCopy(), ansiToUniDup(), ansiToUniLen(), and Str2CAnsi(). |
|
|
Definition at line 147 of file text.h. Referenced by Bstr2COle(), bstrCat(), bstrCopy(), and Uni2COle(). |
|
|
|
|
|
|
|
|
Definition at line 68 of file text.cpp. References CAnsiStr. Referenced by ansiToUniDup(). |
|
|
Definition at line 75 of file text.cpp. References CUniStr. Referenced by uniToAnsiDup(). |
|
||||||||||||||||
|
Definition at line 82 of file text.cpp. References CAnsiStr, UNI, and UniStr. Referenced by ansiToUniCat(), and ansiToUniDup(). |
|
||||||||||||||||
|
Definition at line 93 of file text.cpp. References AnsiStr, and CUniStr. Referenced by uniToAnsiCat(), and uniToAnsiDup(). |
|
|
Definition at line 125 of file text.cpp. References ansiToUniCopy(), ansiToUniLen(), CAnsiStr, UniChar, and UniStr. |
Here is the call graph for this function:

|
|
Definition at line 135 of file text.cpp. References AnsiChar, AnsiStr, CUniStr, uniToAnsiCopy(), and uniToAnsiLen(). |
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 104 of file text.cpp. References ansiToUniCopy(), CAnsiStr, uniLen(), and UniStr. |
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 114 of file text.cpp. References ansiLen(), AnsiStr, CUniStr, and uniToAnsiCopy(). |
Here is the call graph for this function:

|
||||||||||||||||
|
|
Here is the call graph for this function:

|
||||||||||||||||
|
|
Here is the call graph for this function:

|
||||||||||||||||
|
|
Here is the call graph for this function:

|
||||||||||||||||
|
|
Here is the call graph for this function:

|
|
|
|
|
Definition at line 179 of file text.h. Referenced by ansiToUniCat(), uniCat(), and uniCopy(). |
|
|
Definition at line 180 of file text.h. References UniStr. |
|
|
Definition at line 182 of file text.h. References UniStr. |
|
|
Definition at line 183 of file text.h. References UniStr. |
|
|
|
|
|
Definition at line 185 of file text.h. References UNI. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Definition at line 221 of file text.h. References UniStr. |
|
||||||||||||
|
Definition at line 228 of file text.h. References UniStr. |
|
||||||||||||
|
Definition at line 234 of file text.h. References UniStr. |
|
|
|
|
|
Definition at line 250 of file text.h. Referenced by ansiCat(), ansiCopy(), and uniToAnsiCat(). |
|
|
Definition at line 251 of file text.h. References AnsiStr. |
|
|
Definition at line 253 of file text.h. References AnsiStr. |
|
|
Definition at line 254 of file text.h. References AnsiStr. |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Definition at line 292 of file text.h. References AnsiStr. |
|
||||||||||||
|
Definition at line 299 of file text.h. References AnsiStr. |
|
||||||||||||
|
Definition at line 305 of file text.h. References AnsiStr. |
|
|
Definition at line 385 of file text.h. References CStr. Referenced by RegisterServer(), and RegisterService(). |
|
|
Definition at line 386 of file text.h. References CAnsiStr. |
|
|
Definition at line 454 of file text.h. References COleStr. |
|
|
Definition at line 455 of file text.h. References CUniStr. |
|
|
|
|
|
Definition at line 661 of file text.h. Referenced by bstrCat(). |
|
|
|
|
|
Definition at line 147 of file text.cpp. Referenced by StdService::addScope(), StdService::addScopeText(), bstrCat(), and StdService::GetColorInfo(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 162 of file text.cpp. References bstrFree(), bstrLen(), COleStr, oleCat, oleCopy, and oleLen. |
Here is the call graph for this function:

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