member
Checks the ordered set for the presence of an object.
Declaration
virtual bool member(
const OSMetaClassBase *anObject) const;Parameters
- anObject:
The OSMetaClassBase-derived object to check for in the ordered set.
Return Value
true if anObject is present within the ordered set, false otherwise.
Overview
Pointer equality is used. Returns false if passed NULL.
containsObject(const OSMetaClassBase *) checks for NULL before scanning the contents, and is therefore more efficient than this function.
See Also
Miscellaneous
containsObjectcopyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetFirstObjectgetLastObjectgetObjectgetOrderingRefinitWithCapacityisEqualTo(const OSMetaClassBase *)isEqualTo(const OSOrderedSet *)orderObjectremoveObjectsetCapacityIncrementsetFirstObjectsetLastObjectsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withCapacity