|
Public Member Functions |
| List () |
| Default constructor.
|
| ~List () |
| Destructor.
|
| List (const List &original_copy) |
List & | operator= (const List &original_copy) |
| Assign one list to another.
|
list_type & | operator[] (unsigned int position) const |
void | insert (list_type input, unsigned int position) |
void | insert (list_type input) |
void | replace (list_type input, list_type filler, unsigned int position) |
void | replace (list_type input) |
void | del (unsigned int position) |
void | del () |
| Delete the element at the end of the list.
|
unsigned int | getIndexOf (list_type input) |
unsigned int | size (void) const |
void | clear (void) |
| Clear the list.
|
void | compress (void) |
Private Attributes |
list_type * | array |
| An array of user values.
|
unsigned int | list_size |
| Number of elements in the list.
|
unsigned int | allocation_size |
| Size of array.
|