API Reference > OdDg Classes > OdDgIdPair Class
OdDgIdPair Class
OdDgIdPair
Syntax
C++
class OdDgIdPair;

DgIdMapping.h

This class is the element class for OdDgMapping, which is used in deepclone operations to map Element IDs from the original elements to their clones.

Key is the Element ID of the original element. Value is the Element ID of the cloned element. 

 

TG_Db

 
Name 
Description 
 
This is the overview for the OdDgIdPair constructor overload. 
 
Name 
Description 
 
Returns true if and only if the key element for this IdPair element has been cloned. 
 
Returns true if and only if the owner of the key element for this IdPair element has been translated. 
 
Returns true if value element is primary. 
 
key 
Returns the key for this IdPair element. 
 
set 
Sets the parameters for this IdPair element according to the arguments.
 
 
Controls the cloned setting for this IdPair element.
 
 
Sets the key for this IdPair element.
 
 
Controls the owner translated setting for this IdPair element.
 
 
Controls the primary settings for this IdPair element.
 
 
Sets the value for this IdPair element.
 
 
Returns the value for this IdPair element. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.