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::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 (int upper, int lower=0, int delta=0)
 
 TIPtrArray ()
 
 ~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 (int upper, int lower=0, int delta=0)
 
 TPtrArray ()
 
 TPtrArray (const TPtrArray< T > &array)
 
- Public Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator >
 TTypedArray (int upper, int=0, int=0)
 
 TTypedArray ()
 
 TTypedArray (const TTypedArray< T, T, TStandardAllocator > &array)
 
 ~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)
 
const T & operator[] (int loc) const
 
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::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 auto 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 867 of file template.h.

Member Typedef Documentation

◆ Iterator

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

Definition at line 869 of file template.h.

◆ iterator

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

Definition at line 871 of file template.h.

Constructor & Destructor Documentation

◆ TIPtrArray() [1/3]

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

Definition at line 1734 of file template.h.

◆ TIPtrArray() [2/3]

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

Definition at line 1759 of file template.h.

◆ ~TIPtrArray()

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

Definition at line 1765 of file template.h.

◆ TIPtrArray() [3/3]

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

Definition at line 1741 of file template.h.

Member Function Documentation

◆ Destroy()

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

Definition at line 1798 of file template.h.

◆ DestroyItem()

template<class T >
bool owl::TIPtrArray< T >::DestroyItem ( T t)
inline

Definition at line 1783 of file template.h.

◆ 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

Friends And Related Symbol Documentation

◆ TPtrArrayIterator< T, TIPtrArray< T > >

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

Definition at line 869 of file template.h.


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