This will grow and shrink the array as desired. Elements that are grown have uninitialized values, while those which are shrunk will lose the data contained in the deleted elements (ie. it will release the memory).
After this operation the length method will return 0. This does not change the amount of memory allocated to the array, only the number of valid elements in it.
Returns
MS::kSuccess the operation was set successfully
MS::kFailure the operation failed
void setSizeIncrement
(
unsigned int
newIncrement
)
Set the size by which the array will be expanded whenever expansion is necessary.
Parameters
[in]
newIncrement
the new increment
unsigned int sizeIncrement
(
)
const
Return the size by which the array will be expanded whenever expansion is necessary.
Returns
The size increment.
const char * className
(
)
static
Returns the name of this class.
Returns
The name of this class.
The documentation for this class was generated from the following files: