#include <array.h>
Inheritance diagram for cArray< T >:


| Public Member Functions | |
| cArray (int r=1) | |
| Constructur. | |
| cArray (const cArray &array) | |
| Copy Constructur. | |
| ~cArray () | |
| Destructor. | |
| int | Add (T *t) | 
| Add an element. | |
| T * | Rem (int idx) | 
| Remove an element. | |
| void | RemAll () | 
| Remove all elements. | |
| T * | operator[] (int idx) const | 
| [] operator definition | |
| T *& | operator[] (int idx) | 
| [] address operator definition | |
| cArray< T > & | operator+= (T *t) | 
| + operator definition | |
| cArray< T > & | operator-= (T *t) | 
| 
 | |
| int | Num () const | 
| Get number of elements. | |
| int | Find (T *t) const | 
| Find element. | |
| void | Sort (int(*cmp)(T **t1, T **t2)) | 
| Sort the elements. | |
| int | Search (T *key, int(*cmp)(T **t1, T **t2), int mmax=-1) const | 
| Search in the array for an element. | |
| void | Clear () | 
| Clear the array. | |
| int | Insert (int befor, T *t) | 
| Insert an element into the array on a position. | |
| cArray & | operator= (const cArray &) | 
| () operator definition | |
 1.4.4
 1.4.4