API Reference > OdDg Classes > OdDgIdMapping Class
OdDgIdMapping Class
OdDgIdMapping
Syntax
C++
class OdDgIdMapping : public OdRxObject;

DgIdMapping.h

This class is used in deepclone operations to map, using OdDgIdPair elements, Element IDs from the original elements to their clones.

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

 

TG_Db

 
Name 
Description 
 
This is OdDgIdMapping, a member of class OdDgIdMapping. 
 
Name 
Description 
 
Adds the specified IdPair element to this IdMapping element.
 
 
Returns the value of the IdPair in this IdMapping element that matches the key in the specified IdPair element.
 
 
This is createObject, a member of class OdDgIdMapping. 
 
Returns the type of deepclone operation using this IdMapping element. 
 
del 
Deletes the IdPair with the specified key from this IdMapping element.
 
 
Returns the destination database for the deepclone operation using this IdMapping element. 
 
Returns the type of duplicate record cloning for IdMapping element. 
 
Notification function called whenever the Xref Block ID is about to be inserted into the destination database.
Returns the ElementID of the Xref Block. 
 
Creates an Iterator element that provides access to the IdPair elements in this IdMapping element. 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdDgIdMapping. 
 
Returns the source database for the deepclone operation using this IdMapping element. 
 
Sets the destination database for the deepclone operation using this IdMapping element.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.