Lines Matching refs:operator
253 cls &operator=(t); \
254 cls &operator=(const t *); \
255 cls &operator+=(t); \
256 cls &operator+=(const t *); \
260 cls &operator+(t); \
261 cls &operator+(const t *); \
292 friend AString operator+(const AString &s, char c) { return AString(s, c); }
293 // friend AString operator+(char c, const AString &s); // is not supported
295 friend AString operator+(const AString &s1, const AString &s2);
296 friend AString operator+(const AString &s1, const char *s2);
297 friend AString operator+(const char *s1, const AString &s2);
316 AString &operator=(const FString &s);
317 AString &operator+=(const FString &s);
331 operator const char *() const { return _chars; }
370 AString &operator=(char c);
371 AString &operator=(const char *s);
372 AString &operator=(const AString &s);
376 AString &operator+=(char c)
395 void Add_PathSepar() { operator+=(CHAR_PATH_SEPARATOR); }
397 AString &operator+=(const char *s);
398 AString &operator+=(const AString &s);
507 // AString_Wipe &operator=(const AString &s) { AString::operator=(s); return *this; }
508 // AString_Wipe &operator=(const char *s) { AString::operator=(s); return *this; }
513 bool operator<(const AString &s1, const AString &s2);
514 bool operator>(const AString &s1, const AString &s2);
517 bool operator==(const AString &s1, const AString &s2);
518 bool operator==(const AString &s1, const char *s2);
519 bool operator==(const char *s1, const AString &s2);
521 bool operator!=(const AString &s1, const AString &s2);
522 bool operator!=(const AString &s1, const char *s2);
523 bool operator!=(const char *s1, const AString &s2);
526 inline bool operator==(const AString &s1, const AString &s2) { return s1.Len() == s2.Len() && strcmp(s1, s2) == 0; }
527 inline bool operator==(const AString &s1, const char *s2) { return strcmp(s1, s2) == 0; }
528 inline bool operator==(const char *s1, const AString &s2) { return strcmp(s1, s2) == 0; }
530 inline bool operator!=(const AString &s1, const AString &s2) { return s1.Len() != s2.Len() || strcmp(s1, s2) != 0; }
531 inline bool operator!=(const AString &s1, const char *s2) { return strcmp(s1, s2) != 0; }
532 inline bool operator!=(const char *s1, const AString &s2) { return strcmp(s1, s2) != 0; }
536 void operator==(char c1, const AString &s2);
537 void operator==(const AString &s1, char c2);
539 void operator+(char c, const AString &s); // this function can be OK, but we don't use it
541 void operator+(const AString &s, int c);
542 void operator+(const AString &s, unsigned c);
543 void operator+(int c, const AString &s);
544 void operator+(unsigned c, const AString &s);
545 void operator-(const AString &s, int c);
546 void operator-(const AString &s, unsigned c);
573 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); }
574 // friend UString operator+(wchar_t c, const UString &s); // is not supported
576 friend UString operator+(const UString &s1, const UString &s2);
577 friend UString operator+(const UString &s1, const wchar_t *s2);
578 friend UString operator+(const wchar_t *s1, const UString &s2);
599 UString &operator=(const FString &s);
600 UString &operator+=(const FString &s);
617 operator const wchar_t *() const { return _chars; }
662 UString &operator=(wchar_t c);
663 UString &operator=(char c) { return (*this)=((wchar_t)(unsigned char)c); }
664 UString &operator=(const wchar_t *s);
665 UString &operator=(const UString &s);
668 UString &operator=(const char *s);
669 UString &operator=(const AString &s) { return operator=(s.Ptr()); }
671 UString &operator+=(wchar_t c)
683 UString &operator+=(char c) { return (*this)+=((wchar_t)(unsigned char)c); }
689 void Add_PathSepar() { operator+=(WCHAR_PATH_SEPARATOR); }
691 UString &operator+=(const wchar_t *s);
692 UString &operator+=(const UString &s);
693 UString &operator+=(const char *s);
694 UString &operator+=(const AString &s) { return operator+=(s.Ptr()); }
792 // UString_Wipe &operator=(const UString &s) { UString::operator=(s); return *this; }
793 // UString_Wipe &operator=(const wchar_t *s) { UString::operator=(s); return *this; }
798 bool operator<(const UString &s1, const UString &s2);
799 bool operator>(const UString &s1, const UString &s2);
801 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscmp(s1, s2) == 0; }
802 inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
803 inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
805 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscmp(s1, s2) != 0; }
806 inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
807 inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
812 void operator==(wchar_t c1, const UString &s2);
813 void operator==(const UString &s1, wchar_t c2);
815 void operator+(wchar_t c, const UString &s); // this function can be OK, but we don't use it
817 void operator+(const AString &s1, const UString &s2);
818 void operator+(const UString &s1, const AString &s2);
820 void operator+(const UString &s1, const char *s2);
821 void operator+(const char *s1, const UString &s2);
823 void operator+(const UString &s, char c);
824 void operator+(const UString &s, unsigned char c);
825 void operator+(char c, const UString &s);
826 void operator+(unsigned char c, const UString &s);
827 void operator-(const UString &s1, wchar_t c);
831 void operator+(const UString &s, int c);
832 void operator+(const UString &s, unsigned c);
833 void operator+(int c, const UString &s);
834 void operator+(unsigned c, const UString &s);
835 void operator-(const UString &s1, int c);
836 void operator-(const UString &s1, unsigned c);
860 UString2 &operator=(wchar_t c);
863 UString2 &operator=(const AString &s);
864 UString2 &operator+=(const AString &s);
868 UString2 &operator=(const FString &s);
869 UString2 &operator+=(const FString &s);
882 // operator const wchar_t *() const { return _chars; }
895 UString2 &operator=(const wchar_t *s);
896 UString2 &operator=(const UString2 &s);
900 bool operator==(const UString2 &s1, const UString2 &s2);
901 bool operator==(const UString2 &s1, const wchar_t *s2);
902 bool operator==(const wchar_t *s1, const UString2 &s2);
904 inline bool operator!=(const UString2 &s1, const UString2 &s2) { return !(s1 == s2); }
905 inline bool operator!=(const UString2 &s1, const wchar_t *s2) { return !(s1 == s2); }
906 inline bool operator!=(const wchar_t *s1, const UString2 &s2) { return !(s1 == s2); }
911 void operator==(wchar_t c1, const UString2 &s2);
912 void operator==(const UString2 &s1, wchar_t c2);
913 bool operator<(const UString2 &s1, const UString2 &s2);
914 bool operator>(const UString2 &s1, const UString2 &s2);
916 void operator+(const UString2 &s1, const UString2 &s2);
917 void operator+(const UString2 &s1, const wchar_t *s2);
918 void operator+(const wchar_t *s1, const UString2 &s2);
919 void operator+(wchar_t c, const UString2 &s);
920 void operator+(const UString2 &s, wchar_t c);
921 void operator+(const UString2 &s, char c);
922 void operator+(const UString2 &s, unsigned char c);
923 void operator+(char c, const UString2 &s);
924 void operator+(unsigned char c, const UString2 &s);
925 void operator-(const UString2 &s1, wchar_t c);
975 // FString &operator=(const char *s);
976 FString &operator=(const AString &s);
977 // FString &operator+=(const AString &s);
983 FString &operator=(const FString &s) { AString::operator=((const AString &)s); return *this; }
984 FString &operator=(char c) { AString::operator=(c); return *this; }
985 FString &operator+=(char c) { AString::operator+=(c); return *this; }
986 FString &operator+=(const FString &s) { AString::operator+=((const AString &)s); return *this; }
989 void operator+(const AString &s1, const FString &s2);
990 void operator+(const FString &s1, const AString &s2);
992 inline FString operator+(const FString &s1, const FString &s2)
998 inline FString operator+(const FString &s1, const FChar *s2)
1003 inline FString operator+(const FChar *s1, const FString &s2)