|
CFx SDK Documentation 2024 SP0
|
#include <DbIdMapping.h>
Public Member Functions | |
| OdDbIdPair () | |
| OdDbIdPair (const OdDbIdPair &source) | |
| OdDbIdPair (const OdDbObjectId &key) | |
| OdDbIdPair (const OdDbObjectId &key, const OdDbObjectId &value, bool cloned=false, bool ownerXlated=true, bool primary=false) | |
| OdDbObjectId | key () const |
| OdDbObjectId | value () const |
| bool | isCloned () const |
| bool | isPrimary () const |
| bool | isOwnerXlated () const |
| OdDbIdPair & | set (const OdDbObjectId &key, const OdDbObjectId &value, bool cloned=false, bool ownerXlated=true, bool primary=false) |
| void | setKey (const OdDbObjectId &key) |
| void | setValue (const OdDbObjectId &value) |
| void | setCloned (bool cloned) |
| void | setPrimary (bool primary) |
| void | setOwnerXlated (bool ownerXlated) |
This class is the element class for OdDbMapping, which is used in deepclone operations to map Object IDs from the original objects to their clones.
<group OdDb_Classes>
Definition at line 56 of file DbIdMapping.h.
|
inline |
| source | [in] OdDbIdPair to be copied. |
| key | [in] Object ID to use as key. |
| value | [in] Object ID to use as Value. |
| cloned | [in] Key object has been cloned. |
| ownerXlated | [in] Owner of key object has been translated. |
| primary | [in] Key object is primary. |
Definition at line 66 of file DbIdMapping.h.
|
inline |
Definition at line 69 of file DbIdMapping.h.
|
inline |
Definition at line 77 of file DbIdMapping.h.
|
inline |
Definition at line 84 of file DbIdMapping.h.
|
inline |
Returns true if and only if the key object for this IdPair object has been cloned.
Definition at line 110 of file DbIdMapping.h.
|
inline |
Returns true if and only if the owner of the key object for this IdPair object has been translated.
Definition at line 120 of file DbIdMapping.h.
|
inline |
Returns true if the key object for this IdPair is primary.
Definition at line 115 of file DbIdMapping.h.
|
inline |
Returns the key for this IdPair object.
Definition at line 100 of file DbIdMapping.h.
|
inline |
Sets the parameters for this IdPair object according to the arguments.
| key | [in] Object ID to use as key. |
| value | [in] Object ID to use as Value. |
| cloned | [in] Key object has been cloned. |
| ownerXlated | [in] Owner of key object has been translated. |
Definition at line 130 of file DbIdMapping.h.
|
inline |
Controls the cloned setting for this IdPair object.
| cloned | [in] Key object has been cloned. |
Definition at line 166 of file DbIdMapping.h.
|
inline |
Sets the key for this IdPair object.
| key | [in] Object ID to use as key. |
Definition at line 150 of file DbIdMapping.h.
|
inline |
Controls the owner translated setting for this IdPair object.
| ownerXlated | [in] Owner of key object has been translated. |
Definition at line 181 of file DbIdMapping.h.
|
inline |
Controls the primary setting for this IdPair object.
| cloned | [in] Key object is primary. |
Definition at line 174 of file DbIdMapping.h.
|
inline |
Sets the value for this IdPair object.
| value | [in] Object ID to use as Value. |
Definition at line 158 of file DbIdMapping.h.
|
inline |
Returns the value for this IdPair object.
Definition at line 105 of file DbIdMapping.h.