OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TPointer< T > Class Template Reference

Smart pointer to a single object. Provides member access operator -> More...

#include <owl/pointer.h>

Inheritance diagram for owl::TPointer< T >:
owl::TPointerBase< T >

Public Member Functions

 TPointer ()
 
 TPointer (T *pointer)
 
 ~TPointer ()
 
TPointer< T > & operator= (T *src)
 
T * operator-> ()
 
- Public Member Functions inherited from owl::TPointerBase< T >
T & operator* ()
 
 operator T* ()
 
int operator! () const
 
T * Relinquish ()
 

Additional Inherited Members

- Protected Member Functions inherited from owl::TPointerBase< T >
 TPointerBase (T *pointer)
 
 TPointerBase ()
 
- Protected Attributes inherited from owl::TPointerBase< T >
T * P
 

Detailed Description

template<class T>
class owl::TPointer< T >

Smart pointer to a single object. Provides member access operator ->

Definition at line 73 of file pointer.h.

Constructor & Destructor Documentation

◆ TPointer() [1/2]

template<class T >
owl::TPointer< T >::TPointer ( )
inline

Definition at line 75 of file pointer.h.

◆ TPointer() [2/2]

template<class T >
owl::TPointer< T >::TPointer ( T * pointer)
inlineexplicit

Definition at line 80 of file pointer.h.

◆ ~TPointer()

template<class T >
owl::TPointer< T >::~TPointer ( )
inline

Definition at line 82 of file pointer.h.

References owl::TPointerBase< T >::P.

Member Function Documentation

◆ operator->()

template<class T >
T * owl::TPointer< T >::operator-> ( )
inline

Definition at line 93 of file pointer.h.

References owl::TPointerBase< T >::P.

◆ operator=()

template<class T >
TPointer< T > & owl::TPointer< T >::operator= ( T * src)
inline

Definition at line 84 of file pointer.h.

References owl::TPointerBase< T >::P.


The documentation for this class was generated from the following file: