Locate the object having the specified handle.
Declared in <bdlcc_objectcatalog.h>
int
find(int handle) const;
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.
0 on success, and a non-zero value if not found
| Name | Description |
|---|---|
| handle | handle of the object to locate |