// DbWellArea.h // ////////////////////////////////////////////////////////////////////// #ifndef __DBCONFLUENCEAREA_H #define __DBCONFLUENCEAREA_H #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class PS_EXP TDbConfluenceArea : public TDbSpace { DECLARE_TENTBASE(); ACRX_DECLARE_MEMBERS(TDbConfluenceArea); public: TDbConfluenceArea(); ~TDbConfluenceArea(); AcDbObjectId GetWellId() const { assertReadEnabled(); const TEntityFields &fd = GetFields(); AcDbSoftPointerId idWell = NULL; fd.GFD(_T("ID_WELL"), idWell); return (AcDbObjectId)idWell; } void SetWellId(AcDbSoftPointerId idWell) { assertWriteEnabled(); TEntityFields &fd = Fields(); fd.SFD(_T("ID_WELL"), (AcDbSoftPointerId)idWell); } AecObjectEditMethod GetEditMethodPoint() { return TDbSpace::GetEditMethod(); } private: virtual Acad::ErrorStatus subClose(); virtual Acad::ErrorStatus subGetGripPoints(AcGePoint3dArray& gripPoints, AcDbIntArray& osnapModes, AcDbIntArray& geomIds) const; virtual Acad::ErrorStatus DownGradeSave(int nDrawMode, AcDbVoidPtrArray &entSet, BOOL *bErase); virtual Acad::ErrorStatus subDeepClone(AcDbObject* pOwner, AcDbObject*& pClonedObject, AcDbIdMapping& idMap, Adesk::Boolean isPrimary) const; virtual void CopyPropertiesFrom(AcDbEntity *pSrcEntity, unsigned gMatchFlag); }; #endif