Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberLogExtension


ContainsCyberItem

Tests whether a particular Cyberdog item is in the log.

ODBoolean ContainsCyberItem (in CyberItem item);
item
The CyberItem object for this operation.
return value
kODTrue if the log contains an equivalent Cyberdog item; otherwise, kODFalse.
DISCUSSION
This method should determine whether a particular Cyberdog item is in the log; it should call the CyberItem::Compare method to determine whether two CyberItem objects are equivalent.

You should not call this method directly; to determine whether a Cyberdog item is in the log, you should call CyberSession::LogContainsCyberItem, which calls this method.

If you subclass CyberLogExtension, you must override this method. Your override method must call its inherited method.

SEE ALSO
The CyberItem::Compare method (page 230).
The CyberSession::LogContainsCyberItem method (page 369).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996