Home | History | Annotate | Download | only in fxcrt

Lines Matching refs:CFX_ByteString

10 class CFX_ByteString;

62 CFX_ByteStringC(const CFX_ByteString& src);
78 CFX_ByteStringC& operator = (const CFX_ByteString& src);
160 class CFX_ByteString : public CFX_Object
164 CFX_ByteString()
169 CFX_ByteString(const CFX_ByteString& str);
171 CFX_ByteString(char ch);
173 CFX_ByteString(FX_LPCSTR ptr, FX_STRSIZE len = -1);
175 CFX_ByteString(FX_LPCBYTE ptr, FX_STRSIZE len);
177 CFX_ByteString(FX_BSTR bstrc);
179 CFX_ByteString(FX_BSTR bstrc1, FX_BSTR bstrc2);
181 ~CFX_ByteString();
183 static CFX_ByteString FromUnicode(FX_LPCWSTR ptr, FX_STRSIZE len = -1);
185 static CFX_ByteString FromUnicode(const CFX_WideString& str);
225 bool operator == (const CFX_ByteString& str) const;
237 bool operator != (const CFX_ByteString& str) const
244 const CFX_ByteString& operator = (FX_LPCSTR str);
246 const CFX_ByteString& operator = (FX_BSTR bstrc);
248 const CFX_ByteString& operator = (const CFX_ByteString& stringSrc);
250 const CFX_ByteString& operator = (const CFX_BinaryBuf& buf);
254 const CFX_ByteString& operator += (FX_CHAR ch);
256 const CFX_ByteString& operator += (FX_LPCSTR str);
258 const CFX_ByteString& operator += (const CFX_ByteString& str);
260 const CFX_ByteString& operator += (FX_BSTR bstrc);
292 CFX_ByteString Mid(FX_STRSIZE first) const;
294 CFX_ByteString Mid(FX_STRSIZE first, FX_STRSIZE count) const;
296 CFX_ByteString Left(FX_STRSIZE count) const;
298 CFX_ByteString Right(FX_STRSIZE count) const;
332 static CFX_ByteString LoadFromFile(FX_BSTR file_path);
337 static CFX_ByteString FormatInteger(int i, FX_DWORD flags = 0);
339 static CFX_ByteString FormatFloat(FX_FLOAT f, int precision = 0);
343 void AllocCopy(CFX_ByteString& dest, FX_STRSIZE nCopyLen, FX_STRSIZE nCopyIndex, FX_STRSIZE nExtraLen) const;
350 inline CFX_ByteStringC::CFX_ByteStringC(const CFX_ByteString& src)
355 inline CFX_ByteStringC& CFX_ByteStringC::operator = (const CFX_ByteString& src)
362 inline CFX_ByteString operator + (FX_BSTR str1, FX_BSTR str2)
364 return CFX_ByteString(str1, str2);
366 inline CFX_ByteString operator + (FX_BSTR str1, FX_LPCSTR str2)
368 return CFX_ByteString(str1, str2);
370 inline CFX_ByteString operator + (FX_LPCSTR str1, FX_BSTR str2)
372 return CFX_ByteString(str1, str2);
374 inline CFX_ByteString operator + (FX_BSTR str1, FX_CHAR ch)
376 return CFX_ByteString(str1, CFX_ByteStringC(ch));
378 inline CFX_ByteString operator + (FX_CHAR ch, FX_BSTR str2)
380 return CFX_ByteString(ch, str2);
382 inline CFX_ByteString operator + (const CFX_ByteString& str1, const CFX_ByteString& str2)
384 return CFX_ByteString(str1, str2);
386 inline CFX_ByteString operator + (const CFX_ByteString& str1, FX_CHAR ch)
388 return CFX_ByteString(str1, CFX_ByteStringC(ch));
390 inline CFX_ByteString operator + (FX_CHAR ch, const CFX_ByteString& str2)
392 return CFX_ByteString(ch, str2);
394 inline CFX_ByteString operator + (const CFX_ByteString& str1, FX_LPCSTR str2)
396 return CFX_ByteString(str1, str2);
398 inline CFX_ByteString operator + (FX_LPCSTR str1, const CFX_ByteString& str2)
400 return CFX_ByteString(str1, str2);
402 inline CFX_ByteString operator + (const CFX_ByteString& str1, FX_BSTR str2)
404 return CFX_ByteString(str1, str2);
406 inline CFX_ByteString operator + (FX_BSTR str1, const CFX_ByteString& str2)
408 return CFX_ByteString(str1, str2);
446 CFX_ByteString GetString() const
448 return CFX_ByteString((FX_CHAR*)(this + 1), m_Size);
745 CFX_ByteString UTF8Encode() const;
747 CFX_ByteString UTF16LE_Encode(FX_BOOL bTerminate = TRUE) const;
749 void ConvertFrom(const CFX_ByteString& str, CFX_CharMap* pCharMap = NULL);
835 CFX_ByteString FX_UTF8Encode(FX_LPCWSTR pwsStr, FX_STRSIZE len);
836 inline CFX_ByteString FX_UTF8Encode(FX_WSTR wsStr)
840 inline CFX_ByteString FX_UTF8Encode(const CFX_WideString &wsStr)