CFx SDK Documentation 2024 SP0
|
#include <DbIndex.h>
Protected Member Functions | |
virtual void | rebuildModified (OdDbBlockChangeIterator *iterator) |
Protected Member Functions inherited from OdDbObject | |
OdDbObject () | |
virtual OdResult | subGetClassID (void *pClsid) const |
virtual OdDbObjectPtr | subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
virtual OdDbObjectPtr | subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const |
Protected Member Functions inherited from OdGiDrawable | |
OdGiDrawable () | |
virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const =0 |
virtual bool | subWorldDraw (OdGiWorldDraw *wd) const =0 |
virtual void | subViewportDraw (OdGiViewportDraw *vd) const =0 |
virtual OdUInt32 | subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const |
virtual OdUInt32 | subRegenSupportFlags () const |
Friends | |
class | OdDbIndexImpl |
void | processBTRIndexObjects (OdDbBlockTableRecord *pBTR, int indexCtlVal, OdDbBlockChangeIterator *pBlkChgIter, OdDbIndexUpdateData *pIdxUpdData) |
The class is the base class for all OdDb Index objects.
<group OdDb_Classes>
OdDbIndex::OdDbIndex | ( | ) |
|
virtual |
Reads the .dwg file data of this object.
pFiler | [in] Filer object from which data are read. |
This function is called by dwgIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
Reimplemented in OdDbLayerIndex, OdDbPartialViewingIndex, and OdDbSpatialIndex.
|
virtual |
Writes the .dwg file data of this object.
pFiler | [in] Pointer to the filer to which data are written. |
This function is called by dwgIn() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
Reimplemented in OdDbLayerIndex, OdDbPartialViewingIndex, and OdDbSpatialIndex.
|
virtual |
Reads the DXF data of this object.
pFiler | [in] Pointer to the filer from which data are read. |
This function is called by dxfIn() to allow the object to read its data.
When overriding this function:
1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().
Reimplemented from OdDbObject.
Reimplemented in OdDbLayerIndex, and OdDbSpatialIndex.
|
virtual |
Writes the DXF data of this object.
pFiler | [in] Pointer to the filer to which data are to be written. |
This function is called by dxfOut() to allow the object to write its data.
When overriding this function:
1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.
Reimplemented from OdDbObject.
Reimplemented in OdDbLayerIndex, and OdDbSpatialIndex.
bool OdDbIndex::isUptoDate | ( | ) | const |
Returns true if and only if this Index object is up to date.
OdDbDate OdDbIndex::lastUpdatedAt | ( | ) | const |
Returns the Julian lastUpdatedAt timestamp for this Index object.
OdDbDate OdDbIndex::lastUpdatedAtU | ( | ) | const |
Returns the UT lastUpdatedAt timestamp for this Index object.
|
virtual |
Creates an Iterator object that provides access to the entities in this Index object.
pFilter | [in] Pointer to the filter to be applied to this Index object. |
Reimplemented in OdDbLayerIndex, OdDbPartialViewingIndex, and OdDbSpatialIndex.
OdDbIndex::ODDB_DECLARE_MEMBERS | ( | OdDbIndex | ) |
|
virtual |
Fully rebuilds this Index object from the entities in the block table record object.
pIdxData | [in] Pointer to the OdDbIndexUpdateData object to be used in the rebuild. |
Reimplemented in OdDbLayerIndex, OdDbPartialViewingIndex, and OdDbSpatialIndex.
|
protectedvirtual |
Called by OdDbIndexFilterManager::updateIndexes() when only modifications are being registered.
iterator | [in] Iterator of modified entities. |
Reimplemented in OdDbLayerIndex, OdDbPartialViewingIndex, and OdDbSpatialIndex.
Sets the Julian lastUpdatedAt timestamp for this Index object.
time | [in] Julian date. |
Sets the UT lastUpdatedAt timestamp for this Index object.
time | [in] UT date. |
|
friend |