#include <ref.hpp>
Public Member Functions | |
Ref (T *object=0) | |
Ref (const Ref< T > &other) | |
~Ref () | |
Ref< T > & | operator= (const Ref< T > &other) |
Ref< T > & | operator= (T *object) |
T * | operator-> () const |
T & | operator * () const |
operator const T * () const | |
T * | get () const |
Private Attributes | |
T * | object |
(similar to std::auto_ptr)
Definition at line 25 of file ref.hpp.
T* Ref< T >::operator-> | ( | ) | const [inline] |
T& Ref< T >::operator * | ( | ) | const [inline] |
Ref< T >::operator const T * | ( | ) | const [inline] |
Definition at line 73 of file ref.hpp.
References Ref< T >::object.
00074 { 00075 return object; 00076 }
T* Ref< T >::get | ( | ) | const [inline] |
Definition at line 78 of file ref.hpp.
Referenced by Ref< FloatingImage >::operator=().
00079 { 00080 return object; 00081 }
Definition at line 84 of file ref.hpp.
Referenced by Ref< FloatingImage >::get(), Ref< FloatingImage >::operator *(), Ref< T >::operator const T *(), Ref< FloatingImage >::operator->(), Ref< FloatingImage >::Ref(), and Ref< FloatingImage >::~Ref().