nux-1.16.0
nux::TCharToUpperCase Class Reference

List of all members.

Public Member Functions

 TCharToUpperCase (const TCHAR *Source)
 operator const TCHAR * () const
 operator TCHAR * () const

Detailed Description

Definition at line 33 of file TextString.h.


Constructor & Destructor Documentation

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;
      }
    }

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends