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

Public Types

typedef T element_type
 
typedef std::auto_ptr< T >
lazy_auto_ptr::* 
unspecified_bool_type
 
typedef odb::database database_type
 

Public Member Functions

 lazy_auto_ptr (T *=0)
 
 lazy_auto_ptr (lazy_auto_ptr &)
 
template<class Y >
 lazy_auto_ptr (lazy_auto_ptr< Y > &)
 
lazy_auto_ptroperator= (lazy_auto_ptr &)
 
template<class Y >
lazy_auto_ptroperator= (lazy_auto_ptr< Y > &)
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
T * release ()
 
void reset (T *=0)
 
 lazy_auto_ptr (const lazy_auto_ptr_ref< T > &)
 
lazy_auto_ptroperator= (const lazy_auto_ptr_ref< T > &)
 
template<class Y >
 operator lazy_auto_ptr_ref< Y > ()
 
template<class Y >
 operator lazy_auto_ptr< Y > ()
 
 operator unspecified_bool_type () const
 
template<class Y >
 lazy_auto_ptr (std::auto_ptr< Y > &)
 
 lazy_auto_ptr (std::auto_ptr_ref< T >)
 
template<class Y >
lazy_auto_ptroperator= (std::auto_ptr< Y > &)
 
lazy_auto_ptroperator= (std::auto_ptr_ref< T >)
 
bool loaded () const
 
std::auto_ptr< T > & load () const
 
void unload () const
 
std::auto_ptr< T > & get_eager () const
 
template<class DB , class ID >
 lazy_auto_ptr (DB &, const ID &)
 
template<class DB >
 lazy_auto_ptr (DB &, T *)
 
template<class DB , class Y >
 lazy_auto_ptr (DB &, std::auto_ptr< Y > &)
 
template<class DB , class ID >
void reset (DB &, const ID &)
 
template<class DB >
void reset (DB &, T *)
 
template<class DB , class Y >
void reset (DB &, std::auto_ptr< Y > &)
 
template<class O >
object_traits< O >::id_type object_id () const
 
database_typedatabase () const
 

Friends

template<class Y >
class lazy_auto_ptr
 

Member Typedef Documentation

template<class T >
typedef T odb::lazy_auto_ptr< T >::element_type
template<class T >
typedef std::auto_ptr<T> lazy_auto_ptr::* odb::lazy_auto_ptr< T >::unspecified_bool_type
template<class T >
typedef odb::database odb::lazy_auto_ptr< T >::database_type

Constructor & Destructor Documentation

template<class T >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( T *  = 0)
explicit
template<class T >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( lazy_auto_ptr< T > &  )
template<class T >
template<class Y >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( lazy_auto_ptr< Y > &  )
template<class T >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( const lazy_auto_ptr_ref< T > &  )
template<class T >
template<class Y >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( std::auto_ptr< Y > &  )
template<class T >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( std::auto_ptr_ref< T >  )
template<class T >
template<class DB , class ID >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( DB &  ,
const ID &   
)
template<class T >
template<class DB >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( DB &  ,
T *   
)
template<class T >
template<class DB , class Y >
odb::lazy_auto_ptr< T >::lazy_auto_ptr ( DB &  ,
std::auto_ptr< Y > &   
)

Member Function Documentation

template<class T >
lazy_auto_ptr& odb::lazy_auto_ptr< T >::operator= ( lazy_auto_ptr< T > &  )
template<class T >
template<class Y >
lazy_auto_ptr& odb::lazy_auto_ptr< T >::operator= ( lazy_auto_ptr< Y > &  )
template<class T >
T& odb::lazy_auto_ptr< T >::operator* ( ) const
template<class T >
T* odb::lazy_auto_ptr< T >::operator-> ( ) const
template<class T >
T* odb::lazy_auto_ptr< T >::get ( ) const
template<class T >
T* odb::lazy_auto_ptr< T >::release ( )
template<class T >
void odb::lazy_auto_ptr< T >::reset ( T *  = 0)
template<class T >
lazy_auto_ptr& odb::lazy_auto_ptr< T >::operator= ( const lazy_auto_ptr_ref< T > &  )
template<class T >
template<class Y >
odb::lazy_auto_ptr< T >::operator lazy_auto_ptr_ref< Y > ( )
template<class T >
template<class Y >
odb::lazy_auto_ptr< T >::operator lazy_auto_ptr< Y > ( )
template<class T >
odb::lazy_auto_ptr< T >::operator unspecified_bool_type ( ) const
inline
template<class T >
template<class Y >
lazy_auto_ptr& odb::lazy_auto_ptr< T >::operator= ( std::auto_ptr< Y > &  )
template<class T >
lazy_auto_ptr& odb::lazy_auto_ptr< T >::operator= ( std::auto_ptr_ref< T >  )
template<class T >
bool odb::lazy_auto_ptr< T >::loaded ( ) const
template<class T >
std::auto_ptr<T>& odb::lazy_auto_ptr< T >::load ( ) const
template<class T >
void odb::lazy_auto_ptr< T >::unload ( ) const
template<class T >
std::auto_ptr<T>& odb::lazy_auto_ptr< T >::get_eager ( ) const
template<class T >
template<class DB , class ID >
void odb::lazy_auto_ptr< T >::reset ( DB &  ,
const ID &   
)
template<class T >
template<class DB >
void odb::lazy_auto_ptr< T >::reset ( DB &  ,
T *   
)
template<class T >
template<class DB , class Y >
void odb::lazy_auto_ptr< T >::reset ( DB &  ,
std::auto_ptr< Y > &   
)
template<class T >
template<class O >
object_traits<O>::id_type odb::lazy_auto_ptr< T >::object_id ( ) const
template<class T >
database_type& odb::lazy_auto_ptr< T >::database ( ) const

Friends And Related Function Documentation

template<class T >
template<class Y >
friend class lazy_auto_ptr
friend

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