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

Sorted array of pointers of simple types. More...

#include <owl/template.h>

Inheritance diagram for owl::TSortedPtrArray< T >:
owl::TSTypedArray< T, T, TStandardAllocator > owl::TTypedArray< T, T, TStandardAllocator > owl::TStandardAllocator owl::TArrayBase owl::TISortedPtrArray< T >

Public Member Functions

 TSortedPtrArray ()
 TSortedPtrArray (int upper, int lower=0, int delta=0)
 TSortedPtrArray (const TSortedPtrArray< T > &array)
Public Member Functions inherited from owl::TSTypedArray< T, T, TStandardAllocator >
 TSTypedArray ()
 ~TSTypedArray ()
TSTypedArray< T, T, TStandardAllocator > & operator= (const TSTypedArray< T, T, TStandardAllocator > &array)
int Add (T t)
bool DetachItem (T t)
bool DestroyItem (T t)
bool HasMember (T t) const
int Find (T t) const
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

Additional Inherited Members

Public Types inherited from owl::TSTypedArray< T, T, TStandardAllocator >
typedef TPtrArrayIterator< T, TSTypedArray< T, T, TStandardAllocator > > 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
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::TSortedPtrArray< T >

Sorted array of pointers of simple types.

Definition at line 959 of file template.h.

Constructor & Destructor Documentation

◆ TSortedPtrArray() [1/3]

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

◆ TSortedPtrArray() [2/3]

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

◆ TSortedPtrArray() [3/3]

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

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