Contents

member

Checks the 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 set.

Return Value

true if anObject is present within the set, false otherwise.

Overview

Pointer equality is used. This function returns false if passed NULL.

containsObject checks for NULL first, and is therefore more efficient than this function.

See Also

Miscellaneous