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.
MAttributeSpecArray::Iterator begin
(
)
Returns an iterator object pointed to the beginning of the array.
Returns
Iterator object pointed to the beginning of the array.
MAttributeSpecArray::Iterator end
(
)
Returns an iterator object pointed to the end of the array.
Returns
Iterator object pointed to the end of the array.
MAttributeSpecArray::ConstIterator begin
(
)
const
Returns a const iterator object pointed to the beginning of the array.
Returns
Iterator object pointed to the beginning of the array.
MAttributeSpecArray::ConstIterator end
(
)
const
Returns a const iterator object pointed to the end of the array.
Returns
Iterator object pointed to the end of the array.
MAttributeSpecArray::ConstIterator cbegin
(
)
const
Returns a const iterator object pointed to the beginning of the array.
Returns
Iterator object pointed to the beginning of the array.
MAttributeSpecArray::ConstIterator cend
(
)
const
Returns a const iterator object pointed to the end of the array.
Returns
Iterator object pointed to the end of the array.
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: