Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | List of all members
odb::reference_cache_traits_impl< T, S, pk_raw > Struct Template Reference

Public Types

typedef T object_type
 
typedef object_traits
< object_type >::pointer_type 
pointer_type
 
typedef object_traits
< object_type >::id_type 
id_type
 
typedef pointer_cache_traits
< pointer_type, S > 
pointer_traits
 
typedef
pointer_traits::position_type 
position_type
 
typedef
pointer_traits::insert_guard 
insert_guard
 

Static Public Member Functions

static position_type insert (odb::database &db, const id_type &id, object_type &obj)
 
static position_type insert (odb::database &db, object_type &obj)
 
static void persist (const position_type &p)
 
static void load (const position_type &p)
 

Member Typedef Documentation

template<typename T , typename S >
typedef T odb::reference_cache_traits_impl< T, S, pk_raw >::object_type
template<typename T , typename S >
typedef object_traits<object_type>::pointer_type odb::reference_cache_traits_impl< T, S, pk_raw >::pointer_type
template<typename T , typename S >
typedef object_traits<object_type>::id_type odb::reference_cache_traits_impl< T, S, pk_raw >::id_type
template<typename T , typename S >
typedef pointer_cache_traits<pointer_type, S> odb::reference_cache_traits_impl< T, S, pk_raw >::pointer_traits
template<typename T , typename S >
typedef pointer_traits::position_type odb::reference_cache_traits_impl< T, S, pk_raw >::position_type
template<typename T , typename S >
typedef pointer_traits::insert_guard odb::reference_cache_traits_impl< T, S, pk_raw >::insert_guard

Member Function Documentation

template<typename T , typename S >
static position_type odb::reference_cache_traits_impl< T, S, pk_raw >::insert ( odb::database db,
const id_type id,
object_type obj 
)
inlinestatic
template<typename T , typename S >
static position_type odb::reference_cache_traits_impl< T, S, pk_raw >::insert ( odb::database db,
object_type obj 
)
inlinestatic
template<typename T , typename S >
static void odb::reference_cache_traits_impl< T, S, pk_raw >::persist ( const position_type p)
inlinestatic
template<typename T , typename S >
static void odb::reference_cache_traits_impl< T, S, pk_raw >::load ( const position_type p)
inlinestatic

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