ardour
Public Types | Public Member Functions | Private Types | Private Attributes | Friends | List of all members
boost::shared_ptr< T > Class Template Reference

#include <shared_ptr.hpp>

Inheritance diagram for boost::shared_ptr< T >:
ARDOUR::ComparableSharedPtr< T >

Public Types

typedef T element_type
 
typedef T value_type
 
typedef T * pointer
 
typedef
detail::shared_ptr_traits< T >
::reference 
reference
 
typedef T *this_type::* unspecified_bool_type
 

Public Member Functions

 shared_ptr ()
 
template<class Y >
 shared_ptr (Y *p)
 
template<class Y , class D >
 shared_ptr (Y *p, D d)
 
template<class Y >
 shared_ptr (weak_ptr< Y > const &r)
 
template<class Y >
 shared_ptr (shared_ptr< Y > const &r)
 
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, detail::static_cast_tag)
 
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, detail::const_cast_tag)
 
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, detail::dynamic_cast_tag)
 
template<class Y >
 shared_ptr (shared_ptr< Y > const &r, detail::polymorphic_cast_tag)
 
template<class Y >
 shared_ptr (std::auto_ptr< Y > &r)
 
template<class Y >
shared_ptroperator= (shared_ptr< Y > const &r)
 
template<class Y >
shared_ptroperator= (std::auto_ptr< Y > &r)
 
void reset ()
 
template<class Y >
void reset (Y *p)
 
template<class Y , class D >
void reset (Y *p, D d)
 
reference operator* () const
 
T * operator-> () const
 
T * get () const
 
 operator unspecified_bool_type () const
 
bool operator! () const
 
bool unique () const
 
long use_count () const
 
void swap (shared_ptr< T > &other)
 
template<class Y >
bool _internal_less (shared_ptr< Y > const &rhs) const
 
void * _internal_get_deleter (std::type_info const &ti) const
 

Private Types

typedef shared_ptr< T > this_type
 

Private Attributes

T * px
 
detail::shared_count pn
 
PBD::thing_with_backtrace< T > bt
 

Friends

template<class Y >
class shared_ptr
 
template<class Y >
class weak_ptr
 

Detailed Description

template<class T>
class boost::shared_ptr< T >

Definition at line 116 of file shared_ptr.hpp.

Member Typedef Documentation

template<class T>
typedef T boost::shared_ptr< T >::element_type

Definition at line 125 of file shared_ptr.hpp.

template<class T>
typedef T* boost::shared_ptr< T >::pointer

Definition at line 127 of file shared_ptr.hpp.

template<class T>
typedef detail::shared_ptr_traits<T>::reference boost::shared_ptr< T >::reference

Definition at line 128 of file shared_ptr.hpp.

template<class T>
typedef shared_ptr<T> boost::shared_ptr< T >::this_type
private

Definition at line 121 of file shared_ptr.hpp.

template<class T>
typedef T* this_type::* boost::shared_ptr< T >::unspecified_bool_type

Definition at line 295 of file shared_ptr.hpp.

template<class T>
typedef T boost::shared_ptr< T >::value_type

Definition at line 126 of file shared_ptr.hpp.

Constructor & Destructor Documentation

template<class T>
boost::shared_ptr< T >::shared_ptr ( )
inline

Definition at line 130 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( Y *  p)
inlineexplicit

Definition at line 135 of file shared_ptr.hpp.

template<class T>
template<class Y , class D >
boost::shared_ptr< T >::shared_ptr ( Y *  p,
d 
)
inline

Definition at line 146 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( weak_ptr< Y > const &  r)
inlineexplicit

Definition at line 166 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r)
inline

Definition at line 173 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
detail::static_cast_tag   
)
inline

Definition at line 178 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
detail::const_cast_tag   
)
inline

Definition at line 183 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
detail::dynamic_cast_tag   
)
inline

Definition at line 188 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( shared_ptr< Y > const &  r,
detail::polymorphic_cast_tag   
)
inline

Definition at line 197 of file shared_ptr.hpp.

template<class T>
template<class Y >
boost::shared_ptr< T >::shared_ptr ( std::auto_ptr< Y > &  r)
inlineexplicit

Definition at line 208 of file shared_ptr.hpp.

Member Function Documentation

template<class T>
void* boost::shared_ptr< T >::_internal_get_deleter ( std::type_info const &  ti) const
inline

Definition at line 332 of file shared_ptr.hpp.

template<class T>
template<class Y >
bool boost::shared_ptr< T >::_internal_less ( shared_ptr< Y > const &  rhs) const
inline

Definition at line 327 of file shared_ptr.hpp.

template<class T>
T* boost::shared_ptr< T >::get ( ) const
inline

Definition at line 268 of file shared_ptr.hpp.

template<class T>
boost::shared_ptr< T >::operator unspecified_bool_type ( ) const
inline

Definition at line 297 of file shared_ptr.hpp.

template<class T>
bool boost::shared_ptr< T >::operator! ( ) const
inline

Definition at line 306 of file shared_ptr.hpp.

template<class T>
reference boost::shared_ptr< T >::operator* ( ) const
inline

Definition at line 256 of file shared_ptr.hpp.

template<class T>
T* boost::shared_ptr< T >::operator-> ( ) const
inline

Definition at line 262 of file shared_ptr.hpp.

template<class T>
template<class Y >
shared_ptr& boost::shared_ptr< T >::operator= ( shared_ptr< Y > const &  r)
inline

Definition at line 220 of file shared_ptr.hpp.

template<class T>
template<class Y >
shared_ptr& boost::shared_ptr< T >::operator= ( std::auto_ptr< Y > &  r)
inline

Definition at line 232 of file shared_ptr.hpp.

template<class T>
void boost::shared_ptr< T >::reset ( )
inline

Definition at line 240 of file shared_ptr.hpp.

template<class T>
template<class Y >
void boost::shared_ptr< T >::reset ( Y *  p)
inline

Definition at line 245 of file shared_ptr.hpp.

template<class T>
template<class Y , class D >
void boost::shared_ptr< T >::reset ( Y *  p,
d 
)
inline

Definition at line 251 of file shared_ptr.hpp.

template<class T>
void boost::shared_ptr< T >::swap ( shared_ptr< T > &  other)
inline

Definition at line 321 of file shared_ptr.hpp.

template<class T>
bool boost::shared_ptr< T >::unique ( ) const
inline

Definition at line 311 of file shared_ptr.hpp.

template<class T>
long boost::shared_ptr< T >::use_count ( ) const
inline

Definition at line 316 of file shared_ptr.hpp.

Friends And Related Function Documentation

template<class T>
template<class Y >
friend class shared_ptr
friend

Definition at line 344 of file shared_ptr.hpp.

template<class T>
template<class Y >
friend class weak_ptr
friend

Definition at line 345 of file shared_ptr.hpp.

Member Data Documentation

template<class T>
PBD::thing_with_backtrace<T> boost::shared_ptr< T >::bt
private

Definition at line 351 of file shared_ptr.hpp.

template<class T>
detail::shared_count boost::shared_ptr< T >::pn
private

Definition at line 350 of file shared_ptr.hpp.

template<class T>
T* boost::shared_ptr< T >::px
private

Definition at line 349 of file shared_ptr.hpp.


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