API Reference > OdDb Classes > OdDbIdMapping Class
OdDbIdMapping Class
OdDbIdMapping
Syntax
C++
class OdDbIdMapping : public OdRxObject;

DbIdMapping.h

This class is used in deepclone operations to map, using OdDbIdPair objects, Object IDs from the original objects to their clones.

There is no mechanism to clear all the mappings in an OdDbIdMapping instance; a new instance must be created for each deepclone operation. 

 

 
Name 
Description 
 
 
 
Name 
Description 
 
Adds the specified IdPair object to this IdMapping object.
 
 
Returns the value of the IdPair in this IdMapping object that matches the key in the specified IdPair object.
 
 
 
 
Returns the type of deepclone operation using this IdMapping object. 
 
del 
Deletes the IdPair with the specified key from this IdMapping object.
 
 
Returns the destination database for the deepclone operation using this IdMapping object. 
 
Returns the type of duplicate record cloning for IdMapping object. 
 
Notification function called whenever the Xref Block ID is about to be inserted into the destination database.
Returns the ObjectID of the Xref Block. 
 
Creates an Iterator object that provides access to the IdPair objects in this IdMapping object. 
 
 
 
Returns the source database for the deepclone operation using this IdMapping object. 
 
Sets the destination database for the deepclone operation using this IdMapping object.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.