#include <ASCStringHelpers.h>
Public Types | |
| typedef ASCCharTString::value_type | charT |
| typedef ASCAdaptatorString::value_type | NoncharT |
Static Public Member Functions | |
| static size_t | _Strlen (const charT *pS) |
| static charT * | _Strcpy (charT *pDest, const charT *pSrc) |
| static charT * | _Strlwr (charT *pS) |
| static charT * | _Strupr (charT *pS) |
| static int | _Stricmp (const charT *pS1, const charT *pS2) |
| static int | _Vsnprintf (charT *buffer, size_t count, const charT *format, std::va_list argptr) |
| static int | _Printf (const charT *format,...) |
| static size_t | _ConvertToCharT (charT *pDest, const NoncharT *pSrc, size_t count) |
Definition at line 144 of file ASCStringHelpers.h.
| typedef ASCCharTString::value_type ASCStringHelpers::charT |
charT is an alias to ASCCharTString::value_type, the character type used to represent strings internally.
Definition at line 157 of file ASCStringHelpers.h.
| typedef ASCAdaptatorString::value_type ASCStringHelpers::NoncharT |
NoncharT is an alias to ASCAdaptatorString::value_type, the character type used to represent complementary strings internally.
Definition at line 170 of file ASCStringHelpers.h.
| size_t ASCStringHelpers::_Strlen | ( | const charT * | pS | ) | [inline, static] |
Get the length of a string.
| pS | a pointer to a NULL-terminated string. |
Definition at line 204 of file ASCStringHelpers.h.
Referenced by _Stricmp().
| ASCStringHelpers::charT * ASCStringHelpers::_Strcpy | ( | charT * | pDest, | |
| const charT * | pSrc | |||
| ) | [inline, static] |
Copy a string
| pDest | a pointer to a NULL-terminated string which will receive a copy of pSrc. | |
| pSrc | a pointer to a NULL-terminated string which will be copied. |
Definition at line 229 of file ASCStringHelpers.h.
Referenced by _Stricmp(), ASCString::toLower(), and ASCString::toUpper().
| ASCStringHelpers::charT * ASCStringHelpers::_Strlwr | ( | charT * | pS | ) | [inline, static] |
Convert to lowercase.
| pS | a pointer to a NULL-terminated string. |
Definition at line 253 of file ASCStringHelpers.h.
Referenced by _Stricmp(), and ASCString::toLower().
| ASCStringHelpers::charT * ASCStringHelpers::_Strupr | ( | charT * | pS | ) | [inline, static] |
Convert to uppercase.
| pS | a pointer to a NULL-terminated string. |
Definition at line 297 of file ASCStringHelpers.h.
References strupr().
Referenced by ASCString::toUpper().
Perform a lowercase comparison of strings.
| pS1 | a pointer to a NULL-terminated string. | |
| pS2 | a pointer to a NULL-terminated string. |
Definition at line 348 of file ASCStringHelpers.h.
References _Strcpy(), _Strlen(), _Strlwr(), and stricmp.
Referenced by ASCString::compare_ci().
| int ASCStringHelpers::_Printf | ( | const charT * | format, | |
| ... | ||||
| ) | [inline, static] |
Print formated string to standard output.
| format | the format string. | |
| ... | optional arguments. |
Definition at line 435 of file ASCStringHelpers.h.
Referenced by ASCString::printf().
| size_t ASCStringHelpers::_ConvertToCharT | ( | charT * | pDest, | |
| const NoncharT * | pSrc, | |||
| size_t | count | |||
| ) | [inline, static] |
Convert a non-native string to a native one.
| pDest | a pointer to a NULL-terminated string which will receive a converted pSrc. | |
| pSrc | a pointer to a NULL-terminated string which will be converted. | |
| count | the size of the destination buffer |
Definition at line 470 of file ASCStringHelpers.h.
Referenced by ASCString::ASCString().
1.5.1