![]() |
QxOrm
1.2.3
C++ Object Relational Mapping library
|
qx::trait::is_smart_ptr_to_pod<T>::value : return true if T is a smart-pointer of boost, Qt or QxOrm libraries and (*T) is a POD type (char, int, long, etc.), otherwise return false More...
#include <is_smart_ptr_to_pod.h>
Public Types | |
enum | { value = (qx::trait::is_smart_ptr<T>::value && (sizeof(qx::trait::is_smart_ptr_to_pod<T>::removeSmartPtr(t)) == sizeof(char))) } |
typedef boost::mpl::if_c < qx::trait::is_smart_ptr_to_pod < T >::value, boost::mpl::true_, boost::mpl::false_ >::type | type |
Static Private Member Functions | |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const boost::scoped_ptr< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const boost::shared_ptr< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const boost::weak_ptr< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const boost::intrusive_ptr< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const QSharedDataPointer< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const QSharedPointer< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const QWeakPointer< U > &) |
template<typename U > | |
static boost::mpl::if_c < qx::trait::is_qx_pod< U > ::value, char, int >::type | removeSmartPtr (const qx::dao::ptr< U > &) |
static int | removeSmartPtr (...) |
Static Private Attributes | |
static T | t |
qx::trait::is_smart_ptr_to_pod<T>::value : return true if T is a smart-pointer of boost, Qt or QxOrm libraries and (*T) is a POD type (char, int, long, etc.), otherwise return false
Definition at line 54 of file is_smart_ptr_to_pod.h.
typedef boost::mpl::if_c<qx::trait::is_smart_ptr_to_pod<T>::value, boost::mpl::true_, boost::mpl::false_>::type qx::trait::is_smart_ptr_to_pod< T >::type |
Definition at line 90 of file is_smart_ptr_to_pod.h.
anonymous enum |
Definition at line 88 of file is_smart_ptr_to_pod.h.
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const boost::scoped_ptr< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const boost::shared_ptr< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const boost::weak_ptr< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const boost::intrusive_ptr< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const QSharedDataPointer< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const QSharedPointer< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const QWeakPointer< U > & | ) | [static, private] |
static boost::mpl::if_c<qx::trait::is_qx_pod<U>::value, char, int>::type qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | const qx::dao::ptr< U > & | ) | [static, private] |
static int qx::trait::is_smart_ptr_to_pod< T >::removeSmartPtr | ( | ... | ) | [static, private] |
T qx::trait::is_smart_ptr_to_pod< T >::t [static, private] |
Definition at line 84 of file is_smart_ptr_to_pod.h.