|
nux-1.14.0
|
Public Member Functions | |
| TCharToLowerCase (const TCHAR *Source) | |
| operator const TCHAR * () const | |
| operator TCHAR * () const | |
Definition at line 81 of file TextString.h.
| nux::TCharToLowerCase::TCharToLowerCase | ( | const TCHAR * | Source | ) | [inline, explicit] |
Converts the data by using the Convert() method on the base class.
Definition at line 90 of file TextString.h.
{
if (Source != NULL)
{
LowerCaseString = _tcsdup (Source); // Duplicate string. Allocated with malloc.
t_size i = 0;
while (LowerCaseString[i])
{
LowerCaseString[i] = _totlower (LowerCaseString[i]); // Conversion is done in place.
++i;
}
}
else
{
LowerCaseString = NULL;
}
}