Share

AcDbIdMapping

Class Hierarchy

AcRxObject
    AcDbIdMapping

C++

class AcDbIdMapping : public AcRxObject;

File

dbidmap.h

Description

AcDbIdMapping is used by the deep clone operation to map AcDbObjectIds between original objects and their clones (using AcDbIdPairs).

Remarks

There is no method provided to clear all entries in an instance of AcDbIdMapping. A new instance must be created for each use in a deep clone operation. Making AcDbIdMapping unique for each deep clone operation makes it possible to use the instance address as a distinguishing identifier in deep clone notification.

AcDbIdPair instances that have been added to the map are destroyed when the AcDbIdMapping instance is destroyed.

Links

AcDbIdMapping Methods

See Also

AcDbIdPair, AcDbIdMappingIter, AcDbDatabase::deepCloneObjects, AcDbDatabase::abortDeepClone, AcDbObject::deepClone, AcDbObject::wblockClone, AcEditorReactor::beginDeepClone, AcEditorReactor::beginDeepCloneXlation, AcEditorReactor::abortDeepClone, AcEditorReactor::endDeepClone

Was this information helpful?