QxOrm  1.5.0
C++ Object Relational Mapping library

qx::trait::is_ptr_base_of<B, D>::value : return true if B and D are pointer type and (*B) is a base class of (*D) or if B and D are same type, otherwise return false More...

#include <is_ptr_base_of.h>

List of all members.

Public Types

enum  { value = (std::is_pointer<B>::value && std::is_pointer<D>::value && (sizeof(qx::trait::is_ptr_base_of<B, D>::removePtr(b, d)) == sizeof(char))) }
typedef std::conditional
< qx::trait::is_ptr_base_of< B,
D >::value, std::true_type,
std::false_type >::type 
type

Static Private Member Functions

template<typename V , typename W >
static std::conditional
< std::is_base_of< V, W >
::value, char, int >::type 
removePtr (const volatile V *const volatile, const volatile W *const volatile)
static int removePtr (...)

Static Private Attributes

static B b
static D d

Detailed Description

template<typename B, typename D>
class qx::trait::is_ptr_base_of< B, D >

qx::trait::is_ptr_base_of<B, D>::value : return true if B and D are pointer type and (*B) is a base class of (*D) or if B and D are same type, otherwise return false

Definition at line 54 of file is_ptr_base_of.h.


Member Typedef Documentation

template<typename B , typename D >
typedef std::conditional<qx::trait::is_ptr_base_of<B, D>::value, std::true_type, std::false_type>::type qx::trait::is_ptr_base_of< B, D >::type

Definition at line 70 of file is_ptr_base_of.h.


Member Enumeration Documentation

template<typename B , typename D >
anonymous enum
Enumerator:
value 

Definition at line 68 of file is_ptr_base_of.h.


Member Function Documentation

template<typename B , typename D >
template<typename V , typename W >
static std::conditional<std::is_base_of<V, W>::value, char, int>::type qx::trait::is_ptr_base_of< B, D >::removePtr ( const volatile V *const  volatile,
const volatile W *const  volatile 
) [static, private]
template<typename B , typename D >
static int qx::trait::is_ptr_base_of< B, D >::removePtr (   ...) [static, private]

Member Data Documentation

template<typename B , typename D >
B qx::trait::is_ptr_base_of< B, D >::b [static, private]

Definition at line 63 of file is_ptr_base_of.h.

template<typename B , typename D >
D qx::trait::is_ptr_base_of< B, D >::d [static, private]

Definition at line 64 of file is_ptr_base_of.h.


The documentation for this class was generated from the following file: