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

#include <owl/template.h>

Inheritance diagram for owl::TSortedObjectArray< T >:
owl::TMSortedObjectArray< T, TStandardAllocator > owl::TMObjectArray< T, A > owl::TArrayBase

Public Types

typedef void(* IterFunc) (T &, void *)
 
typedef bool(* CondFunc) (const T &, void *)
 
typedef TObjArrayIterator< T, TSortedObjectArray< T > > Iterator
 
typedef Iterator iterator
 
- Public Types inherited from owl::TMSortedObjectArray< T, TStandardAllocator >
typedef TObjArrayIterator< T, TMSortedObjectArray< T, TStandardAllocator > > Iterator
 
typedef Iterator iterator
 
- Public Types inherited from owl::TMObjectArray< T, A >
typedef void(* IterFunc) (T &, void *)
 
typedef bool(* CondFunc) (const T &, void *)
 
typedef TObjArrayIterator< T, TMObjectArray< T, A > > Iterator
 
typedef Iterator iterator
 

Public Member Functions

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

Public Attributes

friend Iterator
 

Additional Inherited Members

- Static Public Attributes inherited from owl::TArrayBase
static const auto NPOS = -1
 
- Protected Member Functions inherited from owl::TMSortedObjectArray< T, TStandardAllocator >
int AddAt (const T &, int)
 
bool DetachItem (const T &t)
 
- Protected Member Functions inherited from owl::TMObjectArray< T, A >
void Resize (int delta)
 
void Remove (int index)
 
bool DetachItem (const T &t)
 
bool Detach (int loc)
 
- Protected Attributes inherited from owl::TMObjectArray< T, A >
T ** Data
 
TMMemBlocks< AMem
 
- Protected Attributes inherited from owl::TArrayBase
uint ItemCnt
 
uint Reserved
 

Detailed Description

template<class T>
class owl::TSortedObjectArray< T >

Definition at line 730 of file template.h.

Member Typedef Documentation

◆ CondFunc

template<class T >
typedef bool(* owl::TSortedObjectArray< T >::CondFunc) (const T &, void *)

Definition at line 733 of file template.h.

◆ Iterator

Definition at line 735 of file template.h.

◆ iterator

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

Definition at line 736 of file template.h.

◆ IterFunc

template<class T >
typedef void(* owl::TSortedObjectArray< T >::IterFunc) (T &, void *)

Definition at line 732 of file template.h.

Constructor & Destructor Documentation

◆ TSortedObjectArray() [1/3]

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

Definition at line 739 of file template.h.

◆ TSortedObjectArray() [2/3]

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

Definition at line 741 of file template.h.

◆ ~TSortedObjectArray()

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

Definition at line 742 of file template.h.

◆ TSortedObjectArray() [3/3]

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

Definition at line 743 of file template.h.

Member Function Documentation

◆ operator=()

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

Definition at line 744 of file template.h.

References owl::TMSortedObjectArray< T, A >::operator=().

Member Data Documentation

◆ Iterator

template<class T >
friend owl::TSortedObjectArray< T >::Iterator

Definition at line 737 of file template.h.


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