Classes | Functions
qgstring.h File Reference
#include <stdlib.h>
#include <string.h>
#include "qcstring.h"

Go to the source code of this file.

Classes

class  QGString
 

Functions

Q_EXPORT bool operator== (const QGString &s1, const QGString &s2)
 
Q_EXPORT bool operator== (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator== (const char *s1, const QGString &s2)
 
Q_EXPORT bool operator!= (const QGString &s1, const QGString &s2)
 
Q_EXPORT bool operator!= (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator!= (const char *s1, const QGString &s2)
 
Q_EXPORT bool operator< (const QGString &s1, const QGString &s2)
 
Q_EXPORT bool operator< (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator< (const char *s1, const QGString &s2)
 
Q_EXPORT bool operator<= (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator<= (const char *s1, const QGString &s2)
 
Q_EXPORT bool operator> (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator> (const char *s1, const QGString &s2)
 
Q_EXPORT bool operator>= (const QGString &s1, const char *s2)
 
Q_EXPORT bool operator>= (const char *s1, const QGString &s2)
 
Q_EXPORT QGString operator+ (const QGString &s1, const QGString &s2)
 
Q_EXPORT QGString operator+ (const QGString &s1, const char *s2)
 
Q_EXPORT QGString operator+ (const char *s1, const QGString &s2)
 
Q_EXPORT QGString operator+ (const QGString &s1, char c2)
 
Q_EXPORT QGString operator+ (char c1, const QGString &s2)
 

Function Documentation

Q_EXPORT bool operator!= ( const QGString s1,
const QGString s2 
)
inline

Definition at line 67 of file qgstring.h.

68 { return qstrcmp(s1.data(),s2.data()) != 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator!= ( const QGString s1,
const char *  s2 
)
inline

Definition at line 70 of file qgstring.h.

71 { return qstrcmp(s1.data(),s2) != 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator!= ( const char *  s1,
const QGString s2 
)
inline

Definition at line 73 of file qgstring.h.

74 { return qstrcmp(s1,s2.data()) != 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT QGString operator+ ( const QGString s1,
const QGString s2 
)
inline

Definition at line 103 of file qgstring.h.

104 {
105  QGString tmp( s1.data() );
106  tmp += s2;
107  return tmp;
108 }
char * data() const
Definition: qgstring.h:42
string tmp
Definition: languages.py:63
Q_EXPORT QGString operator+ ( const QGString s1,
const char *  s2 
)
inline

Definition at line 110 of file qgstring.h.

111 {
112  QGString tmp( s1.data() );
113  tmp += s2;
114  return tmp;
115 }
char * data() const
Definition: qgstring.h:42
string tmp
Definition: languages.py:63
Q_EXPORT QGString operator+ ( const char *  s1,
const QGString s2 
)
inline

Definition at line 117 of file qgstring.h.

118 {
119  QGString tmp( s1 );
120  tmp += s2;
121  return tmp;
122 }
string tmp
Definition: languages.py:63
Q_EXPORT QGString operator+ ( const QGString s1,
char  c2 
)
inline

Definition at line 124 of file qgstring.h.

125 {
126  QGString tmp( s1.data() );
127  tmp += c2;
128  return tmp;
129 }
char * data() const
Definition: qgstring.h:42
string tmp
Definition: languages.py:63
Q_EXPORT QGString operator+ ( char  c1,
const QGString s2 
)
inline

Definition at line 131 of file qgstring.h.

132 {
133  QGString tmp;
134  tmp += c1;
135  tmp += s2;
136  return tmp;
137 }
string tmp
Definition: languages.py:63
Q_EXPORT bool operator< ( const QGString s1,
const QGString s2 
)
inline

Definition at line 76 of file qgstring.h.

77 { return qstrcmp(s1.data(),s2.data()) < 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator< ( const QGString s1,
const char *  s2 
)
inline

Definition at line 79 of file qgstring.h.

80 { return qstrcmp(s1.data(),s2) < 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator< ( const char *  s1,
const QGString s2 
)
inline

Definition at line 82 of file qgstring.h.

83 { return qstrcmp(s1,s2.data()) < 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator<= ( const QGString s1,
const char *  s2 
)
inline

Definition at line 85 of file qgstring.h.

86 { return qstrcmp(s1.data(),s2) <= 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator<= ( const char *  s1,
const QGString s2 
)
inline

Definition at line 88 of file qgstring.h.

89 { return qstrcmp(s1,s2.data()) <= 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator== ( const QGString s1,
const QGString s2 
)
inline

Definition at line 58 of file qgstring.h.

59 { return qstrcmp(s1.data(),s2.data()) == 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator== ( const QGString s1,
const char *  s2 
)
inline

Definition at line 61 of file qgstring.h.

62 { return qstrcmp(s1.data(),s2) == 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator== ( const char *  s1,
const QGString s2 
)
inline

Definition at line 64 of file qgstring.h.

65 { return qstrcmp(s1,s2.data()) == 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator> ( const QGString s1,
const char *  s2 
)
inline

Definition at line 91 of file qgstring.h.

92 { return qstrcmp(s1.data(),s2) > 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator> ( const char *  s1,
const QGString s2 
)
inline

Definition at line 94 of file qgstring.h.

95 { return qstrcmp(s1,s2.data()) > 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator>= ( const QGString s1,
const char *  s2 
)
inline

Definition at line 97 of file qgstring.h.

98 { return qstrcmp(s1.data(),s2) >= 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95
Q_EXPORT bool operator>= ( const char *  s1,
const QGString s2 
)
inline

Definition at line 100 of file qgstring.h.

101 { return qstrcmp(s1,s2.data()) >= 0; }
char * data() const
Definition: qgstring.h:42
Q_EXPORT int qstrcmp(const char *str1, const char *str2)
Definition: qcstring.h:95