|
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[] (const unsigned int position) const |
| void | Insert (const list_type input, const unsigned int position) |
| void | Insert (const list_type input) |
| void | Replace (const list_type input, const list_type filler, const unsigned int position) |
| void | Replace (const list_type input) |
| void | RemoveAtIndex (const unsigned int position) |
|
void | Del (const unsigned num=1) |
| | Delete the element at the end of the list.
|
| unsigned int | GetIndexOf (const list_type input) |
| unsigned int | Size (void) const |
|
void | Clear (bool doNotDeallocate=false) |
| | Clear the list.
|
| void | Compress (void) |
Private Attributes |
|
list_type * | listArray |
| | An array of user values.
|
|
unsigned int | list_size |
| | Number of elements in the list.
|
|
unsigned int | allocation_size |
| | Size of array.
|