A static pointer to an Object. More...
#include <Object.h>
Public Member Functions | |
static_ptr () | |
Creates a static pointer pointing to NULL. | |
static_ptr (T *target) | |
Creates a static pointer to the given object. | |
~static_ptr () | |
Destroys this static pointer. | |
void | operator= (const ptr< T > &v) |
Assigns the given pointer value to this static pointer. |
A static pointer to an Object.
static_ptr must be used instead of ptr for static variables.
ork::static_ptr< T >::static_ptr | ( | ) | [inline] |
Creates a static pointer pointing to NULL.
ork::static_ptr< T >::static_ptr | ( | T * | target | ) | [inline, explicit] |
Creates a static pointer to the given object.
ork::static_ptr< T >::~static_ptr | ( | ) | [inline] |
Destroys this static pointer.
void ork::static_ptr< T >::operator= | ( | const ptr< T > & | v | ) | [inline] |
Assigns the given pointer value to this static pointer.