| QxOrm 1.2.7 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

Classes | Namespaces | Defines
is_equal.h File Reference
QxTraits : QxOrm library traits (template metaprogramming) not available in 'boost::type_traits' library

qx::trait::has_operator_equal_equal<T>::value : return true if T provides operator==() function, T must be registered with QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(T) macro More...

`#include <string>`
`#include <boost/shared_ptr.hpp>`
`#include <boost/type_traits/is_pointer.hpp>`
`#include <QtCore/qstring.h>`
`#include <QtCore/qdatetime.h>`
`#include <QtCore/qvariant.h>`
`#include <QtCore/qbytearray.h>`
`#include <QtCore/qpoint.h>`
`#include <QtCore/qrect.h>`
`#include <QtCore/qregexp.h>`
`#include <QtCore/qsize.h>`
`#include <QtCore/qurl.h>`
`#include <QtCore/quuid.h>`
`#include <QtCore/qsharedpointer.h>`
`#include <QtGui/qcolor.h>`
`#include <QtGui/qfont.h>`
`#include <QtGui/qimage.h>`
`#include <QtGui/qbrush.h>`
`#include <QtGui/qmatrix.h>`
`#include <QtGui/qregion.h>`
`#include <QxDao/QxDaoPointer.h>`

Go to the source code of this file.

## Classes
struct | qx::trait::has_operator_equal_equal< T >
| qx::trait::has_operator_equal_equal<T>::value : return true if T provides operator==() function, T must be registered with QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(T) macro More...
## Namespaces
namespace | qx
| Root namespace for all QxOrm library features.
namespace | qx::trait
| QxOrm library traits (template metaprogramming) not available in boost::type_traits library.
## Defines
#define | QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(className)
#define | QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL_TEMPLATE_1(className)

## Detailed Description

qx::trait::has_operator_equal_equal<T>::value : return true if T provides operator==() function, T must be registered with QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL(T) macro

Author:
  Lionel Marty

Definition in file is_equal.h.

## Define Documentation

#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL | ( |  | className | ) |

Value:

    namespace qx { namespace trait { \
    template <> \
    struct has_operator_equal_equal< className > { enum { value = true }; }; \
    } }

Definition at line 88 of file is_equal.h.

#define QX_TYPE_HAS_OPERATOR_EQUAL_EQUAL_TEMPLATE_1 | ( |  | className | ) |

Value:

    namespace qx { namespace trait { \
    template <typename T> \
    struct has_operator_equal_equal< className<T> > { enum { value = true }; }; \
    } }

Definition at line 94 of file is_equal.h.