flushCollection
Removes and releases all objects within the array.
Declaration
virtual void flushCollection();Overview
The array's capacity (and therefore direct memory consumption) is not reduced by this function.
See Also
Miscellaneous
copyCollectionensureCapacityfreegetCapacitygetCapacityIncrementgetCountgetLastObjectgetNextIndexOfObjectgetObjectinitWithArrayinitWithCapacityinitWithObjectsisEqualTo(const OSArray *)isEqualTo(const OSMetaClassBase *)mergeremoveObjectreplaceObjectserializesetCapacityIncrementsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withArraywithCapacitywithObjects