getCapacity
Returns the number of objects the ordered set can store without reallocating.
Declaration
virtual unsigned int getCapacity() const;Return Value
The number objects the ordered set can store without reallocating.
Overview
OSOrderedSet objects grow when full to accommodate additional objects. See getCapacityIncrement and ensureCapacity.
See Also
Miscellaneous
containsObjectcopyCollectionensureCapacityflushCollectionfreegetCapacityIncrementgetCountgetFirstObjectgetLastObjectgetObjectgetOrderingRefinitWithCapacityisEqualTo(const OSMetaClassBase *)isEqualTo(const OSOrderedSet *)memberorderObjectremoveObjectsetCapacityIncrementsetFirstObjectsetLastObjectsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withCapacity