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