|
| ODDB_DECLARE_MEMBERS (CFxBIMDatabaseReference) |
|
virtual | ~CFxBIMDatabaseReference () |
|
Error | Merge (const OdString &dwgPath, int flags) |
|
virtual const OdString & | BimFileName () const |
|
virtual const OdString & | BimViewName () const |
|
virtual CFxBIMDatabasePtr | BimDatabase (OdDb::OpenMode openMode) |
|
virtual Error | CreateEntityRefs (OdDbObjectId idOwner, const OdGeMatrix3d &trf) |
|
virtual Error | DestroyEntityRefs () |
|
virtual Error | RemoveReferredObjectsFromGsModel () |
|
virtual Error | Load () |
|
virtual Error | Unload () |
|
virtual bool | IsUnloaded () |
|
virtual const OdGeMatrix3d & | Transform () const |
|
virtual void | SetTransform (const OdGeMatrix3d &transform) |
|
virtual size_t | EntityRefCount () const |
|
virtual OdDbObjectId | EntityRef (size_t index) const |
|
virtual bool | IsLocked () const |
|
virtual Error | Lock () |
|
virtual Error | Unlock () |
|
virtual bool | IsOn () const |
|
virtual Error | On () |
|
virtual Error | Off () |
|
virtual Error | Insert () |
|
virtual Error | Remove () |
|
virtual Error | ReloadFrom (CFxBIMDatabaseReferencePtr pNew, OdDbObjectId idOwner, const OdGeMatrix3d &trf) |
|
virtual int | Flags () const |
|
virtual void | SetFlags (int flags) |
|
OdResult | dwgInFields (OdDbDwgFiler *pFiler) override |
|
void | dwgOutFields (OdDbDwgFiler *pFiler) const override |
|
OdResult | dxfInFields (OdDbDxfFiler *pFiler) override |
|
void | dxfOutFields (OdDbDxfFiler *pFiler) const override |
|
void | subClose () override |
|
void | applyPartialUndo (OdDbDwgFiler *pFiler, OdRxClass *pClass) override |
|
void | subHandOverTo (OdDbObject *pNewObject) override |
|
| ODDB_DECLARE_MEMBERS (OdDbObject) |
|
| ~OdDbObject () |
|
void | addRef () |
|
void | release () |
|
long | numRefs () const |
|
OdDbObjectId | objectId () const |
|
OdDbHandle | getDbHandle () const |
|
OdDbHandle | handle () const |
|
OdDbObjectId | ownerId () const |
|
virtual void | setOwnerId (OdDbObjectId ownerId) |
|
OdDbDatabase * | database () const |
|
void | createExtensionDictionary () |
|
OdDbObjectId | extensionDictionary () const |
|
bool | releaseExtensionDictionary () |
|
OdDbXrecordPtr | createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore) |
|
void | upgradeOpen () |
|
void | downgradeOpen () |
|
void | cancel () |
|
virtual OdResult | subOpen (OdDb::OpenMode mode) |
|
OdResult | erase (bool eraseIt=true) |
|
virtual OdResult | subErase (bool erasing) |
|
void | handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true) |
|
void | swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false) |
|
virtual void | subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false) |
|
virtual void | audit (OdDbAuditInfo *pAuditInfo) |
|
void | dwgIn (OdDbDwgFiler *pFiler) |
|
void | dwgOut (OdDbDwgFiler *pFiler) const |
|
virtual OdResult | dxfIn (OdDbDxfFiler *pFiler) |
|
virtual void | dxfOut (OdDbDxfFiler *pFiler) const |
|
virtual OdResult | dxfInFields_R12 (OdDbDxfFiler *pFiler) |
|
virtual void | dxfOutFields_R12 (OdDbDxfFiler *pFiler) const |
|
virtual OdDb::DuplicateRecordCloning | mergeStyle () const |
|
virtual OdResBufPtr | xData (const OdString ®appName=OdString::kEmpty) const |
|
virtual void | setXData (const OdResBuf *pRb) |
|
bool | isEraseStatusToggled () const |
|
bool | isErased () const |
|
bool | isReadEnabled () const |
|
bool | isWriteEnabled () const |
|
bool | isNotifyEnabled () const |
|
bool | isModified () const |
|
bool | isModifiedXData () const |
|
bool | isModifiedGraphics () const |
|
bool | isNewObject () const |
|
bool | isNotifying () const |
|
bool | isUndoing () const |
|
bool | isReallyClosing () const |
|
bool | isDBRO () const |
|
void | assertReadEnabled () const |
|
void | assertWriteEnabled (bool autoUndo=true, bool recordModified=true) |
|
void | assertNotifyEnabled () const |
|
void | disableUndoRecording (bool disable) |
|
bool | isUndoRecordingDisabled () const |
|
OdDbDwgFiler * | undoFiler () |
|
void | addReactor (OdDbObjectReactor *pReactor) const |
|
void | removeReactor (OdDbObjectReactor *pReactor) const |
|
virtual void | addPersistentReactor (const OdDbObjectId &objId) |
|
virtual void | removePersistentReactor (const OdDbObjectId &objId) |
|
bool | hasPersistentReactor (const OdDbObjectId &objId) const |
|
OdDbObjectIdArray | getPersistentReactors () const |
|
OdDbObjectReactorArray | getTransientReactors () const |
|
virtual void | recvPropagateModify (const OdDbObject *pSubObj) |
|
virtual void | xmitPropagateModify () const |
|
ODRX_SEALED_VIRTUAL OdDbObjectPtr | deepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL OdDbObjectPtr | wblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED |
|
virtual void | appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap) |
|
void | setOdDbObjectIdsInFlux () |
|
bool | isOdDbObjectIdsInFlux () const |
|
virtual void | copied (const OdDbObject *pObject, const OdDbObject *pNewObject) |
|
virtual void | erased (const OdDbObject *pObject, bool erasing=true) |
|
virtual void | goodbye (const OdDbObject *pObject) |
|
virtual void | openedForModify (const OdDbObject *pObject) |
|
virtual void | modified (const OdDbObject *pObject) |
|
virtual void | subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj) |
|
virtual void | modifyUndone (const OdDbObject *pObject) |
|
virtual void | modifiedXData (const OdDbObject *pObject) |
|
virtual void | unappended (const OdDbObject *pObject) |
|
virtual void | reappended (const OdDbObject *pObject) |
|
bool | isAProxy () const |
|
virtual void | objectClosed (const OdDbObjectId &objectId) |
|
virtual void | modifiedGraphics (const OdDbObject *pObject) |
|
virtual void | copyFrom (const OdRxObject *pSource) |
|
bool | hasSaveVersionOverride () const |
|
void | setHasSaveVersionOverride (bool hasSaveVersionOverride) |
|
virtual OdDb::DwgVersion | getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const |
|
virtual OdDbObjectPtr | decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData) |
|
virtual OdDbObjectPtr | decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData) |
|
void | convertForSave (OdDb::DwgVersion ver) |
|
virtual void | composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo) |
|
virtual OdGiDrawable * | drawable () |
|
virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *pTraits) const |
|
virtual bool | subWorldDraw (OdGiWorldDraw *pWd) const |
|
virtual void | subViewportDraw (OdGiViewportDraw *pVd) const |
|
virtual bool | isPersistent () const |
|
virtual OdDbStub * | id () const |
|
ODRX_SEALED_VIRTUAL OdResult | getClassID (void *pClsid) const ODRX_SEALED |
|
void | setGsNode (OdGsCache *pNode) |
|
OdGsCache * | gsNode () const |
|
void | xDataTransformBy (const OdGeMatrix3d &xfm) |
|
bool | hasFields () const |
|
OdDbObjectId | getField (const OdString &fieldName) const |
|
OdDbObjectPtr | getField (const OdString &fieldName, OdDb::OpenMode mode) const |
|
virtual OdDbObjectId | setField (const OdString &fieldName, OdDbField *pField) |
|
virtual OdResult | removeField (OdDbObjectId fieldId) |
|
virtual OdDbObjectId | removeField (const OdString &fieldName) |
|
OdDbObjectId | getFieldDictionary () const |
|
OdDbObjectPtr | getFieldDictionary (OdDb::OpenMode mode) const |
|
virtual OdRxClass * | saveAsClass (OdRxClass *pClass) const |
|
| ODRX_DECLARE_MEMBERS (OdGiDrawable) |
|
virtual DrawableType | drawableType () const |
|
ODRX_SEALED_VIRTUAL OdUInt32 | setAttributes (OdGiDrawableTraits *pTraits) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL bool | worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL void | viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED |
|
ODRX_SEALED_VIRTUAL OdUInt32 | viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED |
|
virtual OdResult | getGeomExtents (OdGeExtents3d &extents) const |
|
ODRX_SEALED_VIRTUAL OdUInt32 | regenSupportFlags () const ODRX_SEALED |
|
| ODRX_HEAP_OPERATORS () |
|
| OdRxObject () |
|
virtual | ~OdRxObject () |
|
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
|
virtual OdRxObject * | x (const OdRxClass *pClass) const |
|
virtual OdRxClass * | isA () const |
|
bool | isKindOf (const OdRxClass *pClass) const |
|
virtual OdRxObjectPtr | clone () const |
|
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
|
virtual bool | isEqualTo (const OdRxObject *pOther) const |
|
Definition at line 32 of file FxBIMDatabaseReference.h.
Notification function called each time an Undo operation is performed this object is using partial Undo.
- Parameters
-
pUndoFiler | [in] A pointer to the undo filer with the partial undo information. |
pClassObj | [in] A pointer to the OdRxClass object for the class that will handle the Undo. |
This member function must know which types of fields to scan, and must stop after reading what it it needs.
If the class type specified by pClassObj does not matches the class of this object, this member function must call the parent class's applyPartialUndo() and return whatever it returns.
If it does match the class of this object, this member function must use pUndoFiler to read the undo data, then typically use this object's set() method.
Throws:
Cause eNotThatKindOfClass pClassObj != OdDbObject::desc()
Reimplemented from OdDbObject.
void CFxBIMDatabaseReference::subClose |
( |
| ) |
|
|
overridevirtual |
Called as the first operation as this object is being closed, for database -resident objects only.
When overriding this function:
1) If the OdDbObject's state is incorrect, throw exception.
2) Call parent class's subClose().
3) If other actions are required before close, do them.
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.
void CFxBIMDatabaseReference::subHandOverTo |
( |
OdDbObject * |
pNewObject | ) |
|
|
overridevirtual |
Called as the first operation of the handOverTo function.
- Parameters
-
pNewObject | [in] Pointer to the object with which to replace this object in the database. |
This function is notified just before an object is to be handed over; giving this function the ability to cancel the handover.
When overriding this function:
1) If the OdDbObject's state is incorrect, throw exception.
2) Call parent class's subHandover().
3) If other actions are required before handover, do them.
The default implementation of this function does nothing. This function can be overridden in custom classes.
Reimplemented from OdDbObject.