Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Object.hpp>
Public Member Functions | |
| ref (T *object=NULL) | |
| ref (const ref &other) | |
| template<class T2 > | |
| ref (const ref< T2 > &other) | |
| ~ref () | |
| ref & | operator= (const ref &other) |
| template<class T2 > | |
| ref & | operator= (const ref< T2 > other) |
| ref & | operator= (T *other) |
| template<class T2 > | |
| ref & | operator= (T2 *other) |
| void | swap (ref &other) |
| T * | get () const |
| T * | operator-> () const |
| T & | operator* () const |
| bool | operator< (const ref &other) const |
| operator bool () const | |
Protected Attributes | |
| T * | mObject |
When the last ref<> that points to an Object is deallocated also the pointed Object is deallocated.
| ref& vl::ref< T >::operator= | ( | const ref< T2 > | other | ) | [inline] |
| T* vl::ref< T >::get | ( | ) | const [inline] |
| T* vl::ref< T >::operator-> | ( | ) | const [inline] |
| T& vl::ref< T >::operator* | ( | ) | const [inline] |
| vl::ref< T >::operator bool | ( | ) | const [inline] |