Lines Matching refs:CFX_WideString
12 class CFX_WideString;
185 static CFX_ByteString FromUnicode(const CFX_WideString& str);
326 CFX_WideString UTF8Decode() const;
328 void ConvertFrom(const CFX_WideString& str, CFX_CharMap* pCharMap = NULL);
504 CFX_WideStringC(const CFX_WideString& src);
520 CFX_WideStringC& operator = (const CFX_WideString& src);
611 class CFX_WideString : public CFX_Object
615 CFX_WideString()
620 CFX_WideString(const CFX_WideString& str);
622 CFX_WideString(FX_LPCWSTR ptr, FX_STRSIZE len = -1)
627 CFX_WideString(FX_WCHAR ch);
629 CFX_WideString(const CFX_WideStringC& str);
631 CFX_WideString(const CFX_WideStringC& str1, const CFX_WideStringC& str2);
633 ~CFX_WideString();
635 static CFX_WideString FromLocal(const char* str, FX_STRSIZE len = -1);
637 static CFX_WideString FromUTF8(const char* str, FX_STRSIZE len = -1);
639 static CFX_WideString FromUTF16LE(const unsigned short* str, FX_STRSIZE len = -1);
659 const CFX_WideString& operator = (FX_LPCWSTR str);
661 const CFX_WideString& operator =(const CFX_WideString& stringSrc);
663 const CFX_WideString& operator =(const CFX_WideStringC& stringSrc);
665 const CFX_WideString& operator += (FX_LPCWSTR str);
667 const CFX_WideString& operator += (FX_WCHAR ch);
669 const CFX_WideString& operator += (const CFX_WideString& str);
671 const CFX_WideString& operator += (const CFX_WideStringC& str);
687 int Compare(const CFX_WideString& str) const;
693 CFX_WideString Mid(FX_STRSIZE first) const;
695 CFX_WideString Mid(FX_STRSIZE first, FX_STRSIZE count) const;
697 CFX_WideString Left(FX_STRSIZE count) const;
699 CFX_WideString Right(FX_STRSIZE count) const;
759 void AllocCopy(CFX_WideString& dest, FX_STRSIZE nCopyLen, FX_STRSIZE nCopyIndex, FX_STRSIZE nExtraLen) const;
761 inline CFX_WideStringC::CFX_WideStringC(const CFX_WideString& src)
766 inline CFX_WideStringC& CFX_WideStringC::operator = (const CFX_WideString& src)
773 inline CFX_WideString operator + (const CFX_WideStringC& str1, const CFX_WideStringC& str2)
775 return CFX_WideString(str1, str2);
777 inline CFX_WideString operator + (const CFX_WideStringC& str1, FX_LPCWSTR str2)
779 return CFX_WideString(str1, str2);
781 inline CFX_WideString operator + (FX_LPCWSTR str1, const CFX_WideStringC& str2)
783 return CFX_WideString(str1, str2);
785 inline CFX_WideString operator + (const CFX_WideStringC& str1, FX_WCHAR ch)
787 return CFX_WideString(str1, CFX_WideStringC(ch));
789 inline CFX_WideString operator + (FX_WCHAR ch, const CFX_WideStringC& str2)
791 return CFX_WideString(ch, str2);
793 inline CFX_WideString operator + (const CFX_WideString& str1, const CFX_WideString& str2)
795 return CFX_WideString(str1, str2);
797 inline CFX_WideString operator + (const CFX_WideString& str1, FX_WCHAR ch)
799 return CFX_WideString(str1, CFX_WideStringC(ch));
801 inline CFX_WideString operator + (FX_WCHAR ch, const CFX_WideString& str2)
803 return CFX_WideString(ch, str2);
805 inline CFX_WideString operator + (const CFX_WideString& str1, FX_LPCWSTR str2)
807 return CFX_WideString(str1, str2);
809 inline CFX_WideString operator + (FX_LPCWSTR str1, const CFX_WideString& str2)
811 return CFX_WideString(str1, str2);
813 inline CFX_WideString operator + (const CFX_WideString& str1, const CFX_WideStringC& str2)
815 return CFX_WideString(str1, str2);
817 inline CFX_WideString operator + (const CFX_WideStringC& str1, const CFX_WideString& str2)
819 return CFX_WideString(str1, str2);
822 bool operator==(const CFX_WideString& s1, const CFX_WideString& s2);
823 bool operator==(const CFX_WideString& s1, const CFX_WideStringC& s2);
824 bool operator==(const CFX_WideStringC& s1, const CFX_WideString& s2);
825 bool operator== (const CFX_WideString& s1, FX_LPCWSTR s2);
826 bool operator==(FX_LPCWSTR s1, const CFX_WideString& s2);
827 bool operator!=(const CFX_WideString& s1, const CFX_WideString& s2);
828 bool operator!=(const CFX_WideString& s1, const CFX_WideStringC& s2);
829 bool operator!=(const CFX_WideStringC& s1, const CFX_WideString& s2);
830 bool operator!= (const CFX_WideString& s1, FX_LPCWSTR s2);
831 bool operator!=(FX_LPCWSTR s1, const CFX_WideString& s2);
840 inline CFX_ByteString FX_UTF8Encode(const CFX_WideString &wsStr)