|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/template.h>
Public Types | |
| typedef TPtrArrayIterator< R, TMIPtrArray< T, R, A > > | Iterator |
| typedef Iterator | iterator |
| Public Types inherited from owl::TTypedArray< T, R, TStandardAllocator > | |
| typedef void(*) | IterFunc(R, void *) |
| typedef bool(*) | CondFunc(R, void *) |
| typedef TPtrArrayIterator< R, TTypedArray< T, R, TStandardAllocator > > | Iterator |
| typedef Iterator | iterator |
Public Member Functions | |
| TMIPtrArray () | |
| TMIPtrArray (int upper, int lower=0, int delta=0) | |
| ~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, TStandardAllocator > | |
| TTypedArray () | |
| ~TTypedArray () | |
| TTypedArray< T, R, TStandardAllocator > & | operator= (const TTypedArray< T, R, TStandardAllocator > &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) |
| 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 |
Friends | |
| class | TPtrArrayIterator< R, TMIPtrArray< T, R, A > > |
Additional Inherited Members | |
| Static Public Attributes inherited from owl::TArrayBase | |
| static const int | NPOS = -1 |
| Protected Member Functions inherited from owl::TTypedArray< T, R, TStandardAllocator > | |
| void | Resize (int delta) |
| void | Remove (int index) |
| Protected Attributes inherited from owl::TTypedArray< T, R, TStandardAllocator > | |
| T * | Data |
| Protected Attributes inherited from owl::TArrayBase | |
| uint | ItemCnt |
| uint | Reserved |
Definition at line 976 of file template.h.
| typedef TPtrArrayIterator<R, TMIPtrArray<T, R, A> > owl::TMIPtrArray< T, R, A >::Iterator |
Definition at line 981 of file template.h.
| typedef Iterator owl::TMIPtrArray< T, R, A >::iterator |
Definition at line 983 of file template.h.
|
inline |
Definition at line 1784 of file template.h.
|
inline |
Definition at line 1774 of file template.h.
References owl::TTypedArray< T, R, TStandardAllocator >::TTypedArray().
|
inline |
Definition at line 1788 of file template.h.
References Flush().
|
inline |
Definition at line 1779 of file template.h.
References TMIPtrArray(), and owl::TTypedArray< T, R, TStandardAllocator >::TTypedArray().
|
inline |
Definition at line 1818 of file template.h.
References owl::TTypedArray< T, R, TStandardAllocator >::Data, owl::TTypedArray< T, R, TStandardAllocator >::Remove(), and owl::TArrayBase::Size().
|
inline |
Definition at line 1804 of file template.h.
References owl::TTypedArray< T, R, TStandardAllocator >::Data, owl::TTypedArray< T, R, TStandardAllocator >::Find(), owl::TArrayBase::NPOS, and owl::TTypedArray< T, R, TStandardAllocator >::Remove().
| void owl::TMIPtrArray< T, R, A >::Flush | ( | bool | del = true | ) |
Definition at line 1831 of file template.h.
References owl::TTypedArray< T, R, TStandardAllocator >::Data, owl::TTypedArray< T, R, A >::Flush(), and owl::TArrayBase::Size().
|
inline |
Definition at line 1794 of file template.h.
References TMIPtrArray(), Flush(), and owl::TTypedArray< T, R, A >::operator=().
|
friend |
Definition at line 981 of file template.h.