Collection::FindPtr
Section: ET++ method description (n)
Updated: automatically Fri Mar 1 10:57:30 1991
Index
Return to Main Contents
NAME
Collection::FindPtr - instance method
TEMPLATE
foundObject = ObjPtr
FindPtr(ObjPtr anObject)
SPECIFIERS
public
virtual
DESCRIPTION
If there is an element of the receiver identical to anObject, this element
is returned. Otherwise, 0 is returned.
In constract to Find, anObject can be of arbitrary dynamic type.
Collection::FindPtr has a default implementation.
See also method Find.
Method is rarely overridden.
ARGUMENTS
- ObjPtr anObject
-
RETURN ARGUMENT
- ObjPtr foundObject
-
CATEGORIES
accessing, client interface, overrider interface
FIRST DEFINITION
class Collection
FILES
- implementation:
-
Collection.C
KNOWN PROBLEMS
Set's current implementation is not correct.
Except for the classes explicitly treating the pointer to an element as key
(IdSet and IdDictionary), there is no reason to override FindPtr.
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
- KNOWN PROBLEMS
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:31 GMT, March 30, 2022