CObArray Members
Base Class Members
Construction
Constructs an empty array for CObject pointers. |
Bounds
Gets the number of elements in this array. |
|
Gets the number of elements in this array. |
|
Returns the largest valid index. |
|
Sets the number of elements to be contained in this array. |
Operations
Frees all unused memory above the current upper bound. |
|
Determines if the array is empty. |
|
Removes all the elements from this array. |
Element Access
Returns a temporary reference to the element pointer within the array. |
|
Returns the value at a given index. |
|
Allows access to elements in the array. Can be NULL. |
|
Sets the value for a given index; array not allowed to grow. |
Growing the Array
Adds an element to the end of the array; grows the array if necessary. |
|
Appends another array to the array; grows the array if necessary. |
|
Copies another array to the array; grows the array if necessary. |
|
Sets the value for a given index; grows the array if necessary. |
Insertion/Removal
Inserts an element (or all the elements in another array) at a specified index. |
|
Removes an element at a specific index. |
Operators
Sets or gets the element at the specified index. |