|
FAUST compiler
0.9.9.6b8
|
#include <smartpointer.hh>
Public Member Functions | |
| P () | |
| P (T *rawptr) | |
| P (const P &ptr) | |
| template<class T2 > | |
| P (const P< T2 > &ptr) | |
| ~P () | |
| operator T * () const | |
| T & | operator* () const |
| T * | operator-> () const |
| T * | pointee () const |
| P & | operator= (T *p_) |
| P & | operator= (const P< T > &p_) |
| template<class T2 > | |
| P & | cast (T2 *p_) |
| template<class T2 > | |
| P & | cast (const P< T2 > &p_) |
Private Attributes | |
| T * | p |
Definition at line 34 of file smartpointer.hh.
Definition at line 39 of file smartpointer.hh.
: p(rawptr) { }
Definition at line 40 of file smartpointer.hh.
Definition at line 43 of file smartpointer.hh.
Definition at line 45 of file smartpointer.hh.
{ }
Definition at line 69 of file smartpointer.hh.
References P< T >::operator=().
{ return operator=(dynamic_cast<T*>(p_)); }

Definition at line 70 of file smartpointer.hh.
References P< T >::operator=().
{ return operator=(dynamic_cast<T*>(p_)); }

Definition at line 48 of file smartpointer.hh.
References P< T >::p.
Definition at line 56 of file smartpointer.hh.
References P< T >::p.
Definition at line 66 of file smartpointer.hh.
References P< T >::p.
Referenced by P< T >::cast().
{ p = p_; return *this;}

Definition at line 68 of file smartpointer.hh.
References P< T >::operator=(), and T().
Referenced by P< T >::operator=().


Definition at line 36 of file smartpointer.hh.
Referenced by P< T >::operator T *(), P< T >::operator*(), P< T >::operator->(), P< T >::operator=(), and P< T >::pointee().
1.8.0