class TMIArrayAsVector
|
template class TMIArrayAsVector
template class TMIArrayAsVectorIterator
More... |
|
|
Public Methods
Public Members
- typedef int (*SortFunc) (const T *, const T *)
Private Members
template class TMIArrayAsVector
template class TMIArrayAsVectorIterator
Implements a managed indirect array of objects of type T, using a
vector as the underlying implementation.
friend class TMIArrayAsVectorIterator
| TMIArrayAsVectorIterator |
[private]
typedef int (*SortFunc) (const T *, const T *)
| (*SortFunc) |
TMIArrayAsVector ( int upper, int lower = 0, int delta = 0 )
| TMIArrayAsVector |
int AddAt ( T *t, int loc )
| AddAt |
add an element at a specified position in the array
copy elements form another array; before copy elements
this array is flushed; the object in the array are dostroyed
if the ownership is on
Reimplemented from TArrayAsVectorImp.
void Sort ( SortFunc funcCompare )
| Sort |
sort the array; the sort function must be compare two elements
and return a value appropriate for sorting; the quick sort alogritm is used; the prototype
of the sorting funcion must be int cmpTwoEle(const T *t1, const T *t2);
Generated by: nicola on gulliver.wadahome.it on Sun May 25 13:54:34 2003, using kdoc 2.0a53. |