QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::trait::is_smart_ptr_base_of<B, D>::value : return true if B and D are smart-pointers of boost, Qt or QxOrm libraries and if (*B) is a base class of (*D), otherwise return false More...
#include <QxTraits/is_smart_ptr.h>
Go to the source code of this file.
Classes | |
class | qx::trait::is_smart_ptr_base_of< B, D > |
qx::trait::is_smart_ptr_base_of<B, D>::value : return true if B and D are smart-pointers of boost, Qt or QxOrm libraries and if (*B) is a base class of (*D), otherwise return false 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_smart_ptr_base_of_test_0() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr(b, d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_1() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_scoped_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_2() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_shared_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_3() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_weak_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_4() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_intrusive_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_5() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_shared_data_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_6() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_shared_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_7() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_weak_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_8() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qx_dao_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_9() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_unique_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_10() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_shared_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_test_11() (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_weak_ptr), d)) == sizeof(char)) |
#define | qx_smart_ptr_base_of_all_test() |
qx::trait::is_smart_ptr_base_of<B, D>::value : return true if B and D are smart-pointers of boost, Qt or QxOrm libraries and if (*B) is a base class of (*D), otherwise return false
Definition in file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_all_test | ( | ) |
qx_smart_ptr_base_of_test_1() || qx_smart_ptr_base_of_test_2() || qx_smart_ptr_base_of_test_3() || \ qx_smart_ptr_base_of_test_4() || qx_smart_ptr_base_of_test_5() || qx_smart_ptr_base_of_test_6() || \ qx_smart_ptr_base_of_test_7() || qx_smart_ptr_base_of_test_8() || qx_smart_ptr_base_of_test_9() || \ qx_smart_ptr_base_of_test_10() || qx_smart_ptr_base_of_test_11()
Definition at line 62 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_0 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr(b, d)) == sizeof(char)) |
Definition at line 48 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_1 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_scoped_ptr), d)) == sizeof(char)) |
Definition at line 49 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_10 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_shared_ptr), d)) == sizeof(char)) |
Definition at line 59 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_11 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_weak_ptr), d)) == sizeof(char)) |
Definition at line 60 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_2 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_shared_ptr), d)) == sizeof(char)) |
Definition at line 50 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_3 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_weak_ptr), d)) == sizeof(char)) |
Definition at line 51 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_4 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_boost_intrusive_ptr), d)) == sizeof(char)) |
Definition at line 52 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_5 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_shared_data_ptr), d)) == sizeof(char)) |
Definition at line 53 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_6 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_shared_ptr), d)) == sizeof(char)) |
Definition at line 54 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_7 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qt_weak_ptr), d)) == sizeof(char)) |
Definition at line 55 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_8 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_qx_dao_ptr), d)) == sizeof(char)) |
Definition at line 56 of file is_smart_ptr_base_of.h.
#define qx_smart_ptr_base_of_test_9 | ( | ) | (sizeof(qx::trait::is_smart_ptr_base_of<B, D>::removeSmartPtr((* b_std_unique_ptr), d)) == sizeof(char)) |
Definition at line 58 of file is_smart_ptr_base_of.h.