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

Public Types

typedef odb::database database_type
 
typedef void *lazy_ptr_base::* unspecified_bool_type
 

Public Member Functions

 ~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 ()
 

Protected Types

typedef void(* free_func )(void *)
 
typedef void *(* copy_func )(const void *)
 

Protected Member Functions

void reset_ (database_type *, void *loader, const void *id, free_func, copy_func)
 

Static Protected Member Functions

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

void * id_
 
database_typedb_
 
void * loader_
 

Member Typedef Documentation

typedef void* lazy_ptr_base::* odb::lazy_ptr_base::unspecified_bool_type
typedef void(* odb::lazy_ptr_base::free_func)(void *)
protected
typedef void*(* odb::lazy_ptr_base::copy_func)(const void *)
protected

Constructor & Destructor Documentation

odb::lazy_ptr_base::~lazy_ptr_base ( )
odb::lazy_ptr_base::lazy_ptr_base ( )
odb::lazy_ptr_base::lazy_ptr_base ( const lazy_ptr_base )
odb::lazy_ptr_base::lazy_ptr_base ( const lazy_ptr_impl_ref )

Member Function Documentation

lazy_ptr_base& odb::lazy_ptr_base::operator= ( const lazy_ptr_base )
lazy_ptr_base& odb::lazy_ptr_base::operator= ( const lazy_ptr_impl_ref )
void odb::lazy_ptr_base::reset ( )
void odb::lazy_ptr_base::reset_id ( )
void odb::lazy_ptr_base::swap ( lazy_ptr_base )
database_type* odb::lazy_ptr_base::database ( ) const
odb::lazy_ptr_base::operator unspecified_bool_type ( ) const
inline
odb::lazy_ptr_base::operator lazy_ptr_impl_ref ( )
void odb::lazy_ptr_base::reset_ ( database_type ,
void *  loader,
const void *  id,
free_func  ,
copy_func   
)
protected
template<typename T >
static void odb::lazy_ptr_base::free ( void *  )
staticprotected
template<typename T >
static void* odb::lazy_ptr_base::copy ( const void *  )
staticprotected
template<typename T , typename DB >
static object_traits<T>::pointer_type odb::lazy_ptr_base::loader ( database_type ,
const typename object_traits< T >::id_type &   
)
staticprotected

Member Data Documentation

void* odb::lazy_ptr_base::id_
protected
database_type* odb::lazy_ptr_base::db_
protected
void* odb::lazy_ptr_base::loader_
protected

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