Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
odb::lazy_ptr_impl< T > Class Template Reference
Inheritance diagram for odb::lazy_ptr_impl< T >:
odb::lazy_ptr_base

Public Member Functions

 lazy_ptr_impl ()
 
template<typename DB , typename ID >
 lazy_ptr_impl (DB &, const ID &)
 
 lazy_ptr_impl (const lazy_ptr_impl &)
 
template<typename Y >
 lazy_ptr_impl (const lazy_ptr_impl< Y > &)
 
 lazy_ptr_impl (const lazy_ptr_impl_ref &)
 
lazy_ptr_imploperator= (const lazy_ptr_impl &)
 
template<typename Y >
lazy_ptr_imploperator= (const lazy_ptr_impl< Y > &)
 
lazy_ptr_imploperator= (const lazy_ptr_impl_ref &)
 
template<typename DB , typename ID >
void reset (DB &, const ID &)
 
template<typename DB >
void reset_db (DB &)
 
template<typename ID >
void reset_id (const ID &)
 
template<typename O >
object_traits< O >::pointer_type load (bool reset_id)
 
template<typename O >
object_traits< O >::id_type object_id () const
 
- Public Member Functions inherited from odb::lazy_ptr_base
 ~lazy_ptr_base ()
 
 lazy_ptr_base ()
 
 lazy_ptr_base (const lazy_ptr_base &)
 
 lazy_ptr_base (const lazy_ptr_impl_ref &)
 
lazy_ptr_baseoperator= (const lazy_ptr_base &)
 
lazy_ptr_baseoperator= (const lazy_ptr_impl_ref &)
 
void reset ()
 
void reset_id ()
 
void swap (lazy_ptr_base &)
 
database_typedatabase () const
 
 operator unspecified_bool_type () const
 
 operator lazy_ptr_impl_ref ()
 

Additional Inherited Members

- Public Types inherited from odb::lazy_ptr_base
typedef odb::database database_type
 
typedef void *lazy_ptr_base::* unspecified_bool_type
 
- Protected Types inherited from odb::lazy_ptr_base
typedef void(* free_func )(void *)
 
typedef void *(* copy_func )(const void *)
 
- Protected Member Functions inherited from odb::lazy_ptr_base
void reset_ (database_type *, void *loader, const void *id, free_func, copy_func)
 
- Static Protected Member Functions inherited from odb::lazy_ptr_base
template<typename T >
static void free (void *)
 
template<typename T >
static void * copy (const void *)
 
template<typename T , typename DB >
static object_traits< T >
::pointer_type 
loader (database_type &, const typename object_traits< T >::id_type &)
 
- Protected Attributes inherited from odb::lazy_ptr_base
void * id_
 
database_typedb_
 
void * loader_
 

Constructor & Destructor Documentation

template<typename T >
odb::lazy_ptr_impl< T >::lazy_ptr_impl ( )
template<typename T >
template<typename DB , typename ID >
odb::lazy_ptr_impl< T >::lazy_ptr_impl ( DB &  ,
const ID &   
)
template<typename T >
odb::lazy_ptr_impl< T >::lazy_ptr_impl ( const lazy_ptr_impl< T > &  )
template<typename T >
template<typename Y >
odb::lazy_ptr_impl< T >::lazy_ptr_impl ( const lazy_ptr_impl< Y > &  )
template<typename T >
odb::lazy_ptr_impl< T >::lazy_ptr_impl ( const lazy_ptr_impl_ref )

Member Function Documentation

template<typename T >
lazy_ptr_impl& odb::lazy_ptr_impl< T >::operator= ( const lazy_ptr_impl< T > &  )
template<typename T >
template<typename Y >
lazy_ptr_impl& odb::lazy_ptr_impl< T >::operator= ( const lazy_ptr_impl< Y > &  )
template<typename T >
lazy_ptr_impl& odb::lazy_ptr_impl< T >::operator= ( const lazy_ptr_impl_ref )
template<typename T >
template<typename DB , typename ID >
void odb::lazy_ptr_impl< T >::reset ( DB &  ,
const ID &   
)
template<typename T >
template<typename DB >
void odb::lazy_ptr_impl< T >::reset_db ( DB &  )
template<typename T >
template<typename ID >
void odb::lazy_ptr_impl< T >::reset_id ( const ID &  )
template<typename T >
template<typename O >
object_traits<O>::pointer_type odb::lazy_ptr_impl< T >::load ( bool  reset_id)
template<typename T >
template<typename O >
object_traits<O>::id_type odb::lazy_ptr_impl< T >::object_id ( ) const

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