Add the specified object to this catalog and return its handle.
Declared in <bdlcc_objectcatalog.h>
int
add(TYPE const& object);
Add the value of the specified object to this catalog and return a non-zero integer handle that may be used to refer to the object in future calls to this catalog. The behavior is undefined if the catalog was full.
non-zero handle referring to the added object
| Name | Description |
|---|---|
| object | object to add |