OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Smart pointer base class. More...
#include <owl/pointer.h>
Public Member Functions | |
T & | operator* () |
operator T* () | |
int | operator! () const |
T * | Relinquish () |
Protected Member Functions | |
TPointerBase (T *pointer) | |
TPointerBase () | |
Protected Attributes | |
T * | P |
Smart pointer base class.
Provides basic conversion operator to T*, as well as dereferencing (*), and 0-checking (!). This and derived classes assume that they alone are responsible for deleting the object or array unless Relinquish() is called.
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
Definition at line 44 of file pointer.h.
References owl::TPointerBase< T >::P.
|
inline |
Definition at line 42 of file pointer.h.
References owl::TPointerBase< T >::P.
|
inline |
Definition at line 45 of file pointer.h.
References owl::TPointerBase< T >::P.
|
protected |