getCapacity
Returns the number of objects the set can store without reallocating.
Declaration
virtual unsigned int getCapacity() const;Return Value
The number objects the set can store without reallocating.
Overview
OSSet objects grow when full to accommodate additional objects. See getCapacityIncrement and ensureCapacity.
See Also
Miscellaneous
containsObjectcopyCollectionensureCapacityflushCollectionfreegetAnyObjectgetCapacityIncrementgetCountinitWithArrayinitWithCapacityinitWithObjectsinitWithSetisEqualTo(const OSMetaClassBase *)isEqualTo(const OSSet *)membermerge(const OSArray *)merge(const OSSet *)removeObjectserializesetCapacityIncrementsetObjectwithArraywithCapacitywithObjectswithSet