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::tr1::lazy_weak_ptr< T > Class Template Reference

Public Types

typedef T element_type
 
typedef odb::database database_type
 

Public Member Functions

 lazy_weak_ptr ()
 
template<class Y >
 lazy_weak_ptr (const lazy_shared_ptr< Y > &)
 
 lazy_weak_ptr (const lazy_weak_ptr &)
 
template<class Y >
 lazy_weak_ptr (const lazy_weak_ptr< Y > &)
 
 ~lazy_weak_ptr ()
 
lazy_weak_ptroperator= (const lazy_weak_ptr &)
 
template<class Y >
lazy_weak_ptroperator= (const lazy_weak_ptr< Y > &)
 
template<class Y >
lazy_weak_ptroperator= (const lazy_shared_ptr< Y > &)
 
void swap (lazy_weak_ptr< T > &)
 
void reset ()
 
long use_count () const
 
bool expired () const
 
lazy_shared_ptr< T > lock () const
 
template<class Y >
 lazy_weak_ptr (const std::tr1::weak_ptr< Y > &)
 
template<class Y >
 lazy_weak_ptr (const std::tr1::shared_ptr< Y > &)
 
template<class Y >
lazy_weak_ptroperator= (const std::tr1::weak_ptr< Y > &)
 
template<class Y >
lazy_weak_ptroperator= (const std::tr1::shared_ptr< Y > &)
 
bool loaded () const
 
std::tr1::shared_ptr< T > load () const
 
void unload () const
 
std::tr1::weak_ptr< T > get_eager () const
 
template<class DB , class ID >
 lazy_weak_ptr (DB &, const ID &)
 
template<class DB , class Y >
 lazy_weak_ptr (DB &, const std::tr1::shared_ptr< Y > &)
 
template<class DB , class Y >
 lazy_weak_ptr (DB &, const std::tr1::weak_ptr< Y > &)
 
template<class DB , class ID >
void reset (DB &, const ID &)
 
template<class DB , class Y >
void reset (DB &, const std::tr1::shared_ptr< Y > &)
 
template<class DB , class Y >
void reset (DB &, const std::tr1::weak_ptr< Y > &)
 
template<class O >
object_traits< O >::id_type object_id () const
 
database_typedatabase () const
 

Friends

template<class Y >
class lazy_shared_ptr
 
template<class Y >
class lazy_weak_ptr
 

Member Typedef Documentation

template<class T >
typedef T odb::tr1::lazy_weak_ptr< T >::element_type
template<class T >
typedef odb::database odb::tr1::lazy_weak_ptr< T >::database_type

Constructor & Destructor Documentation

template<class T >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( )
template<class T >
template<class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( const lazy_shared_ptr< Y > &  )
template<class T >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( const lazy_weak_ptr< T > &  )
template<class T >
template<class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( const lazy_weak_ptr< Y > &  )
template<class T >
odb::tr1::lazy_weak_ptr< T >::~lazy_weak_ptr ( )
template<class T >
template<class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( const std::tr1::weak_ptr< Y > &  )
template<class T >
template<class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( const std::tr1::shared_ptr< Y > &  )
template<class T >
template<class DB , class ID >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( DB &  ,
const ID &   
)
template<class T >
template<class DB , class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( DB &  ,
const std::tr1::shared_ptr< Y > &   
)
template<class T >
template<class DB , class Y >
odb::tr1::lazy_weak_ptr< T >::lazy_weak_ptr ( DB &  ,
const std::tr1::weak_ptr< Y > &   
)

Member Function Documentation

template<class T >
lazy_weak_ptr& odb::tr1::lazy_weak_ptr< T >::operator= ( const lazy_weak_ptr< T > &  )
template<class T >
template<class Y >
lazy_weak_ptr& odb::tr1::lazy_weak_ptr< T >::operator= ( const lazy_weak_ptr< Y > &  )
template<class T >
template<class Y >
lazy_weak_ptr& odb::tr1::lazy_weak_ptr< T >::operator= ( const lazy_shared_ptr< Y > &  )
template<class T >
void odb::tr1::lazy_weak_ptr< T >::swap ( lazy_weak_ptr< T > &  )
template<class T >
void odb::tr1::lazy_weak_ptr< T >::reset ( )
template<class T >
long odb::tr1::lazy_weak_ptr< T >::use_count ( ) const
template<class T >
bool odb::tr1::lazy_weak_ptr< T >::expired ( ) const
template<class T >
lazy_shared_ptr<T> odb::tr1::lazy_weak_ptr< T >::lock ( ) const
template<class T >
template<class Y >
lazy_weak_ptr& odb::tr1::lazy_weak_ptr< T >::operator= ( const std::tr1::weak_ptr< Y > &  )
template<class T >
template<class Y >
lazy_weak_ptr& odb::tr1::lazy_weak_ptr< T >::operator= ( const std::tr1::shared_ptr< Y > &  )
template<class T >
bool odb::tr1::lazy_weak_ptr< T >::loaded ( ) const
template<class T >
std::tr1::shared_ptr<T> odb::tr1::lazy_weak_ptr< T >::load ( ) const
template<class T >
void odb::tr1::lazy_weak_ptr< T >::unload ( ) const
template<class T >
std::tr1::weak_ptr<T> odb::tr1::lazy_weak_ptr< T >::get_eager ( ) const
template<class T >
template<class DB , class ID >
void odb::tr1::lazy_weak_ptr< T >::reset ( DB &  ,
const ID &   
)
template<class T >
template<class DB , class Y >
void odb::tr1::lazy_weak_ptr< T >::reset ( DB &  ,
const std::tr1::shared_ptr< Y > &   
)
template<class T >
template<class DB , class Y >
void odb::tr1::lazy_weak_ptr< T >::reset ( DB &  ,
const std::tr1::weak_ptr< Y > &   
)
template<class T >
template<class O >
object_traits<O>::id_type odb::tr1::lazy_weak_ptr< T >::object_id ( ) const
template<class T >
database_type& odb::tr1::lazy_weak_ptr< T >::database ( ) const

Friends And Related Function Documentation

template<class T >
template<class Y >
friend class lazy_shared_ptr
friend
template<class T >
template<class Y >
friend class lazy_weak_ptr
friend

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