setCapacityIncrement
Sets the storage increment of the ordered set.
Declaration
virtual unsigned int setCapacityIncrement(
unsigned increment);Return Value
The new storage increment of the ordered set, which may be different from the number requested.
Overview
An OSOrderedSet allocates storage for objects in multiples of the capacity increment. Calling this function does not immediately reallocate storage.
See Also
Miscellaneous
containsObjectcopyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetFirstObjectgetLastObjectgetObjectgetOrderingRefinitWithCapacityisEqualTo(const OSMetaClassBase *)isEqualTo(const OSOrderedSet *)memberorderObjectremoveObjectsetFirstObjectsetLastObjectsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withCapacity