QtCore/quuid.h Source File
Go to the documentation of this file.
58 } GUID, *REFGUID, *LPGUID;
90 for(
int i = 0; i < 8; i++)
93 QUuid(uint l, ushort
w1, ushort
w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8)
107 #ifndef QT_NO_QUUID_STRING
111 operator QString()
const {
return toString(); }
122 if (data1 != orig.
data1 || data2 != orig.
data2 ||
126 for(i = 0; i < 8; i++)
127 if (data4[i] != orig.
data4[i])
135 return !(*
this == orig);
138 bool operator<(
const QUuid &other)
const;
139 bool operator>(
const QUuid &other)
const;
141 #if defined(Q_OS_WIN)
144 QUuid(
const GUID &guid)
149 for(
int i = 0; i < 8; i++)
150 data4[i] = guid.Data4[i];
153 QUuid &operator=(
const GUID &guid)
159 operator GUID()
const
161 GUID guid = { data1, data2, data3, { data4[0], data4[1], data4[2], data4[3], data4[4], data4[5], data4[6], data4[7] } };
167 return *
this == QUuid(guid);
172 return !(*
this == guid);
175 static QUuid createUuid();
185 #ifndef QT_NO_DATASTREAM
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble w1
bool operator>(const QByteArray &a1, const QByteArray &a2)
GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint GLdouble GLdouble w2
bool operator==(const Attribute &cA, const AttributeInstance< type > &cB)
This operator compares the two attributes and NOT their values.
#define QT_BEGIN_NAMESPACE
QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8)
bool operator!=(const QUuid &orig) const
bool operator!=(const QByteArray &a1, const QByteArray &a2)
bool operator==(const QUuid &orig) const
Q_CORE_EXPORT QDataStream & operator>>(QDataStream &, QUuid &)
bool operator<(const QByteArray &a1, const QByteArray &a2)
Q_CORE_EXPORT QDataStream & operator<<(QDataStream &, const QUuid &)