CFx SDK Documentation
2023 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 59 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 69 of file DbIdMapping.h.
|
inline |
Definition at line 72 of file DbIdMapping.h.
|
inline |
Definition at line 80 of file DbIdMapping.h.
|
inline |
Definition at line 87 of file DbIdMapping.h.
|
inline |
Returns true if and only if the key object for this IdPair object has been cloned.
Definition at line 113 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 123 of file DbIdMapping.h.
|
inline |
Returns true if the key object for this IdPair is primary.
Definition at line 118 of file DbIdMapping.h.
|
inline |
Returns the key for this IdPair object.
Definition at line 103 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 133 of file DbIdMapping.h.
|
inline |
Controls the cloned setting for this IdPair object.
cloned | [in] Key object has been cloned. |
Definition at line 169 of file DbIdMapping.h.
|
inline |
Sets the key for this IdPair object.
key | [in] Object ID to use as key. |
Definition at line 153 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 184 of file DbIdMapping.h.
|
inline |
Controls the primary setting for this IdPair object.
cloned | [in] Key object is primary. |
Definition at line 177 of file DbIdMapping.h.
|
inline |
Sets the value for this IdPair object.
value | [in] Object ID to use as Value. |
Definition at line 161 of file DbIdMapping.h.
|
inline |
Returns the value for this IdPair object.
Definition at line 108 of file DbIdMapping.h.