find overloads

Synopses

Declared in <bdlcc_objectcatalog.h>

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.

int
find(int handle) const;

Same as the preceding overload, loading the found object's value into the specified valueBuffer.

int
find(
    int handle,
    TYPE* valueBuffer) const;

Created with MrDocs