getObject
Gets the object at a particular index.
Declaration
virtual OSObject * getObject(
unsigned intindex) const;Parameters
- index:
The index into the set.
Return Value
The object at the given index, or NULL if none exists at that location.
Overview
The returned object will be released if removed from the set; if you plan to store the reference, you should call retain on that object.
See Also
Miscellaneous
containsObjectcopyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetFirstObjectgetLastObjectgetOrderingRefinitWithCapacityisEqualTo(const OSMetaClassBase *)isEqualTo(const OSOrderedSet *)memberorderObjectremoveObjectsetCapacityIncrementsetFirstObjectsetLastObjectsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withCapacity