#include <autopointers.h>
Public Member Functions | |
| RefcountedPointer () | |
| RefcountedPointer (T *p) | |
| RefcountedPointer (const RefcountedPointer< T, TDestroy > &p) | |
| template<class U > | |
| RefcountedPointer (RefcountedPointer< U > p) | |
| ~RefcountedPointer () | |
| RefcountedPointer< T, TDestroy > & | operator= (const RefcountedPointer &p) throw () |
| void | Dispose () |
| T & | Data () const |
| T * | Ptr () const |
| RefcountedPointer< T, TDestroy > | Copy () |
| T & | operator* () const |
| T * | operator-> () const |
| bool | operator< (RefcountedPointer< T, TDestroy > p) const |
| bool | operator> (RefcountedPointer< T, TDestroy > p) const |
| bool | operator== (RefcountedPointer< T, TDestroy > p) const |
| bool | operator!= (RefcountedPointer< T, TDestroy > p) const |
| bool | operator< (T *p) const |
| bool | operator> (T *p) const |
| bool | operator== (T *p) const |
| bool | operator!= (T *p) const |
| bool | Ok () const |
| bool | ok () const |
Data Fields | |
| T * | data |
Definition at line 83 of file autopointers.h.
| RefcountedPointer< T, TDestroy >::RefcountedPointer | ( | ) | [inline] |
Definition at line 86 of file autopointers.h.
| RefcountedPointer< T, TDestroy >::RefcountedPointer | ( | T * | p | ) | [inline] |
Definition at line 87 of file autopointers.h.
| RefcountedPointer< T, TDestroy >::RefcountedPointer | ( | const RefcountedPointer< T, TDestroy > & | p | ) | [inline] |
Definition at line 90 of file autopointers.h.
| RefcountedPointer< T, TDestroy >::RefcountedPointer | ( | RefcountedPointer< U > | p | ) | [inline, explicit] |
std::cout<<"doing dynamic cast"<<std::endl;
std::cout<<"... done"<<std::endl;*/
error("RefcountedPointer copy : null (cast)");
Definition at line 101 of file autopointers.h.
| RefcountedPointer< T, TDestroy >::~RefcountedPointer | ( | ) | [inline] |
Definition at line 114 of file autopointers.h.
| RefcountedPointer<T, TDestroy> RefcountedPointer< T, TDestroy >::Copy | ( | ) | [inline] |
Definition at line 149 of file autopointers.h.
| T& RefcountedPointer< T, TDestroy >::Data | ( | ) | const [inline] |
Definition at line 143 of file autopointers.h.
| void RefcountedPointer< T, TDestroy >::Dispose | ( | ) | [inline] |
error("Something wrong with RefcountedPointer.dispose");
Definition at line 130 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::ok | ( | ) | const [inline] |
Definition at line 197 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::Ok | ( | ) | const [inline] |
Definition at line 194 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator!= | ( | T * | p | ) | const [inline] |
Definition at line 187 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator!= | ( | RefcountedPointer< T, TDestroy > | p | ) | const [inline] |
Definition at line 175 of file autopointers.h.
| T& RefcountedPointer< T, TDestroy >::operator* | ( | ) | const [inline] |
Definition at line 160 of file autopointers.h.
| T* RefcountedPointer< T, TDestroy >::operator-> | ( | ) | const [inline] |
Definition at line 163 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator< | ( | T * | p | ) | const [inline] |
Definition at line 178 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator< | ( | RefcountedPointer< T, TDestroy > | p | ) | const [inline] |
Definition at line 166 of file autopointers.h.
| RefcountedPointer<T, TDestroy>& RefcountedPointer< T, TDestroy >::operator= | ( | const RefcountedPointer< T, TDestroy > & | p | ) | throw () [inline] |
error("RefcountedPointer operator= : bad parameter");
Definition at line 117 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator== | ( | T * | p | ) | const [inline] |
Definition at line 184 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator== | ( | RefcountedPointer< T, TDestroy > | p | ) | const [inline] |
Definition at line 172 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator> | ( | T * | p | ) | const [inline] |
Definition at line 181 of file autopointers.h.
| bool RefcountedPointer< T, TDestroy >::operator> | ( | RefcountedPointer< T, TDestroy > | p | ) | const [inline] |
Definition at line 169 of file autopointers.h.
| T* RefcountedPointer< T, TDestroy >::Ptr | ( | ) | const [inline] |
Definition at line 146 of file autopointers.h.
| T* RefcountedPointer< T, TDestroy >::data |
Definition at line 85 of file autopointers.h.
1.6.3