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

#include <owl/template.h>

Inheritance diagram for owl::TObjectArray< T >:
owl::TMObjectArray< T, TStandardAllocator > owl::TArrayBase

Public Types

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

Public Member Functions

 TObjectArray (int upper, int lower=0, int delta=0)
 
 TObjectArray ()
 
 ~TObjectArray ()
 
 TObjectArray (const TObjectArray< T > &array)
 
TObjectArray< T > & operator= (const TObjectArray< T > &array)
 
- Public Member Functions inherited from owl::TMObjectArray< T, TStandardAllocator >
 TMObjectArray (int upper, int lower=0, int=0)
 
 TMObjectArray ()
 
 TMObjectArray (const TMObjectArray< T, TStandardAllocator > &array)
 
 ~TMObjectArray ()
 
TMObjectArray< T, TStandardAllocator > & operator= (const TMObjectArray< T, TStandardAllocator > &array)
 
TMMemBlocks< TStandardAllocator > & 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::TMObjectArray< T, TStandardAllocator >
void Resize (int delta)
 
void Remove (int index)
 
bool DetachItem (const T &t)
 
bool Detach (int loc)
 
- Protected Attributes inherited from owl::TMObjectArray< T, TStandardAllocator >
T ** Data
 
TMMemBlocks< TStandardAllocatorMem
 
- Protected Attributes inherited from owl::TArrayBase
uint ItemCnt
 
uint Reserved
 

Detailed Description

template<class T>
class owl::TObjectArray< T >

Definition at line 684 of file template.h.

Member Typedef Documentation

◆ CondFunc

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

Definition at line 687 of file template.h.

◆ Iterator

template<class T >
typedef TObjArrayIterator<T, TObjectArray<T> > owl::TObjectArray< T >::Iterator

Definition at line 689 of file template.h.

◆ iterator

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

Definition at line 690 of file template.h.

◆ IterFunc

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

Definition at line 686 of file template.h.

Constructor & Destructor Documentation

◆ TObjectArray() [1/3]

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

Definition at line 693 of file template.h.

◆ TObjectArray() [2/3]

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

Definition at line 695 of file template.h.

◆ ~TObjectArray()

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

Definition at line 696 of file template.h.

◆ TObjectArray() [3/3]

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

Definition at line 697 of file template.h.

Member Function Documentation

◆ operator=()

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

Definition at line 698 of file template.h.

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

Member Data Documentation

◆ Iterator

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

Definition at line 691 of file template.h.


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