Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

counted_ptr< X > Class Template Reference

#include <counted_ptr.h>

Inheritance diagram for counted_ptr< X >:

Inheritance graph
[legend]
Collaboration diagram for counted_ptr< X >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef X element_type

Public Methods

 counted_ptr (X *p=0)
 ~counted_ptr ()
 counted_ptr (const counted_ptr &r) throw ()
counted_ptr & operator= (const counted_ptr &r)
counted_ptr & operator= (element_type *r)
template<class Y>  counted_ptr (const counted_ptr< Y > &r) throw ()
template<class Y> counted_ptr & operator= (const counted_ptr< Y > &r)
X & operator * () const throw ()
X * operator-> () const throw ()
X * get () const throw ()
bool unique () const throw ()

template<class X>
class counted_ptr< X >


Member Typedef Documentation

template<class X>
typedef X counted_ptr< X >::element_type
 

Definition at line 17 of file counted_ptr.h.


Constructor & Destructor Documentation

template<class X>
counted_ptr< X >::counted_ptr X *    p = 0 [inline, explicit]
 

Definition at line 19 of file counted_ptr.h.

template<class X>
counted_ptr< X >::~counted_ptr   [inline]
 

Definition at line 21 of file counted_ptr.h.

template<class X>
counted_ptr< X >::counted_ptr const counted_ptr< X > &    r throw () [inline]
 

Definition at line 23 of file counted_ptr.h.

template<class X>
template<class Y>
counted_ptr< X >::counted_ptr const counted_ptr< Y > &    r throw () [inline]
 

Definition at line 43 of file counted_ptr.h.


Member Function Documentation

template<class X>
X* counted_ptr< X >::get   const throw () [inline]
 

Definition at line 57 of file counted_ptr.h.

template<class X>
X& counted_ptr< X >::operator *   const throw () [inline]
 

Definition at line 55 of file counted_ptr.h.

template<class X>
X* counted_ptr< X >::operator->   const throw () [inline]
 

Definition at line 56 of file counted_ptr.h.

template<class X>
template<class Y>
counted_ptr& counted_ptr< X >::operator= const counted_ptr< Y > &    r [inline]
 

Definition at line 45 of file counted_ptr.h.

template<class X>
counted_ptr& counted_ptr< X >::operator= element_type   r [inline]
 

Definition at line 33 of file counted_ptr.h.

template<class X>
counted_ptr& counted_ptr< X >::operator= const counted_ptr< X > &    r [inline]
 

Definition at line 25 of file counted_ptr.h.

template<class X>
bool counted_ptr< X >::unique   const throw () [inline]
 

Definition at line 58 of file counted_ptr.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:58:48 2003 for COCONUT API by doxygen1.2.18