CFx SDK Documentation
2022 SP0
|
#include <DbIdMapping.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbIdMapping) | |
OdDbIdMapping () | |
virtual void | assign (const OdDbIdPair &idPair)=0 |
virtual bool | compute (OdDbIdPair &idPair) const =0 |
virtual bool | del (const OdDbObjectId &key)=0 |
virtual OdDbIdMappingIterPtr | newIterator ()=0 |
virtual OdDbDatabase * | destDb () const =0 |
virtual void | setDestDb (OdDbDatabase *pDb)=0 |
virtual OdDbDatabase * | origDb () const =0 |
virtual OdDbObjectId | insertingXrefBlockId () const =0 |
virtual OdDb::DeepCloneType | deepCloneContext () const =0 |
virtual OdDb::DuplicateRecordCloning | duplicateRecordCloning () const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
static OdDbIdMappingPtr | createObject (OdDb::DeepCloneType) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is used in deepclone operations to map, using OdDbIdPair objects, Object IDs from the original objects to their clones.
<group OdDb_Classes>
Definition at line 237 of file DbIdMapping.h.
|
inline |
Definition at line 242 of file DbIdMapping.h.
|
pure virtual |
Adds the specified IdPair object to this IdMapping object.
idPair | [in] IdPair to add. |
|
pure virtual |
Returns the value of the IdPair in this IdMapping object that matches the key in the specified IdPair object.
idPair | [in/out] Supplies the key and receives the value. |
|
static |
|
pure virtual |
Returns the type of deepclone operation using this IdMapping object.
Value Description kDcCopy 0 Copy Array Mirror kDcExplode 1 Explode kDcBlock 2 Block definition kDcXrefBind 3 Xref Bind kDcSymTableMerge 4 Xref Attach DxfIn IgesIn kDcInsert 6 Insert of a .dwg file kDcWblock 7 Wblock kDcObjects 8 OdDbDatabase::deepCloneObjects() kDcXrefInsert 9 Xref Insert Xref BInd kDcInsertCopy 10 Insert() kDcWblkObjects 11 Wblock objects
|
pure virtual |
Deletes the IdPair with the specified key from this IdMapping object.
key | [in] Object ID key to delete. |
|
pure virtual |
Returns the destination database for the deepclone operation using this IdMapping object.
|
pure virtual |
Returns the type of duplicate record cloning for IdMapping object.
Value Description kDrcNotApplicable 0 Not applicable to the object. kDrcIgnore 1 If a duplicate record exists, use the existing record in the database, and ignore the clone. kDrcReplace 2 If a duplicate record exists, replace it with the cloned record. kDrcXrefMangleName 3 Incoming record names are mangled with <Xref>$0$<name> kDrcMangleName 4 Incoming record names are mangled with $0$<name> kDrcUnmangleName 5 Unmangle the names mangled by kDrcMangleName, then default to kDrcIgnore. Typically used by RefEdit when checking records into the original database.
|
pure virtual |
Notification function called whenever the Xref Block ID is about to be inserted into the destination database.
Returns the ObjectID of the Xref Block.
|
pure virtual |
Creates an Iterator object that provides access to the IdPair objects in this IdMapping object.
OdDbIdMapping::ODRX_DECLARE_MEMBERS | ( | OdDbIdMapping | ) |
|
pure virtual |
Returns the source database for the deepclone operation using this IdMapping object.
|
pure virtual |
Sets the destination database for the deepclone operation using this IdMapping object.
pDb | [in] Pointer to the destination database. |