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

Pointer to an array of type T. More...

#include <owl/pointer.h>

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

Public Member Functions

 TAPointer ()
 
 TAPointer (T array[])
 
 ~TAPointer ()
 
TAPointer< T > & operator= (T *src)
 
T & operator[] (int i)
 
T & operator[] (size_t i)
 
- 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::TAPointer< T >

Pointer to an array of type T.

Provides an array subscript operator and uses array delete[]

Definition at line 103 of file pointer.h.

Constructor & Destructor Documentation

◆ TAPointer() [1/2]

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

Definition at line 105 of file pointer.h.

◆ TAPointer() [2/2]

template<class T >
owl::TAPointer< T >::TAPointer ( T array[])
inlineexplicit

Definition at line 110 of file pointer.h.

◆ ~TAPointer()

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

Definition at line 112 of file pointer.h.

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

Member Function Documentation

◆ operator=()

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

Definition at line 114 of file pointer.h.

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

◆ operator[]() [1/2]

template<class T >
T & owl::TAPointer< T >::operator[] ( int i)
inline

Definition at line 123 of file pointer.h.

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

◆ operator[]() [2/2]

template<class T >
T & owl::TAPointer< T >::operator[] ( size_t i)
inline

Definition at line 124 of file pointer.h.

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


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