40#define LAST_DWGDIRECT_UNDO_ID 0x1000
207#define QVAR_DEF_RO( type, name, validator ) \
208 virtual type get##name() const = 0; \
209 virtual bool set##name( type val ) = 0;
211#define QVAR_DEF( type, name, validator ) \
212 QVAR_DEF_RO( type, name, validator )
214#define QVAR_DEF_RO_2( type, name, validator )
215#define QVAR_DEF_2( type, name, validator )
217#define FX_VAR_DEF_RO( type, name, def_val, metric_def_value, filerType, rbType, validation ) \
218 QVAR_DEF_RO( type, name, validation )
220#define FX_VAR_DEF( type, name, def_val, metric_def_value, filerType, rbType, validation ) \
221 QVAR_DEF_RO( type, name, validation )
223#define ODTUCSNAME OdDbHardPointerId
243 #define FX_VAR_DEF(type, name, def_val, metric_def_value, filerType, rbType, validate) kPU_Db##name,
244 #define FX_VAR_DEF_RO(type, name, def_val, metric_def_value, filerType, rbType, validate) kPU_Db##name,
245 #define FX_REGVAR_DEF( type, name, def_val, filerType, rbType, validation ) kPU_Db##name,
246 #define FX_REGVAR_DEF_RO( type, name, def_val, filerType, rbType, validation ) kPU_Db##name,
247 #define QVAR_DEF( type, name, validation ) kPU_Db##name,
248 #define QVAR_DEF_RO( type, name, validation ) kPU_Db##name,
257 #undef FX_REGVAR_DEF_RO
261 #define REGVAR_DEF( type, name, def_val, filerType, validation ) kPU_Db##name,
312 bool saveThumbnailImage =
false,
313 int dxfPrecision = 16);
OdSmartPtr< CFxDatabase > CFxDatabasePtr
#define LAST_DWGDIRECT_UNDO_ID
virtual OdString getUSERS5() const =0
virtual void StartUndoRecord(const CFxString &strLabel)=0
virtual bool setTDINDWG(OdDbDate value)=0
virtual OdString getUSERS2() const =0
virtual bool setUSERS2(const OdString &value)=0
virtual bool setUCSORG(OdGePoint3d value)=0
virtual OdInt16 getBINDTYPE() const =0
virtual const CFxFileData & GetFileData() const =0
static CFxDatabasePtr RecoverFile(const CFxString &strFilename, OdCodePageId *pCodepage=0, const OdPassword &password=OdPassword())
virtual CFxDatabaseHistory * GetDatabaseHistory()=0
Gets the database history.
virtual OdString getUSERS3() const =0
OdDbObjectId GetActiveViewportId(OdDbObjectId idLayout=OdDbObjectId::kNull) const
virtual bool setPUCSAll(OdGePoint3d org, OdGeVector3d xDir, OdGeVector3d yDir)=0
~CFxDatabase(void) override
virtual const OdTimeStamp & getElapsedTime()=0
virtual bool setTDUCREATE(OdDbDate value)=0
OdGePoint2d getPLIMMIN() const override=0
virtual int BlockPurge(OdDbObjectId id, bool block)=0
Block purge.
virtual bool setUCSAll(OdGePoint3d org, OdGeVector3d xDir, OdGeVector3d yDir)=0
virtual void SetFileData(const CFxFileData &) const =0
static CFxDatabasePtr LoadFile(const CFxString &strFilename, OdCodePageId *pCodepage=0, const OdPassword &password=OdPassword())
virtual void ResetTime()=0
virtual CFxView * GetGsView(OdDbObjectId id) const =0
virtual bool setUSERS3(const OdString &value)=0
virtual bool setTDUUPDATE(OdDbDate value)=0
virtual OdString getUSERS4() const =0
OdCodePageId getDWGCODEPAGE() const override
virtual CFxGsModel * GetFxGsModel()=0
OdGePoint2d getPLIMMAX() const override=0
virtual bool setUSERS1(const OdString &value)=0
virtual bool setPUCSXDIR(OdGeVector3d value)=0
virtual const CFxGsModel * GetFxGsModel() const =0
virtual bool setPSTYLEMODE(bool value)=0
virtual const CFxUnitsFormatter * GetUnitsFormatter() const =0
virtual const std::set< OdDbObjectId > & GetBlockedPurge() const =0
virtual bool setUSERS5(const OdString &value)=0
OdDbObjectId GetActiveBlockId() const
virtual bool SaveFile(const CFxFileData *pNewData=0, bool deleteBackupFile=true)=0
virtual bool setTDUSRTIMER(OdDbDate value)=0
virtual bool setDWGCODEPAGE(OdCodePageId value)=0
virtual bool setBINDTYPE(OdInt16 value)=0
virtual void LockFile(bool bLock)=0
virtual bool setUCSYDIR(OdGeVector3d value)=0
ODRX_DECLARE_MEMBERS(CFxDatabase)
virtual bool setUCSXDIR(OdGeVector3d value)=0
virtual bool setPUCSORG(OdGePoint3d value)=0
virtual CFxRecentlyErased * GetRecentlyErased()=0
virtual OdString getUSERS1() const =0
virtual bool setPUCSYDIR(OdGeVector3d value)=0
bool IsModelLayoutActive() const
virtual bool setUSERS4(const OdString &value)=0
void writeFile(OdStreamBuf *pStreamBuf, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
GLsizei const GLfloat * value