32#ifndef _QX_TRAIT_IS_EQUAL_H_
33#define _QX_TRAIT_IS_EQUAL_H_
46#include <QtCore/qstring.h>
47#include <QtCore/qdatetime.h>
48#include <QtCore/qvariant.h>
49#include <QtCore/qbytearray.h>
50#include <QtCore/qpoint.h>
51#include <QtCore/qrect.h>
52#include <QtCore/qsize.h>
53#include <QtCore/qurl.h>
54#include <QtCore/quuid.h>
55#include <QtCore/qsharedpointer.h>
57#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
58#include <QtCore/qregexp.h>
61#ifdef _QX_ENABLE_QT_GUI
62#include <QtGui/qcolor.h>
63#include <QtGui/qfont.h>
64#include <QtGui/qimage.h>
65#include <QtGui/qbrush.h>
66#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
67#include <QtGui/qmatrix.h>
69#include <QtGui/qregion.h>
83{
enum {
value = std::is_pointer<T>::value }; };
88#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(className) \
89namespace qx { namespace trait { \
91struct has_operator_equal_equal< className > { enum { value = true }; }; \
94#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL_TEMPLATE_1(className) \
95namespace qx { namespace trait { \
96template <typename T> \
97struct has_operator_equal_equal< className<T> > { enum { value = true }; }; \
128#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
132#ifdef _QX_ENABLE_QT_GUI
137#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
143#ifdef _QX_ENABLE_BOOST
qx::dao::ptr<T> : provide a classic smart-pointer (like boost::shared_ptr<T> or QSharedPointer<T>) wi...
qx::dao::ptr<T> : provide a classic smart-pointer (like boost::shared_ptr<T> or QSharedPointer<T>) wi...
#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(className)
#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL_TEMPLATE_1(className)
Root namespace for all QxOrm library features.
qx::trait::has_operator_equal_equal<T>::value : return true if T provides operator==() function,...