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

Public Types

typedef T element_type
 
typedef T *lazy_ptr::* unspecified_bool_type
 
typedef odb::database database_type
 

Public Member Functions

 lazy_ptr ()
 
template<class Y >
 lazy_ptr (Y *)
 
 lazy_ptr (const lazy_ptr &)
 
template<class Y >
 lazy_ptr (const lazy_ptr< Y > &)
 
lazy_ptroperator= (const lazy_ptr &)
 
template<class Y >
lazy_ptroperator= (Y *)
 
template<class Y >
lazy_ptroperator= (const lazy_ptr< Y > &)
 
void swap (lazy_ptr &)
 
void reset ()
 
template<class Y >
void reset (Y *)
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
 operator unspecified_bool_type () const
 
bool loaded () const
 
T * load () const
 
void unload () const
 
T * get_eager () const
 
template<class DB , class ID >
 lazy_ptr (DB &, const ID &)
 
template<class DB , class Y >
 lazy_ptr (DB &, Y *)
 
template<class DB , class ID >
void reset (DB &, const ID &)
 
template<class DB , class Y >
void reset (DB &, Y *)
 
template<class O >
object_traits< O >::id_type object_id () const
 
database_typedatabase () const
 
template<class Y >
bool equal (const lazy_ptr< Y > &) const
 

Friends

template<class Y >
class lazy_ptr
 

Member Typedef Documentation

template<class T >
typedef T odb::lazy_ptr< T >::element_type
template<class T >
typedef T* lazy_ptr::* odb::lazy_ptr< T >::unspecified_bool_type
template<class T >
typedef odb::database odb::lazy_ptr< T >::database_type

Constructor & Destructor Documentation

template<class T >
odb::lazy_ptr< T >::lazy_ptr ( )
template<class T >
template<class Y >
odb::lazy_ptr< T >::lazy_ptr ( Y *  )
template<class T >
odb::lazy_ptr< T >::lazy_ptr ( const lazy_ptr< T > &  )
template<class T >
template<class Y >
odb::lazy_ptr< T >::lazy_ptr ( const lazy_ptr< Y > &  )
template<class T >
template<class DB , class ID >
odb::lazy_ptr< T >::lazy_ptr ( DB &  ,
const ID &   
)
template<class T >
template<class DB , class Y >
odb::lazy_ptr< T >::lazy_ptr ( DB &  ,
Y *   
)

Member Function Documentation

template<class T >
lazy_ptr& odb::lazy_ptr< T >::operator= ( const lazy_ptr< T > &  )
template<class T >
template<class Y >
lazy_ptr& odb::lazy_ptr< T >::operator= ( Y *  )
template<class T >
template<class Y >
lazy_ptr& odb::lazy_ptr< T >::operator= ( const lazy_ptr< Y > &  )
template<class T >
void odb::lazy_ptr< T >::swap ( lazy_ptr< T > &  )
template<class T >
void odb::lazy_ptr< T >::reset ( )
template<class T >
template<class Y >
void odb::lazy_ptr< T >::reset ( Y *  )
template<class T >
T& odb::lazy_ptr< T >::operator* ( ) const
template<class T >
T* odb::lazy_ptr< T >::operator-> ( ) const
template<class T >
T* odb::lazy_ptr< T >::get ( ) const
template<class T >
odb::lazy_ptr< T >::operator unspecified_bool_type ( ) const
inline
template<class T >
bool odb::lazy_ptr< T >::loaded ( ) const
template<class T >
T* odb::lazy_ptr< T >::load ( ) const
template<class T >
void odb::lazy_ptr< T >::unload ( ) const
template<class T >
T* odb::lazy_ptr< T >::get_eager ( ) const
template<class T >
template<class DB , class ID >
void odb::lazy_ptr< T >::reset ( DB &  ,
const ID &   
)
template<class T >
template<class DB , class Y >
void odb::lazy_ptr< T >::reset ( DB &  ,
Y *   
)
template<class T >
template<class O >
object_traits<O>::id_type odb::lazy_ptr< T >::object_id ( ) const
template<class T >
database_type& odb::lazy_ptr< T >::database ( ) const
template<class T >
template<class Y >
bool odb::lazy_ptr< T >::equal ( const lazy_ptr< Y > &  ) const

Friends And Related Function Documentation

template<class T >
template<class Y >
friend class lazy_ptr
friend

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