![]() |
QxOrm 1.1.6
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 <is_smart_ptr_base_of.h>
Public Types | |
enum | { value = (qx::trait::is_smart_ptr_base_of<B, D>::value_2 || qx::trait::is_smart_ptr_base_of<B, D>::value_3) } |
typedef boost::mpl::if_c < qx::trait::is_smart_ptr_base_of < B, D >::value, boost::mpl::true_, boost::mpl::false_ >::type | type |
Private Types | |
enum | { value_0 = (qx::trait::is_smart_ptr<D>::value) } |
enum | { value_1 = (qx::trait::is_smart_ptr<B>::value) } |
enum | { value_2 = ((value_0 && value_1) ? qx_smart_ptr_base_of_test_0() : 0) } |
enum | { value_3 = ((value_0 && ! value_1) ? qx_smart_ptr_base_of_all_test() : 0) } |
Static Private Member Functions | |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const boost::scoped_ptr< V > &, const boost::scoped_ptr< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const boost::shared_ptr< V > &, const boost::shared_ptr< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const boost::weak_ptr< V > &, const boost::weak_ptr< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const boost::intrusive_ptr< V > &, const boost::intrusive_ptr< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const QSharedDataPointer< V > &, const QSharedDataPointer< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const QSharedPointer< V > &, const QSharedPointer< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const QWeakPointer< V > &, const QWeakPointer< W > &) |
template<typename V , typename W > | |
static boost::mpl::if_c < boost::is_base_of< V, W > ::value, char, int >::type | removeSmartPtr (const qx::dao::ptr< V > &, const qx::dao::ptr< W > &) |
static int | removeSmartPtr (...) |
Static Private Attributes | |
static B | b |
static D | d |
static boost::scoped_ptr< B > * | b_boost_scoped_ptr |
static boost::shared_ptr< B > * | b_boost_shared_ptr |
static boost::weak_ptr< B > * | b_boost_weak_ptr |
static boost::intrusive_ptr< B > * | b_boost_intrusive_ptr |
static QSharedDataPointer< B > * | b_qt_shared_data_ptr |
static QSharedPointer< B > * | b_qt_shared_ptr |
static QWeakPointer< B > * | b_qt_weak_ptr |
static qx::dao::ptr< B > * | b_qx_dao_ptr |
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 at line 69 of file is_smart_ptr_base_of.h.
typedef boost::mpl::if_c<qx::trait::is_smart_ptr_base_of<B, D>::value, boost::mpl::true_, boost::mpl::false_>::type qx::trait::is_smart_ptr_base_of< B, D >::type |
Definition at line 120 of file is_smart_ptr_base_of.h.
anonymous enum [private] |
Definition at line 111 of file is_smart_ptr_base_of.h.
anonymous enum [private] |
Definition at line 112 of file is_smart_ptr_base_of.h.
anonymous enum [private] |
Definition at line 113 of file is_smart_ptr_base_of.h.
anonymous enum [private] |
Definition at line 114 of file is_smart_ptr_base_of.h.
anonymous enum |
Definition at line 118 of file is_smart_ptr_base_of.h.
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const boost::scoped_ptr< V > & | , |
const boost::scoped_ptr< W > & | |||
) | [static, private] |
static int qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | ... | ) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const qx::dao::ptr< V > & | , |
const qx::dao::ptr< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const QWeakPointer< V > & | , |
const QWeakPointer< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const QSharedPointer< V > & | , |
const QSharedPointer< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const QSharedDataPointer< V > & | , |
const QSharedDataPointer< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const boost::intrusive_ptr< V > & | , |
const boost::intrusive_ptr< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const boost::weak_ptr< V > & | , |
const boost::weak_ptr< W > & | |||
) | [static, private] |
static boost::mpl::if_c<boost::is_base_of<V, W>::value, char, int>::type qx::trait::is_smart_ptr_base_of< B, D >::removeSmartPtr | ( | const boost::shared_ptr< V > & | , |
const boost::shared_ptr< W > & | |||
) | [static, private] |
B qx::trait::is_smart_ptr_base_of< B, D >::b [static, private] |
Definition at line 99 of file is_smart_ptr_base_of.h.
boost::intrusive_ptr<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_boost_intrusive_ptr [static, private] |
Definition at line 105 of file is_smart_ptr_base_of.h.
boost::scoped_ptr<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_boost_scoped_ptr [static, private] |
Definition at line 102 of file is_smart_ptr_base_of.h.
boost::shared_ptr<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_boost_shared_ptr [static, private] |
Definition at line 103 of file is_smart_ptr_base_of.h.
boost::weak_ptr<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_boost_weak_ptr [static, private] |
Definition at line 104 of file is_smart_ptr_base_of.h.
QSharedDataPointer<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_qt_shared_data_ptr [static, private] |
Definition at line 106 of file is_smart_ptr_base_of.h.
QSharedPointer<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_qt_shared_ptr [static, private] |
Definition at line 107 of file is_smart_ptr_base_of.h.
QWeakPointer<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_qt_weak_ptr [static, private] |
Definition at line 108 of file is_smart_ptr_base_of.h.
qx::dao::ptr<B>* qx::trait::is_smart_ptr_base_of< B, D >::b_qx_dao_ptr [static, private] |
Definition at line 109 of file is_smart_ptr_base_of.h.
D qx::trait::is_smart_ptr_base_of< B, D >::d [static, private] |
Definition at line 100 of file is_smart_ptr_base_of.h.