Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
KDL::scoped_ptr< T > Class Template Reference

#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_ptroperator= (const scoped_ptr &)
 
 scoped_ptr (const scoped_ptr &)
 

Private Attributes

T * ptr_
 

Friends

void swap (scoped_ptr< T > &a, scoped_ptr< T > &b)
 

Detailed Description

template<typename T>
class KDL::scoped_ptr< T >

Definition at line 33 of file scoped_ptr.hpp.

Constructor & Destructor Documentation

template<typename T>
KDL::scoped_ptr< T >::scoped_ptr ( )
inline

Definition at line 40 of file scoped_ptr.hpp.

template<typename T>
KDL::scoped_ptr< T >::scoped_ptr ( T *  p)
inlineexplicit

Definition at line 41 of file scoped_ptr.hpp.

template<typename T>
KDL::scoped_ptr< T >::~scoped_ptr ( )
inline

Definition at line 43 of file scoped_ptr.hpp.

template<typename T>
KDL::scoped_ptr< T >::scoped_ptr ( const scoped_ptr< T > &  )
private

Member Function Documentation

template<typename T>
T* KDL::scoped_ptr< T >::get ( ) const
inline

Definition at line 48 of file scoped_ptr.hpp.

template<typename T>
T* KDL::scoped_ptr< T >::operator-> ( )
inline

Definition at line 45 of file scoped_ptr.hpp.

template<typename T>
const T* KDL::scoped_ptr< T >::operator-> ( ) const
inline

Definition at line 46 of file scoped_ptr.hpp.

template<typename T>
scoped_ptr& KDL::scoped_ptr< T >::operator= ( const scoped_ptr< T > &  )
private
template<typename T>
T* KDL::scoped_ptr< T >::release ( )
inline

Definition at line 56 of file scoped_ptr.hpp.

template<typename T>
void KDL::scoped_ptr< T >::reset ( T *  p = 0)
inline

Definition at line 50 of file scoped_ptr.hpp.

Friends And Related Function Documentation

template<typename T>
void swap ( scoped_ptr< T > &  a,
scoped_ptr< T > &  b 
)
friend

Definition at line 72 of file scoped_ptr.hpp.

Member Data Documentation

template<typename T>
T* KDL::scoped_ptr< T >::ptr_
private

Definition at line 68 of file scoped_ptr.hpp.


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


orocos_kdl
Author(s):
autogenerated on Fri Mar 12 2021 03:05:44