rheolef  6.3
Public Member Functions | Private Types | List of all members
rheolef::smart_pointer< T > Class Template Reference

#include <smart_pointer.h>

Inheritance diagram for rheolef::smart_pointer< T >:
Inheritance graph
[legend]
Collaboration diagram for rheolef::smart_pointer< T >:
Collaboration graph
[legend]

Public Member Functions

 smart_pointer (T *p=0)
 smart_pointer (const smart_pointer< T > &x)
smart_pointer< T > & operator= (const smart_pointer< T > &x)
 ~smart_pointer ()
- Public Member Functions inherited from rheolef::smart_pointer_base< T, details::constructor_copy< T > >
 smart_pointer_base (T *p=0)
 smart_pointer_base (const smart_pointer_base< T, details::constructor_copy< T > > &)
smart_pointer_base< T,
details::constructor_copy< T > > & 
operator= (const smart_pointer_base< T, details::constructor_copy< T > > &)
 ~smart_pointer_base ()
const T * pointer () const
T * pointer ()
const T & data () const
T & data ()
const T * operator-> () const
T * operator-> ()
const T & operator* () const
T & operator* ()
int reference_counter () const

Private Types

typedef
details::constructor_copy< T > 
C
typedef smart_pointer_base< T, Cbase

Detailed Description

template<typename T>
class rheolef::smart_pointer< T >

Definition at line 265 of file smart_pointer.h.

Member Typedef Documentation

template<typename T>
typedef details::constructor_copy<T> rheolef::smart_pointer< T >::C
private

Definition at line 266 of file smart_pointer.h.

template<typename T>
typedef smart_pointer_base<T,C> rheolef::smart_pointer< T >::base
private

Definition at line 267 of file smart_pointer.h.

Constructor & Destructor Documentation

template<typename T>
rheolef::smart_pointer< T >::smart_pointer ( T *  p = 0)
inline

Definition at line 269 of file smart_pointer.h.

template<typename T>
rheolef::smart_pointer< T >::smart_pointer ( const smart_pointer< T > &  x)
inline

Definition at line 270 of file smart_pointer.h.

template<typename T>
rheolef::smart_pointer< T >::~smart_pointer ( )
inline

Definition at line 273 of file smart_pointer.h.

Member Function Documentation

template<typename T>
smart_pointer<T>& rheolef::smart_pointer< T >::operator= ( const smart_pointer< T > &  x)
inline

Definition at line 271 of file smart_pointer.h.


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