Locate the object having the specified handle.
Synopsis
Declared in <bdlcc_objectcatalog.h>
int
find(int handle) const;
Description
Locate the object having the specified handle and optionally load its value into the optionally specified valueBuffer. Return zero on success, and a non‐zero value if the handle is not contained in this catalog. Note that valueBuffer is assigned into, and thus must point to a valid TYPE instance. Note that the overload with valueBuffer passed is not supported unless TYPE has a copy constructor.
Return Value
0 on success, and a non‐zero value if not found
Parameters
Name |
Description |
handle |
handle of the object to locate |
Created with MrDocs