Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ndk::shared_ptr< T > Struct Template Reference

Inheritance diagram for ndk::shared_ptr< T >:

Inheritance graph
[legend]
Collaboration diagram for ndk::shared_ptr< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 shared_ptr (T *ptr=0)
 ~shared_ptr ()
 shared_ptr (const shared_ptr< T > &other)
shared_ptroperator= (const shared_ptr< T > &other)
T * operator-> () const
T * get () const
void swap (shared_ptr< T > &other)

Public Attributes

ncurses::counter counter_
T * ptr_

template<typename T>
struct ndk::shared_ptr< T >


Constructor & Destructor Documentation

template<typename T>
ndk::shared_ptr< T >::shared_ptr T *  ptr = 0  )  [inline]
 

template<typename T>
ndk::shared_ptr< T >::~shared_ptr  )  [inline]
 

template<typename T>
ndk::shared_ptr< T >::shared_ptr const shared_ptr< T > &  other  )  [inline]
 


Member Function Documentation

template<typename T>
T* ndk::shared_ptr< T >::get  )  const [inline]
 

template<typename T>
T* ndk::shared_ptr< T >::operator->  )  const [inline]
 

template<typename T>
shared_ptr& ndk::shared_ptr< T >::operator= const shared_ptr< T > &  other  )  [inline]
 

template<typename T>
void ndk::shared_ptr< T >::swap shared_ptr< T > &  other  )  [inline]
 


Member Data Documentation

template<typename T>
ncurses::counter ndk::shared_ptr< T >::counter_
 

template<typename T>
T* ndk::shared_ptr< T >::ptr_
 


The documentation for this struct was generated from the following file:
Generated on Fri Jun 4 16:21:02 2004 for NDK++ by doxygen 1.3.6