40class CFxStringPrivate;
80 CFxString(
const QString& stringSrc,
unsigned int codePage );
86 CFxString(
const Wt::WString& stringSrc,
unsigned int codePage );
92 CFxString(
const OdAnsiString& stringSrc,
unsigned int codePage );
98 CFxString(
char ch,
int nRepeat,
unsigned int codePage );
111#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
113 CFxString( __wchar_t ch,
int nRepeat,
unsigned int codePage );
121#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
123 CFxString(
const __wchar_t* lpsz,
unsigned int codePage );
165#if defined (_NATIVE_WCHAR_T_DEFINED)
166#define getAtW getAtWW
168#define getAtW getAtWU
170#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
171 __wchar_t
getAtWW(
int nIndex )
const;
173#define getAtWW getAtWU
185#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
186 void setAtW(
int nIndex, __wchar_t ch );
205#if defined (_NATIVE_WCHAR_T_DEFINED)
206#define wide_str wide_strW
209#define wide_str wide_strU
211#define wide_str wide_strW
214#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
217#define wide_strW wide_strU
225#if defined (_NATIVE_WCHAR_T_DEFINED)
226 inline operator LPCWSTR()
const {
return wide_strW();}
229 inline operator LPCWSTR()
const {
return wide_strU();}
231 inline operator const wchar_t *()
const {
return wide_strW();}
248 operator const QString&()
const;
253 operator const Wt::WString&()
const;
283#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
296#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
326#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
347#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
355#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
362#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
367#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
374#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
391#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
392 int compare(
const __wchar_t* lpsz )
const;
403#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
416#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
429#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
434#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
443#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
448#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
490#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
511#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
549#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
564#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
577#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
592#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
609#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
630#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
647#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
648 int removeW( __wchar_t chRemove );
670#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
671 int insertW(
int nIndex, __wchar_t ch );
693#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
694 int insert(
int nIndex,
const __wchar_t* pstr );
721#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
722 int findW( __wchar_t ch )
const;
742#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
754 int findA(
char ch,
int nStart )
const;
763#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
764 int findW( __wchar_t ch,
int nStart )
const;
784#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
785 int findOneOf(
const __wchar_t* lpszCharSet )
const;
803 int findA(
const char* lpszSub )
const;
811#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
812 int find(
const __wchar_t* lpszSub )
const;
823 int findA(
const char* lpszSub,
int nStart )
const;
832#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
833 int find(
const __wchar_t* lpszSub,
int nStart )
const;
842#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
863#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
876#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
899#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
909 CFxString arg(
long long a,
int fieldwidth = 0,
int base=10,
unsigned short fillChar =
' ')
const;
910 CFxString arg(
unsigned long long a,
int fieldwidth = 0,
int base=10,
unsigned short fillChar =
' ')
const;
911 CFxString arg(
long a,
int fieldwidth = 0,
int base=10,
unsigned short fillChar =
' ')
const;
912 CFxString arg(
unsigned long a,
int fieldwidth = 0,
int base=10,
unsigned short fillChar =
' ')
const;
913 CFxString arg(
int a,
int fieldWidth = 0,
int base = 10,
unsigned short fillChar =
' ')
const;
914 CFxString arg(
unsigned int a,
int fieldWidth = 0,
int base = 10,
unsigned short fillChar =
' ')
const;
915 CFxString arg(
short a,
int fieldWidth = 0,
int base = 10,
unsigned short fillChar =
' ')
const;
916 CFxString arg(
unsigned short a,
int fieldWidth = 0,
int base = 10,
unsigned short fillChar =
' ')
const;
917 CFxString arg(
double a,
int fieldWidth = 0,
char fmt =
'g',
int prec = -1,
unsigned short fillChar =
' ')
const;
918 CFxString arg(
char a,
int fieldWidth = 0,
unsigned short fillChar =
' ')
const;
919#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
920 CFxString arg(__wchar_t a,
int fieldWidth = 0,
unsigned short fillChar =
' ')
const;
947 CFxString(
const char* lpch,
int nLength,
unsigned int codePage );
952#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
953 CFxString(
const __wchar_t* lpch,
int nLength );
954 CFxString(
const __wchar_t* lpch,
int nLength,
unsigned int codePage );
967 return( s1.
compare( s2 ) == 0 );
971{
return( s1.
compare(s2) == 0 ); }
976#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
991#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1005{
return s1.
compare(s2) != 0; }
1010#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1012{
return s1.
compare(s2) != 0; }
1016{
return s1.
compare(s2) != 0; }
1021#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1023{
return s2.
compare(s1) != 0; }
1027{
return s2.
compare(s1) != 0; }
1035#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1046#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1060#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1071#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1080{
return s1.
compare(s2) <= 0; }
1085#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1087{
return s1.
compare(s2) <= 0; }
1091{
return s1.
compare(s2) <= 0; }
1096#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1098{
return s2.
compare(s1) >= 0; }
1102{
return s2.
compare(s1) >= 0; }
1105{
return s1.
compare(s2) >= 0; }
1110#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1112{
return s1.
compare(s2) >= 0; }
1116{
return s1.
compare(s2) >= 0; }
1121#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(_WIN32_WCE)
1123{
return s2.
compare(s1) <= 0; }
1127{
return s2.
compare(s1) <= 0; }
1130{
return arg((
long long)(a), fieldWidth, base, fillChar); }
1132{
return arg((
unsigned long long)(a), fieldWidth, base, fillChar); }
1134{
return arg((
long long)(a), fieldWidth, base, fillChar); }
1136{
return arg((
unsigned long long)(a), fieldWidth, base, fillChar); }
1138{
return arg((
long long)(a), fieldWidth, base, fillChar); }
1140{
return arg((
unsigned long long)(a), fieldWidth, base, fillChar); }
1150{
const CFxString *args[5] = { &a1, &a2, &a3, &a4, &a5 };
return multiArg(5, args); }
1153{
const CFxString *args[6] = { &a1, &a2, &a3, &a4, &a5, &a6 };
return multiArg(6, args); }
1157{
const CFxString *args[7] = { &a1, &a2, &a3, &a4, &a5, &a6, &a7 };
return multiArg(7, args); }
1161{
const CFxString *args[8] = { &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8 };
return multiArg(8, args); }
1165{
const CFxString *args[9] = { &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9 };
return multiArg(9, args); }
bool operator!=(const CFxString &s1, const QString &s2)
std::string CFxAnsiStringClass
bool operator<=(const CFxString &s1, const CFxString &s2)
bool operator<(const CFxString &s1, const CFxString &s2)
std::vector< CFxString > CFxStringArray
bool operator>=(const CFxString &s1, const CFxString &s2)
bool operator>(const CFxString &s1, const CFxString &s2)
bool operator==(const CFxString &s1, const QString &s2)
OdTrVisMiniVec4d< DataType > operator+(const OdTrVisMiniVec4d< DataType > &v1, const OdTrVisMiniVec4d< DataType > &v2)
CFxString spanExcluding(const OdChar *lpszCharSet) const
CFxStringPrivate * m_private
bool startsWith(const OdChar &c) const
friend DDKERNEL_API CFxString operator+(const CFxString &stringSrc, OdChar ch)
CFxString left(int nCount) const
CFxString & trimRightW(OdChar chTarget)
CFxString & vformat(const OdChar *lpszFormat, va_list argList)
CFxString & trimRightA(const char *lpszTargets)
int find(const OdChar *lpszSub) const
int findW(OdChar ch) const
int reverseFindW(OdChar ch) const
friend DDKERNEL_API CFxString operator+(const CFxString &string1, const CFxString &string2)
friend DDKERNEL_API CFxString operator+(const CFxString &stringSrc, const OdChar *lpsz)
bool startsWithNoCase(const char *s) const
CFxString spanIncludingA(const char *lpszCharSet) const
bool startsWith(const char &c) const
const CFxString & operator=(const OdString &stringSrc)
CFxString(const OdAnsiString &stringSrc)
CFxString & trimLeftA(const char *lpszTargets)
CFxString(const OdChar *lpch, int nLength, unsigned int codePage)
const CFxString & operator+=(const CFxString &stringSrc)
const CFxString & operator=(const char *lpsz)
CFxString arg(const CFxString &a, int fieldWidth=0, unsigned short fillChar=' ') const
CFxString(const char *lpch, int nLength, unsigned int codePage)
CFxString spanIncluding(const OdChar *lpszCharSet) const
const CFxString & operator=(const CFxString &stringSrc)
CFxString & replaceA(const char *lpszOld, const char *lpszNew)
int compareA(const char *lpsz) const
unsigned int GetCodePage() const
CFxString arg(char a, int fieldWidth=0, unsigned short fillChar=' ') const
const CFxString & operator=(char ch)
int findA(const char *lpszSub, int nStart) const
int removeW(OdChar chRemove)
CFxString spanExcludingA(const char *lpszCharSet) const
int insertA(int nIndex, char ch)
CFxString arg(long long a, int fieldwidth=0, int base=10, unsigned short fillChar=' ') const
static CFxString from_ansi_str(const CFxAnsiStringClass &data)
const CFxString & operator+=(char ch)
friend DDKERNEL_API CFxString operator+(OdChar ch, const CFxString &stringSrc)
int deleteChars(int nIndex, int nCount=1)
OdCodePageId GetCadCodePage(unsigned int codePage) const
int reverseFindA(char ch) const
CFxString(const OdChar *lpch, int nLength)
CFxString(const char *lpch, int nLength)
CFxString right(int nCount) const
CFxString(const OdAnsiString &stringSrc, unsigned int codePage)
int compareNoCase(const CFxString &stringSrc) const
int find(const OdChar *lpszSub, int nStart) const
int compareNoCaseA(const char *lpsz) const
CFxString(const QString &stringSrc)
int findA(char ch, int nStart) const
CFxString(const QString &stringSrc, unsigned int codePage)
const CFxString & operator+=(OdChar ch)
CFxString & replaceA(char chOld, char chNew)
CFxString arg(double a, int fieldWidth=0, char fmt='g', int prec=-1, unsigned short fillChar=' ') const
CFxString & trimLeftW(OdChar chTarget)
void SetCodePage(unsigned int codePage)
CFxString(OdChar ch, int nRepeat)
CFxString & makeReverse()
CFxString & formatA(const char *lpszFormat,...)
const CFxString & operator+=(const char *lpsz)
const CFxString & operator=(const OdChar *lpsz)
int insertW(int nIndex, OdChar ch)
int compare(const CFxString &lpsz) const
CFxString(const Wt::WString &stringSrc, unsigned int codePage)
friend class CFxStringPrivate
CFxString & trimLeftA(char chTarget)
CFxString(const CFxString &stringSrc)
CFxString(OdChar ch, int nRepeat, unsigned int codePage)
bool equalNoCase(const OdChar *lpsz) const
static CFxString from_utf8_str(const CFxAnsiStringClass &data)
int findOneOf(const OdChar *lpszCharSet) const
CFxString(const Wt::WString &stringSrc)
CFxString mid(int nFirst, int nCount) const
static CFxString from_utf8_str(const char *data)
int compareNoCase(const OdChar *lpsz) const
bool equalNoCase(const CFxString &stringSrc) const
CFxString & trimRightA(char chTarget)
CFxString(CFxString &&stringSrc)
const OdChar * wide_strU() const
friend DDKERNEL_API CFxString operator+(const CFxString &stringSrc, char ch)
CFxString & replaceW(OdChar chOld, OdChar chNew)
OdChar getAtWU(int nIndex) const
CFxAnsiStringClass utf8_str() const
bool startsWith(const char *s) const
CFxString multiArg(int numArgs, const CFxString **args) const
void setAtW(int nIndex, OdChar ch)
int insert(int nIndex, const OdChar *pstr)
const char * ansi_str() const
int findOneOfA(const char *lpszCharSet) const
int insertA(int nIndex, const char *pstr)
CFxString arg(unsigned long long a, int fieldwidth=0, int base=10, unsigned short fillChar=' ') const
CFxString(const OdChar *lpsz, unsigned int codePage)
bool startsWithNoCase(const OdChar *s) const
CFxString & vformatA(const char *lpszFormat, va_list argList)
friend DDKERNEL_API CFxString operator+(const CFxString &stringSrc, const char *lpsz)
CFxString & trimRight(const OdChar *lpszTargets)
CFxString(const OdString &stringSrc)
CFxString(char ch, int nRepeat, unsigned int codePage)
int removeA(char chRemove)
CFxString & operator=(CFxString &&stringSrc)
CFxStringArray SplitW(OdChar separator) const
int compare(const OdChar *lpsz) const
int find(const CFxString &) const
bool startsWithNoCase(const OdChar &c) const
const CFxString & operator+=(const OdChar *lpsz)
CFxString(char ch, int nRepeat)
const CFxString & operator=(const OdAnsiString &stringSrc)
int findW(OdChar ch, int nStart) const
CFxString(const OdString &stringSrc, unsigned int codePage)
int findA(const char *lpszSub) const
static CFxString from_ansi_str(const char *data)
CFxString & format(const OdChar *lpszFormat, const OdString &str)
bool startsWith(const OdChar *s) const
friend DDKERNEL_API CFxString operator+(const OdChar *lpsz, const CFxString &stringSrc)
CFxString mid(int nFirst) const
const CFxString & operator+=(const OdString &str)
CFxStringArray SplitA(char separator) const
void setAtA(int nIndex, char ch)
char getAtA(int nIndex) const
CFxString(const OdChar *lpsz)
const CFxString & operator=(OdChar ch)
bool startsWithNoCase(const char &c) const
CFxString & replace(const OdChar *lpszOld, const OdChar *lpszNew)
int getAllocLength() const
CFxString & trimLeft(const OdChar *lpszTargets)
CFxString & format(const OdChar *lpszFormat,...)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLint GLint GLint GLsizei GLsizei GLenum format