|
OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/template.h>
Public Types | |
| typedef TPtrArrayIterator< T, TIPtrArray< T > > | Iterator |
| typedef Iterator | iterator |
| Public Types inherited from owl::TTypedArray< T, T, TStandardAllocator > | |
| typedef void(*) | IterFunc(T, void *) |
| typedef bool(*) | CondFunc(T, void *) |
| typedef TPtrArrayIterator< T, TTypedArray< T, T, TStandardAllocator > > | Iterator |
| typedef Iterator | iterator |
Public Member Functions | |
| TIPtrArray () | |
| TIPtrArray (int upper, int lower=0, int delta=0) | |
| ~TIPtrArray () | |
| TIPtrArray (const TIPtrArray< T > &array) | |
| TIPtrArray< T > & | operator= (const TIPtrArray< T > &array) |
| bool | DestroyItem (T t) |
| bool | Destroy (int loc) |
| void | Flush (bool del=true) |
| Public Member Functions inherited from owl::TPtrArray< T > | |
| TPtrArray () | |
| TPtrArray (int upper, int lower=0, int delta=0) | |
| TPtrArray (const TPtrArray< T > &array) | |
| Public Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator > | |
| TTypedArray () | |
| ~TTypedArray () | |
| TTypedArray< T, T, TStandardAllocator > & | operator= (const TTypedArray< T, T, TStandardAllocator > &array) |
| void | RemoveEntry (int loc) |
| void | SqueezeEntry (unsigned loc) |
| void | Grow (int index) |
| int | Add (T t) |
| void | AddAt (T t, uint index) |
| bool | DetachItem (T t) |
| bool | Detach (int loc) |
| bool | DestroyItem (T t) |
| bool | Destroy (int loc) |
| bool | HasMember (T t) const |
| int | Find (T 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< T, TIPtrArray< T > > |
Additional Inherited Members | |
| Static Public Attributes inherited from owl::TArrayBase | |
| static const int | NPOS = -1 |
| Protected Member Functions inherited from owl::TTypedArray< T, T, TStandardAllocator > | |
| void | Resize (int delta) |
| void | Remove (int index) |
| Protected Attributes inherited from owl::TTypedArray< T, T, TStandardAllocator > | |
| T * | Data |
| Protected Attributes inherited from owl::TArrayBase | |
| uint | ItemCnt |
| uint | Reserved |
Definition at line 1001 of file template.h.
| typedef TPtrArrayIterator<T, TIPtrArray<T> > owl::TIPtrArray< T >::Iterator |
Definition at line 1006 of file template.h.
| typedef Iterator owl::TIPtrArray< T >::iterator |
Definition at line 1008 of file template.h.
|
inline |
Definition at line 1864 of file template.h.
|
inline |
Definition at line 1844 of file template.h.
References owl::TPtrArray< T >::TPtrArray().
|
inline |
Definition at line 1868 of file template.h.
References Flush().
|
inline |
Definition at line 1849 of file template.h.
References TIPtrArray(), and owl::TPtrArray< T >::TPtrArray().
|
inline |
Definition at line 1899 of file template.h.
References owl::TTypedArray< T, T, TStandardAllocator >::Data, owl::TTypedArray< T, T, TStandardAllocator >::Remove(), and owl::TArrayBase::Size().
|
inline |
Definition at line 1885 of file template.h.
References owl::TTypedArray< T, T, TStandardAllocator >::Data, owl::TTypedArray< T, T, TStandardAllocator >::Find(), owl::TArrayBase::NPOS, and owl::TTypedArray< T, T, TStandardAllocator >::Remove().
| void owl::TIPtrArray< T >::Flush | ( | bool | del = true | ) |
Definition at line 1874 of file template.h.
References owl::TTypedArray< T, T, TStandardAllocator >::Data, owl::TTypedArray< T, T, TStandardAllocator >::Flush(), and owl::TArrayBase::Size().
|
inline |
Definition at line 1854 of file template.h.
References TIPtrArray(), Flush(), and owl::TTypedArray< T, T, TStandardAllocator >::operator=().
|
friend |
Definition at line 1006 of file template.h.