#include <scoped_ptr.hpp>
Public Member Functions | |
T * | get () const |
T * | operator-> () |
const T * | operator-> () const |
T * | release () |
void | reset (T *p=0) |
scoped_ptr () | |
scoped_ptr (T *p) | |
~scoped_ptr () | |
Private Member Functions | |
scoped_ptr & | operator= (const scoped_ptr &) |
scoped_ptr (const scoped_ptr &) | |
Private Attributes | |
T * | ptr_ |
Friends | |
void | swap (scoped_ptr< T > &a, scoped_ptr< T > &b) |
Definition at line 38 of file scoped_ptr.hpp.
KDL::scoped_ptr< T >::scoped_ptr | ( | ) | [inline] |
Definition at line 40 of file scoped_ptr.hpp.
KDL::scoped_ptr< T >::scoped_ptr | ( | T * | p | ) | [inline, explicit] |
Definition at line 41 of file scoped_ptr.hpp.
KDL::scoped_ptr< T >::~scoped_ptr | ( | ) | [inline] |
Definition at line 43 of file scoped_ptr.hpp.
KDL::scoped_ptr< T >::scoped_ptr | ( | const scoped_ptr< T > & | ) | [private] |
T* KDL::scoped_ptr< T >::get | ( | ) | const [inline] |
Definition at line 48 of file scoped_ptr.hpp.
T* KDL::scoped_ptr< T >::operator-> | ( | ) | [inline] |
Definition at line 45 of file scoped_ptr.hpp.
const T* KDL::scoped_ptr< T >::operator-> | ( | ) | const [inline] |
Definition at line 46 of file scoped_ptr.hpp.
scoped_ptr& KDL::scoped_ptr< T >::operator= | ( | const scoped_ptr< T > & | ) | [private] |
T* KDL::scoped_ptr< T >::release | ( | ) | [inline] |
Definition at line 56 of file scoped_ptr.hpp.
void KDL::scoped_ptr< T >::reset | ( | T * | p = 0 | ) | [inline] |
Definition at line 50 of file scoped_ptr.hpp.
void swap | ( | scoped_ptr< T > & | a, |
scoped_ptr< T > & | b | ||
) | [friend] |
T* KDL::scoped_ptr< T >::ptr_ [private] |
Definition at line 68 of file scoped_ptr.hpp.