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, R, A > owl::TArrayBase owl::TISortedPtrArray< TStreamableClass * > owl::TISortedPtrArray< T >

Public Member Functions

 TSortedPtrArray (int upper, int lower=0, int delta=0)
 
 TSortedPtrArray ()
 
 TSortedPtrArray (const TSortedPtrArray< T > &array)
 
- Public Member Functions inherited from owl::TSTypedArray< T, T, TStandardAllocator >
 TSTypedArray (int upper, int lower=0, int delta=0)
 
 TSTypedArray ()
 
 TSTypedArray (const TSTypedArray< T, T, TStandardAllocator > &array)
 
 ~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 Destroy (int loc)
 
bool HasMember (T t) const
 
int Find (T t) const
 
- Public Member Functions inherited from owl::TTypedArray< T, R, A >
 TTypedArray (int upper, int=0, int=0)
 
 TTypedArray ()
 
 ~TTypedArray ()
 
 TTypedArray (const TTypedArray< T, R, A > &array)
 
TTypedArray< T, R, A > & operator= (const TTypedArray< T, R, A > &array)
 
void RemoveEntry (int loc)
 
void SqueezeEntry (unsigned loc)
 
void Grow (int index)
 
int Add (R t)
 
void AddAt (R t, uint index)
 
bool DetachItem (R t)
 
bool Detach (int loc)
 
bool DestroyItem (R t)
 
bool Destroy (int loc)
 
bool HasMember (R t) const
 
int Find (R 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
 

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, R, A >
typedef void(* IterFunc) (R, void *)
 
typedef bool(* CondFunc) (R, void *)
 
typedef TPtrArrayIterator< R, TTypedArray< T, R, A > > Iterator
 
typedef Iterator iterator
 
- Static Public Attributes inherited from owl::TArrayBase
static const auto NPOS = -1
 
- Protected Member Functions inherited from owl::TTypedArray< T, R, A >
void Resize (int delta)
 
void Remove (int index)
 
- Protected Attributes inherited from owl::TTypedArray< T, R, A >
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 840 of file template.h.

Constructor & Destructor Documentation

◆ TSortedPtrArray() [1/3]

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

Definition at line 842 of file template.h.

◆ TSortedPtrArray() [2/3]

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

Definition at line 844 of file template.h.

◆ TSortedPtrArray() [3/3]

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

Definition at line 845 of file template.h.


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