Replace the object with the specified handle with newObject.

Synopsis

Declared in <bdlcc_objectcatalog.h>

int
replace(
    int handle,
    TYPE const& newObject);

Description

Replace the object having the specified handle with the specified newObject. Return 0 on success, and a non‐zero value if the handle is not contained in this catalog.

Return Value

0 on success, and a non‐zero value if not found

Parameters

Name

Description

handle

handle of the object to replace

newObject

replacement value

Created with MrDocs