removeObject
Removes an object from the array.
Declaration
virtual void removeObject(
unsigned intindex);Parameters
- index:
The index of the object to be removed.
Overview
This function moves existing objects to fill the vacated index so that there are no gaps. The object removed is released.
See Also
Miscellaneous
copyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetLastObjectgetNextIndexOfObjectgetObjectinitWithArrayinitWithCapacityinitWithObjectsisEqualTo(const OSArray *)isEqualTo(const OSMetaClassBase *)mergereplaceObjectserializesetCapacityIncrementsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withArraywithCapacitywithObjects