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_shared_ptr< T > Class Template Reference

Public Types

typedef T element_type
 
typedef std::tr1::shared_ptr
< T > lazy_shared_ptr::* 
unspecified_bool_type
 
typedef odb::database database_type
 

Public Member Functions

 lazy_shared_ptr ()
 
template<class Y >
 lazy_shared_ptr (Y *)
 
template<class Y , class D >
 lazy_shared_ptr (Y *, D)
 
 lazy_shared_ptr (const lazy_shared_ptr &)
 
template<class Y >
 lazy_shared_ptr (const lazy_shared_ptr< Y > &)
 
template<class Y >
 lazy_shared_ptr (const lazy_weak_ptr< Y > &)
 
template<class Y >
 lazy_shared_ptr (std::auto_ptr< Y > &)
 
 ~lazy_shared_ptr ()
 
lazy_shared_ptroperator= (const lazy_shared_ptr &)
 
template<class Y >
lazy_shared_ptroperator= (const lazy_shared_ptr< Y > &)
 
template<class Y >
lazy_shared_ptroperator= (std::auto_ptr< Y > &)
 
void swap (lazy_shared_ptr &)
 
void reset ()
 
template<class Y >
void reset (Y *)
 
template<class Y , class D >
void reset (Y *, D)
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
bool unique () const
 
long use_count () const
 
 operator unspecified_bool_type () const
 
template<class Y >
 lazy_shared_ptr (const std::tr1::shared_ptr< Y > &)
 
template<class Y >
 lazy_shared_ptr (const std::tr1::weak_ptr< Y > &)
 
template<class Y >
lazy_shared_ptroperator= (const std::tr1::shared_ptr< Y > &)
 
bool loaded () const
 
std::tr1::shared_ptr< T > load () const
 
void unload () const
 
std::tr1::shared_ptr< T > get_eager () const
 
template<class DB , class ID >
 lazy_shared_ptr (DB &, const ID &)
 
template<class DB , class Y >
 lazy_shared_ptr (DB &, Y *)
 
template<class DB , class Y , class D >
 lazy_shared_ptr (DB &, Y *, D)
 
template<class DB , class Y >
 lazy_shared_ptr (DB &, std::auto_ptr< Y > &)
 
template<class DB , class Y >
 lazy_shared_ptr (DB &, const std::tr1::shared_ptr< Y > &)
 
template<class DB , class Y >
 lazy_shared_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 &, Y *)
 
template<class DB , class Y , class D >
void reset (DB &, Y *, D)
 
template<class DB , class Y >
void reset (DB &, std::auto_ptr< Y > &)
 
template<class DB , class Y >
void reset (DB &, const std::tr1::shared_ptr< Y > &)
 
template<class O >
object_traits< O >::id_type object_id () const
 
database_typedatabase () const
 
template<class Y >
bool equal (const lazy_shared_ptr< Y > &) 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_shared_ptr< T >::element_type
template<class T>
typedef std::tr1::shared_ptr<T> lazy_shared_ptr::* odb::tr1::lazy_shared_ptr< T >::unspecified_bool_type
template<class T>
typedef odb::database odb::tr1::lazy_shared_ptr< T >::database_type

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T>
lazy_shared_ptr& odb::tr1::lazy_shared_ptr< T >::operator= ( const lazy_shared_ptr< T > &  )
template<class T>
template<class Y >
lazy_shared_ptr& odb::tr1::lazy_shared_ptr< T >::operator= ( const lazy_shared_ptr< Y > &  )
template<class T>
template<class Y >
lazy_shared_ptr& odb::tr1::lazy_shared_ptr< T >::operator= ( std::auto_ptr< Y > &  )
template<class T>
void odb::tr1::lazy_shared_ptr< T >::swap ( lazy_shared_ptr< T > &  )
template<class T>
void odb::tr1::lazy_shared_ptr< T >::reset ( )
template<class T>
template<class Y >
void odb::tr1::lazy_shared_ptr< T >::reset ( Y *  )
template<class T>
template<class Y , class D >
void odb::tr1::lazy_shared_ptr< T >::reset ( Y *  ,
 
)
template<class T>
T& odb::tr1::lazy_shared_ptr< T >::operator* ( ) const
template<class T>
T* odb::tr1::lazy_shared_ptr< T >::operator-> ( ) const
template<class T>
T* odb::tr1::lazy_shared_ptr< T >::get ( ) const
template<class T>
bool odb::tr1::lazy_shared_ptr< T >::unique ( ) const
template<class T>
long odb::tr1::lazy_shared_ptr< T >::use_count ( ) const
template<class T>
odb::tr1::lazy_shared_ptr< T >::operator unspecified_bool_type ( ) const
inline
template<class T>
template<class Y >
lazy_shared_ptr& odb::tr1::lazy_shared_ptr< T >::operator= ( const std::tr1::shared_ptr< Y > &  )
template<class T>
bool odb::tr1::lazy_shared_ptr< T >::loaded ( ) const
template<class T>
std::tr1::shared_ptr<T> odb::tr1::lazy_shared_ptr< T >::load ( ) const
template<class T>
void odb::tr1::lazy_shared_ptr< T >::unload ( ) const
template<class T>
std::tr1::shared_ptr<T> odb::tr1::lazy_shared_ptr< T >::get_eager ( ) const
template<class T>
template<class DB , class ID >
void odb::tr1::lazy_shared_ptr< T >::reset ( DB &  ,
const ID &   
)
template<class T>
template<class DB , class Y >
void odb::tr1::lazy_shared_ptr< T >::reset ( DB &  ,
Y *   
)
template<class T>
template<class DB , class Y , class D >
void odb::tr1::lazy_shared_ptr< T >::reset ( DB &  ,
Y *  ,
 
)
template<class T>
template<class DB , class Y >
void odb::tr1::lazy_shared_ptr< T >::reset ( DB &  ,
std::auto_ptr< Y > &   
)
template<class T>
template<class DB , class Y >
void odb::tr1::lazy_shared_ptr< T >::reset ( DB &  ,
const std::tr1::shared_ptr< Y > &   
)
template<class T>
template<class O >
object_traits<O>::id_type odb::tr1::lazy_shared_ptr< T >::object_id ( ) const
template<class T>
database_type& odb::tr1::lazy_shared_ptr< T >::database ( ) const
template<class T>
template<class Y >
bool odb::tr1::lazy_shared_ptr< T >::equal ( const lazy_shared_ptr< Y > &  ) 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: