Lines Matching refs:UString

317 class UString
335 UString(unsigned num, const wchar_t *s); // for Mid
336 UString(unsigned num, const UString &s); // for Left
337 UString(const UString &s, wchar_t c); // it's for String + char
338 UString(const wchar_t *s1, unsigned num1, const wchar_t *s2, unsigned num2);
340 friend UString operator+(const UString &s, wchar_t c) { return UString(s, c); } ;
343 friend UString operator+(const UString &s1, const UString &s2);
344 friend UString operator+(const UString &s1, const wchar_t *s2);
345 friend UString operator+(const wchar_t *s1, const UString &s2);
348 UString();
349 UString(wchar_t c);
350 UString(const wchar_t *s);
351 UString(const UString &s);
352 ~UString() { MY_STRING_DELETE(_chars); } in ~UString()
377 UString &operator=(wchar_t c);
378 UString &operator=(const wchar_t *s);
379 UString &operator=(const UString &s);
381 UString &operator+=(wchar_t c)
393 UString &operator+=(const wchar_t *s);
394 UString &operator+=(const UString &s);
401UString Mid(unsigned startIndex, unsigned count) const { return UString(count, _chars + startIndex… in Mid()
402 UString Left(unsigned count) const { return UString(count, *this); } in Left()
424 int Find(const UString &s) const { return Find(s, 0); } in Find()
425 int Find(const UString &s, unsigned startIndex) const throw();
439 void Insert(unsigned index, const UString &s);
443 void Replace(const UString &oldString, const UString &newString);
459 bool operator<(const UString &s1, const UString &s2);
460 bool operator>(const UString &s1, const UString &s2);
462 inline bool operator==(const UString &s1, const UString &s2) { return s1.Len() == s2.Len() && wcscm…
463 inline bool operator==(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) == 0; }
464 inline bool operator==(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) == 0; }
466 inline bool operator!=(const UString &s1, const UString &s2) { return s1.Len() != s2.Len() || wcscm…
467 inline bool operator!=(const UString &s1, const wchar_t *s2) { return wcscmp(s1, s2) != 0; }
468 inline bool operator!=(const wchar_t *s1, const UString &s2) { return wcscmp(s1, s2) != 0; }
472 typedef CObjectVector<UString> UStringVector;
475 typedef UString CSysString;
494 typedef UString FString;
508 UString fs2us(const FString &s);