#include <NativePointer.hpp>
Public Member Functions | |
| TNativePointer () | |
| TNativePointer (T *pPointer) | |
| TNativePointer (T &rPointer) | |
| virtual | ~TNativePointer () |
| void | freeMemory () |
| T * | getPointer () |
| const T * | getConstPointer () const |
| virtual void *MQUALIFIER | getIntPtr () |
| virtual const void *MQUALIFIER | getConstIntPtr () const |
| virtual void MQUALIFIER | setIntPtr (void *pValue) |
| TNativePointer< T > & | operator= (const T *pPtr) |
| TNativePointer< T > & | operator= (const T &rPtr) |
| T * | operator-> () |
| const T * | operator-> () const |
| T & | operator* () const |
| operator T * () const | |
Implements a native pointer instance. The pointer is unmanaged and must be deleted calling freeMemory(). For managed pointer use the TPtr<T> class.
| zeus::TNativePointer< T >::TNativePointer | ( | ) | [inline] |
creates an empty pointer
| zeus::TNativePointer< T >::TNativePointer | ( | T * | pPointer ) | [inline] |
creates pointer wrapper
| zeus::TNativePointer< T >::TNativePointer | ( | T & | rPointer ) | [inline] |
creates pointer wrapper
| virtual zeus::TNativePointer< T >::~TNativePointer | ( | ) | [inline, virtual] |
releases the pointer wrapper only
| void zeus::TNativePointer< T >::freeMemory | ( | ) | [inline] |
freeing the memory
| virtual const void* MQUALIFIER zeus::TNativePointer< T >::getConstIntPtr | ( | ) | const [inline, virtual] |
Implements zeus::INativePointer.
| const T* zeus::TNativePointer< T >::getConstPointer | ( | ) | const [inline] |
returns the the const_pointer
| virtual void* MQUALIFIER zeus::TNativePointer< T >::getIntPtr | ( | ) | [inline, virtual] |
Implements zeus::INativePointer.
| T* zeus::TNativePointer< T >::getPointer | ( | ) | [inline] |
returns the the pointer
| zeus::TNativePointer< T >::operator T * | ( | ) | const [inline] |
Implicit cast to T*
| T& zeus::TNativePointer< T >::operator* | ( | ) | const [inline] |
Returns the dereferenced pointer of an object
| const T* zeus::TNativePointer< T >::operator-> | ( | ) | const [inline] |
Operator is used to return the pointer and to access to all methods of the object
| T* zeus::TNativePointer< T >::operator-> | ( | ) | [inline] |
Operator is used to return the pointer and to access to all methods of the object
| TNativePointer<T>& zeus::TNativePointer< T >::operator= | ( | const T * | pPtr ) | [inline] |
Assign operator
| pPtr | : new pointer |
| TNativePointer<T>& zeus::TNativePointer< T >::operator= | ( | const T & | rPtr ) | [inline] |
Assign operator
| rPtr | : new pointer reference |
| virtual void MQUALIFIER zeus::TNativePointer< T >::setIntPtr | ( | void * | pValue ) | [inline, virtual] |
Implements zeus::INativePointer.