Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
odb::pointer_traits< T * > Class Template Reference

Public Types

typedef T element_type
 
typedef T * pointer_type
 
typedef const T * const_pointer_type
 
typedef
odb::details::meta::remove_const
< T >::result
unrestricted_pointer_type
 
typedef raw_ptr_guard
< pointer_type
guard
 

Static Public Member Functions

static element_typeget_ptr (pointer_type p)
 
static element_typeget_ref (pointer_type p)
 
static bool null_ptr (pointer_type p)
 
static unrestricted_pointer_type const_pointer_cast (pointer_type p)
 
template<typename T1 >
static T1 * static_pointer_cast (pointer_type p)
 
template<typename T1 >
static T1 * dynamic_pointer_cast (pointer_type p)
 
static void * allocate (std::size_t n)
 
static void free (void *p)
 

Static Public Attributes

static const pointer_kind kind = pk_raw
 
static const bool lazy = false
 

Member Typedef Documentation

template<typename T >
typedef T odb::pointer_traits< T * >::element_type
template<typename T >
typedef T* odb::pointer_traits< T * >::pointer_type
template<typename T >
typedef const T* odb::pointer_traits< T * >::const_pointer_type
template<typename T >
typedef odb::details::meta::remove_const<T>::result* odb::pointer_traits< T * >::unrestricted_pointer_type
template<typename T >
typedef raw_ptr_guard<pointer_type> odb::pointer_traits< T * >::guard

Member Function Documentation

template<typename T >
static element_type* odb::pointer_traits< T * >::get_ptr ( pointer_type  p)
inlinestatic
template<typename T >
static element_type& odb::pointer_traits< T * >::get_ref ( pointer_type  p)
inlinestatic
template<typename T >
static bool odb::pointer_traits< T * >::null_ptr ( pointer_type  p)
inlinestatic
template<typename T >
static unrestricted_pointer_type odb::pointer_traits< T * >::const_pointer_cast ( pointer_type  p)
inlinestatic
template<typename T >
template<typename T1 >
static T1* odb::pointer_traits< T * >::static_pointer_cast ( pointer_type  p)
inlinestatic
template<typename T >
template<typename T1 >
static T1* odb::pointer_traits< T * >::dynamic_pointer_cast ( pointer_type  p)
inlinestatic
template<typename T >
static void* odb::pointer_traits< T * >::allocate ( std::size_t  n)
inlinestatic
template<typename T >
static void odb::pointer_traits< T * >::free ( void *  p)
inlinestatic

Member Data Documentation

template<typename T >
const pointer_kind odb::pointer_traits< T * >::kind = pk_raw
static
template<typename T >
const bool odb::pointer_traits< T * >::lazy = false
static

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