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

#include <owl/template.h>

Inheritance diagram for owl::TMIPtrArray< T, R, A >:
owl::TTypedArray< T, R, A > owl::TArrayBase

Public Types

typedef TPtrArrayIterator< R, TMIPtrArray< T, R, A > > 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
 

Public Member Functions

 TMIPtrArray (int upper, int lower=0, int delta=0)
 
 TMIPtrArray ()
 
 ~TMIPtrArray ()
 
 TMIPtrArray (const TMIPtrArray< T, R, A > &array)
 
TMIPtrArray< T, R, A > & operator= (const TMIPtrArray< T, R, A > &array)
 
bool DestroyItem (R t)
 
bool Destroy (int loc)
 
void Flush (bool del=true)
 
- 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
 

Friends

class TPtrArrayIterator< R, TMIPtrArray< T, R, A > >
 

Additional Inherited Members

- 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 R, class A = TStandardAllocator>
class owl::TMIPtrArray< T, R, A >

Definition at line 849 of file template.h.

Member Typedef Documentation

◆ Iterator

template<class T , class R , class A = TStandardAllocator>
typedef TPtrArrayIterator<R, TMIPtrArray<T,R,A> > owl::TMIPtrArray< T, R, A >::Iterator

Definition at line 851 of file template.h.

◆ iterator

template<class T , class R , class A = TStandardAllocator>
typedef Iterator owl::TMIPtrArray< T, R, A >::iterator

Definition at line 853 of file template.h.

Constructor & Destructor Documentation

◆ TMIPtrArray() [1/3]

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

Definition at line 1659 of file template.h.

◆ TMIPtrArray() [2/3]

template<class T , class R , class A >
owl::TMIPtrArray< T, R, A >::TMIPtrArray ( )
inline

Definition at line 1673 of file template.h.

◆ ~TMIPtrArray()

template<class T , class R , class A >
owl::TMIPtrArray< T, R, A >::~TMIPtrArray ( )
inline

Definition at line 1678 of file template.h.

◆ TMIPtrArray() [3/3]

template<class T , class R , class A >
owl::TMIPtrArray< T, R, A >::TMIPtrArray ( const TMIPtrArray< T, R, A > & array)
inline

Definition at line 1666 of file template.h.

Member Function Documentation

◆ Destroy()

template<class T , class R , class A >
bool owl::TMIPtrArray< T, R, A >::Destroy ( int loc)
inline

Definition at line 1708 of file template.h.

◆ DestroyItem()

template<class T , class R , class A >
bool owl::TMIPtrArray< T, R, A >::DestroyItem ( R t)
inline

Definition at line 1694 of file template.h.

◆ Flush()

template<class T , class R , class A >
void owl::TMIPtrArray< T, R, A >::Flush ( bool del = true)

Definition at line 1720 of file template.h.

References owl::TTypedArray< T, R, A >::Flush().

◆ operator=()

template<class T , class R , class A >
TMIPtrArray< T, R, A > & owl::TMIPtrArray< T, R, A >::operator= ( const TMIPtrArray< T, R, A > & array)
inline

Definition at line 1684 of file template.h.

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

Friends And Related Symbol Documentation

◆ TPtrArrayIterator< R, TMIPtrArray< T, R, A > >

template<class T , class R , class A = TStandardAllocator>
friend class TPtrArrayIterator< R, TMIPtrArray< T, R, A > >
friend

Definition at line 851 of file template.h.


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