CFx SDK Documentation
2023 SP0
|
#include <DbIndex.h>
Public Types | |
enum | UpdateFlags { kModified = 1 , kDeleted = 2 , kProcessed = 4 , kUnknownKey = 8 } |
Public Member Functions | |
OdDbObjectId | objectBeingIndexedId () const |
void | addId (OdDbObjectId objectId) |
bool | setIdFlags (OdDbObjectId objectId, OdUInt8 flags) |
bool | setIdData (OdDbObjectId objectId, OdUInt32 data) |
bool | getIdData (OdDbObjectId objectId, OdUInt32 &data) const |
bool | getIdFlags (OdDbObjectId objectId, OdUInt8 &flags) const |
bool | getFlagsAndData (OdDbObjectId objectId, OdUInt8 &flags, OdUInt32 &data) const |
Friends | |
class | OdDbIndexUpdateDataImpl |
This class associates Index specific flags and data with an OdDbObjectId.
<group OdDb_Classes>
void OdDbIndexUpdateData::addId | ( | OdDbObjectId | objectId | ) |
Adds the specified Object ID to this OdDbIndexUpdateData object.
Object | ID [in] Object ID to be added. |
bool OdDbIndexUpdateData::getFlagsAndData | ( | OdDbObjectId | objectId, |
OdUInt8 & | flags, | ||
OdUInt32 & | data | ||
) | const |
Returns the flags and data associated with the specified Object ID in this OdDbIndexUpdateData object.
objectID | [in] Object ID. |
flags | [out] Receives the 8-bit flags. |
data | [out] Receives the 32-bit data. |
bool OdDbIndexUpdateData::getIdData | ( | OdDbObjectId | objectId, |
OdUInt32 & | data | ||
) | const |
Returns the data associated with the specified Object ID in this OdDbIndexUpdateData object.
objectID | [in] Object ID. |
data | [out] 32-bit data. |
bool OdDbIndexUpdateData::getIdFlags | ( | OdDbObjectId | objectId, |
OdUInt8 & | flags | ||
) | const |
Returns the flags associated with the specified Object ID in this OdDbIndexUpdateData object.
objectID | [in] Object ID. |
flags | [out] Receives the 8-bit flags. |
OdDbObjectId OdDbIndexUpdateData::objectBeingIndexedId | ( | ) | const |
Returns the Object ID of the OdDbBlockTableRecord instance that owns this OdDbIndexUpdateData object.
bool OdDbIndexUpdateData::setIdData | ( | OdDbObjectId | objectId, |
OdUInt32 | data | ||
) |
Sets the data associated with the specified Object ID in this OdDbIndexUpdateData object.
objectID | [in] Object ID. |
data | [in] 32-bit data. |
bool OdDbIndexUpdateData::setIdFlags | ( | OdDbObjectId | objectId, |
OdUInt8 | flags | ||
) |
Sets the flags associated with the specified Object ID in this OdDbIndexUpdateData object.
objectID | [in] Object ID. |
flags | [in] 8-bit flags. |