nux-1.16.0
nux::TCharToLowerCase Class Reference

List of all members.

Public Member Functions

 TCharToLowerCase (const TCHAR *Source)
 operator const TCHAR * () const
 operator TCHAR * () const

Detailed Description

Definition at line 81 of file TextString.h.


Constructor & Destructor Documentation

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

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