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

#include <owl/template.h>

Inheritance diagram for owl::TIPtrArray< T >:
owl::TPtrArray< T > owl::TTypedArray< T, T, TStandardAllocator > owl::TStandardAllocator owl::TArrayBase

Public Types

typedef TPtrArrayIterator< T, TIPtrArray< T > > Iterator
typedef Iterator iterator
Public Types inherited from owl::TTypedArray< T, T, TStandardAllocator >
typedef void(*) IterFunc(T, void *)
typedef bool(*) CondFunc(T, void *)
typedef TPtrArrayIterator< T, TTypedArray< T, T, TStandardAllocator > > Iterator
typedef Iterator iterator

Public Member Functions

 TIPtrArray ()
 TIPtrArray (int upper, int lower=0, int delta=0)
 ~TIPtrArray ()
 TIPtrArray (const TIPtrArray< T > &array)
TIPtrArray< T > & operator= (const TIPtrArray< T > &array)
bool DestroyItem (T t)
bool Destroy (int loc)
void Flush (bool del=true)
Public Member Functions inherited from owl::TPtrArray< T >
 TPtrArray ()
 TPtrArray (int upper, int lower=0, int delta=0)
 TPtrArray (const TPtrArray< T > &array)
Public Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator >
 TTypedArray ()
 ~TTypedArray ()
TTypedArray< T, T, TStandardAllocator > & operator= (const TTypedArray< T, T, TStandardAllocator > &array)
void RemoveEntry (int loc)
void SqueezeEntry (unsigned loc)
void Grow (int index)
int Add (T t)
void AddAt (T t, uint index)
bool DetachItem (T t)
bool Detach (int loc)
bool DestroyItem (T t)
bool Destroy (int loc)
bool HasMember (T t) const
int Find (T t) const
T & operator[] (int loc)
void ForEach (IterFunc iter, void *args)
T * FirstThat (CondFunc cond, void *args) const
T * LastThat (CondFunc cond, void *args) const
void Flush ()
Public Member Functions inherited from owl::TStandardAllocator
void operator delete (void *ptr)
void * operator new (size_t sz)
void * Alloc (size_t sz)
void Free (void *ptr)
void * ReAlloc (void *ptr, size_t sz)
Public Member Functions inherited from owl::TArrayBase
 TArrayBase ()
uint GetItemsInContainer () const
int LowerBound () const
int UpperBound () const
uint ArraySize () const
bool IsFull () const
bool IsEmpty () const
uint Size () const
uint Count () const
bool Empty () const
uint size () const
bool empty () const

Friends

class TPtrArrayIterator< T, TIPtrArray< T > >

Additional Inherited Members

Static Public Attributes inherited from owl::TArrayBase
static const int NPOS = -1
Protected Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator >
void Resize (int delta)
void Remove (int index)
Protected Attributes inherited from owl::TTypedArray< T, T, TStandardAllocator >
T * Data
Protected Attributes inherited from owl::TArrayBase
uint ItemCnt
uint Reserved

Detailed Description

template<class T>
class owl::TIPtrArray< T >

Definition at line 1001 of file template.h.

Member Typedef Documentation

◆ Iterator

template<class T>
typedef TPtrArrayIterator<T, TIPtrArray<T> > owl::TIPtrArray< T >::Iterator

Definition at line 1006 of file template.h.

◆ iterator

template<class T>
typedef Iterator owl::TIPtrArray< T >::iterator

Definition at line 1008 of file template.h.

Constructor & Destructor Documentation

◆ TIPtrArray() [1/3]

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

Definition at line 1864 of file template.h.

◆ TIPtrArray() [2/3]

template<class T>
owl::TIPtrArray< T >::TIPtrArray ( int upper,
int lower = 0,
int delta = 0 )
inline

Definition at line 1844 of file template.h.

References owl::TPtrArray< T >::TPtrArray().

◆ ~TIPtrArray()

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

Definition at line 1868 of file template.h.

References Flush().

◆ TIPtrArray() [3/3]

template<class T>
owl::TIPtrArray< T >::TIPtrArray ( const TIPtrArray< T > & array)
inline

Definition at line 1849 of file template.h.

References TIPtrArray(), and owl::TPtrArray< T >::TPtrArray().

Member Function Documentation

◆ Destroy()

template<class T>
bool owl::TIPtrArray< T >::Destroy ( int loc)
inline

◆ DestroyItem()

◆ Flush()

template<class T>
void owl::TIPtrArray< T >::Flush ( bool del = true)

◆ operator=()

template<class T>
TIPtrArray< T > & owl::TIPtrArray< T >::operator= ( const TIPtrArray< T > & array)
inline

◆ TPtrArrayIterator< T, TIPtrArray< T > >

template<class T>
friend class TPtrArrayIterator< T, TIPtrArray< T > >
friend

Definition at line 1006 of file template.h.


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