Lines Matching refs:AString
241 #define FORBID_STRING_OPS_AString(t) FORBID_STRING_OPS(AString, t)
245 class AString
264 AString(unsigned num, const char *s);
265 AString(unsigned num, const AString &s);
266 AString(const AString &s, char c); // it's for String + char
267 AString(const char *s1, unsigned num1, const char *s2, unsigned num2);
269 friend AString operator+(const AString &s, char c) { return AString(s, c); } ;
272 friend AString operator+(const AString &s1, const AString &s2);
273 friend AString operator+(const AString &s1, const char *s2);
274 friend AString operator+(const char *s1, const AString &s2);
292 explicit AString();
293 explicit AString(char c);
294 explicit AString(const char *s);
295 AString(const AString &s);
296 ~AString() { MY_STRING_DELETE(_chars); } in ~AString()
339 AString &operator=(char c);
340 AString &operator=(const char *s);
341 AString &operator=(const AString &s);
345 AString &operator+=(char c)
363 AString &operator+=(const char *s);
364 AString &operator+=(const AString &s);
371 …AString Mid(unsigned startIndex, unsigned count) const { return AString(count, _chars + startIndex… in Mid()
372 AString Left(unsigned count) const { return AString(count, *this); } in Left()
422 void Insert(unsigned index, const AString &s);
427 void Replace(const AString &oldString, const AString &newString);
443 bool operator<(const AString &s1, const AString &s2);
444 bool operator>(const AString &s1, const AString &s2);
456 inline bool operator==(const AString &s1, const AString &s2) { return s1.Len() == s2.Len() && strcm…
457 inline bool operator==(const AString &s1, const char *s2) { return strcmp(s1, s2) == 0; }
458 inline bool operator==(const char *s1, const AString &s2) { return strcmp(s1, s2) == 0; }
460 inline bool operator!=(const AString &s1, const AString &s2) { return s1.Len() != s2.Len() || strcm…
461 inline bool operator!=(const AString &s1, const char *s2) { return strcmp(s1, s2) != 0; }
462 inline bool operator!=(const char *s1, const AString &s2) { return strcmp(s1, s2) != 0; }
466 void operator==(char c1, const AString &s2);
467 void operator==(const AString &s1, char c2);
469 void operator+(char c, const AString &s); // this function can be OK, but we don't use it
471 void operator+(const AString &s, int c);
472 void operator+(const AString &s, unsigned c);
473 void operator+(int c, const AString &s);
474 void operator+(unsigned c, const AString &s);
475 void operator-(const AString &s, int c);
476 void operator-(const AString &s, unsigned c);
583 UString &operator=(const AString &s) { return operator=(s.Ptr()); }
607 UString &operator+=(const AString &s) { return operator+=(s.Ptr()); }
704 void operator+(const AString &s1, const UString &s2);
705 void operator+(const UString &s1, const AString &s2);
810 typedef CObjectVector<AString> AStringVector;
816 typedef AString CSysString;
838 FString fas2fs(const AString &s);
839 AString fs2fas(const FChar *s);
846 typedef AString FString;