• Home
  • Raw
  • Download

Lines Matching refs:UString

242 #define FORBID_STRING_OPS_UString(t) FORBID_STRING_OPS(UString, t)
479 class UString
498 UString(unsigned num, const wchar_t *s); // for Mid
499 UString(unsigned num, const UString &s); // for Left
500 UString(const UString &s, wchar_t c); // it's for String + char
501 UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2);
503 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ;
506 friend UString operator+(const UString &s1, const UString &s2);
507 friend UString operator+(const UString &s1, const wchar_t *s2);
508 friend UString operator+(const wchar_t *s1, const UString &s2);
525 FORBID_STRING_OPS_2(UString, char)
528 UString();
529 explicit UString(wchar_t c);
530 explicit UString(char c);
531 explicit UString(const char *s);
533 UString(const wchar_t *s);
534 UString(const UString &s);
535 ~UString() { MY_STRING_DELETE(_chars); } in ~UString()
576 UString &operator=(wchar_t c);
577 UString &operator=(char c) { return (*this)=((wchar_t)(unsigned char)c); }
578 UString &operator=(const wchar_t *s);
579 UString &operator=(const UString &s);
582 UString &operator=(const char *s);
583 UString &operator=(const AString &s) { return operator=(s.Ptr()); }
585 UString &operator+=(wchar_t c)
597 UString &operator+=(char c) { return (*this)+=((wchar_t)(unsigned char)c); }
604 UString &operator+=(const wchar_t *s);
605 UString &operator+=(const UString &s);
606 UString &operator+=(const char *s);
607 UString &operator+=(const AString &s) { return operator+=(s.Ptr()); }
611UString Mid(unsigned startIndex, unsigned count) const { return UString(count, _chars + startIndex… in Mid()
612 UString Left(unsigned count) const { return UString(count, *this); } in Left()
664 void Insert(unsigned index, const UString &s);
669 void Replace(const UString &oldString, const UString &newString);
685 bool operator<(const UString &s1, const UString &s2);
686 bool operator>(const UString &s1, const UString &s2);
688 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscm…
689 inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
690 inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
692 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscm…
693 inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
694 inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
699 void operator==(wchar_t c1, const UString &s2);
700 void operator==(const UString &s1, wchar_t c2);
702 void operator+(wchar_t c, const UString &s); // this function can be OK, but we don't use it
704 void operator+(const AString &s1, const UString &s2);
705 void operator+(const UString &s1, const AString &s2);
707 void operator+(const UString &s1, const char *s2);
708 void operator+(const char *s1, const UString &s2);
710 void operator+(const UString &s, char c);
711 void operator+(const UString &s, unsigned char c);
712 void operator+(char c, const UString &s);
713 void operator+(unsigned char c, const UString &s);
714 void operator-(const UString &s1, wchar_t c);
718 void operator+(const UString &s, int c);
719 void operator+(const UString &s, unsigned c);
720 void operator+(int c, const UString &s);
721 void operator+(unsigned c, const UString &s);
722 void operator-(const UString &s1, int c);
723 void operator-(const UString &s1, unsigned c);
811 typedef CObjectVector<UString> UStringVector;
814 typedef UString CSysString;
833 typedef UString FString;
848 UString fs2us(const FChar *s);
849 UString fs2us(const FString &s);