Lines Matching refs:UString
414 class UString
433 UString(unsigned num, const wchar_t *s); // for Mid
434 UString(unsigned num, const UString &s); // for Left
435 UString(const UString &s, wchar_t c); // it's for String + char
436 UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2);
438 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ;
441 friend UString operator+(const UString &s1, const UString &s2);
442 friend UString operator+(const UString &s1, const wchar_t *s2);
443 friend UString operator+(const wchar_t *s1, const UString &s2);
447 UString &operator+=(char c);
448 UString &operator+=(unsigned char c);
449 UString &operator=(char c);
450 UString &operator=(unsigned char c);
451 UString(char c);
452 UString(unsigned char c);
467 UString();
468 UString(wchar_t c);
469 UString(const wchar_t *s);
470 UString(const UString &s);
471 ~UString() { MY_STRING_DELETE(_chars); } in ~UString()
510 UString &operator=(wchar_t c);
511 UString &operator=(const wchar_t *s);
512 UString &operator=(const UString &s);
515 UString &operator+=(wchar_t c)
532 UString &operator+=(const wchar_t *s);
533 UString &operator+=(const UString &s);
540 …UString Mid(unsigned startIndex, unsigned count) const { return UString(count, _chars + startIndex… in Mid()
541 UString Left(unsigned count) const { return UString(count, *this); } in Left()
593 void Insert(unsigned index, const UString &s);
598 void Replace(const UString &oldString, const UString &newString);
614 bool operator<(const UString &s1, const UString &s2);
615 bool operator>(const UString &s1, const UString &s2);
617 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscm…
618 inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
619 inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
621 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscm…
622 inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
623 inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
628 void operator==(wchar_t c1, const UString &s2);
629 void operator==(const UString &s1, wchar_t c2);
631 void operator+(wchar_t c, const UString &s); // this function can be OK, but we don't use it
633 void operator+(const UString &s, char c);
634 void operator+(const UString &s, unsigned char c);
635 void operator+(char c, const UString &s);
636 void operator+(unsigned char c, const UString &s);
637 void operator-(const UString &s1, wchar_t c);
641 void operator+(const UString &s, int c);
642 void operator+(const UString &s, unsigned c);
643 void operator+(int c, const UString &s);
644 void operator+(unsigned c, const UString &s);
645 void operator-(const UString &s1, int c);
646 void operator-(const UString &s1, unsigned c);
731 typedef CObjectVector<UString> UStringVector;
734 typedef UString CSysString;
753 typedef UString FString;
767 UString fs2us(const FString &s);