Adds a new element and registers it in the database.
Parameters
Parameters
Description
pObj
[in] A smart pointer to the created object that should be added to the database.
Returns
If the element was successfully added to the database, the method returns the identifier of the created element; otherwise it returns a null identifier.
Remarks
Please note that a null identifier has a value, which is not equal to zero (OdBmObjectId::kNull).