CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
40 #define LAST_DWGDIRECT_UNDO_ID 0x1000 //this value is much bigger than last DWGDirect undo value
205 #define QVAR_DEF_RO( type, name, validator ) \
206 virtual type get##name() const = 0; \
207 virtual bool set##name( type val ) = 0;
209 #define QVAR_DEF( type, name, validator ) \
210 QVAR_DEF_RO( type, name, validator )
212 #define QVAR_DEF_RO_2( type, name, validator )
213 #define QVAR_DEF_2( type, name, validator )
215 #define FX_VAR_DEF_RO( type, name, def_val, metric_def_value, filerType, rbType, validation ) \
216 QVAR_DEF_RO( type, name, validation )
218 #define FX_VAR_DEF( type, name, def_val, metric_def_value, filerType, rbType, validation ) \
219 QVAR_DEF_RO( type, name, validation )
221 #define ODTUCSNAME OdDbHardPointerId
241 #define FX_VAR_DEF(type, name, def_val, metric_def_value, filerType, rbType, validate) kPU_Db##name,
242 #define FX_VAR_DEF_RO(type, name, def_val, metric_def_value, filerType, rbType, validate) kPU_Db##name,
243 #define FX_REGVAR_DEF( type, name, def_val, filerType, rbType, validation ) kPU_Db##name,
244 #define FX_REGVAR_DEF_RO( type, name, def_val, filerType, rbType, validation ) kPU_Db##name,
245 #define QVAR_DEF( type, name, validation ) kPU_Db##name,
246 #define QVAR_DEF_RO( type, name, validation ) kPU_Db##name,
255 #undef FX_REGVAR_DEF_RO
259 #define REGVAR_DEF( type, name, def_val, filerType, validation ) kPU_Db##name,
308 bool saveThumbnailImage =
false,
309 int dxfPrecision = 16);
virtual void StartUndoRecord(const CFxString &strLabel)=0
virtual OdString getUSERS1() const =0
virtual int BlockPurge(OdDbObjectId id, bool block)=0
Block purge.
virtual bool SaveFile(const CFxFileData *pNewData=0, bool deleteBackupFile=true)=0
OdDbObjectId GetActiveViewportId(OdDbObjectId idLayout=OdDbObjectId::kNull) const
virtual bool setTDINDWG(OdDbDate value)=0
virtual bool setPUCSYDIR(OdGeVector3d value)=0
virtual bool setBINDTYPE(OdInt16 value)=0
virtual CFxDatabaseHistory * GetDatabaseHistory()=0
Gets the database history.
virtual const std::set< OdDbObjectId > & GetBlockedPurge() const =0
virtual bool setTDUUPDATE(OdDbDate value)=0
virtual void SetFileData(const CFxFileData &) const =0
virtual bool setTDUCREATE(OdDbDate value)=0
OdGePoint2d getPLIMMAX() const override=0
virtual OdInt16 getBINDTYPE() const =0
OdCodePageId getDWGCODEPAGE() const override
static CFxDatabasePtr LoadFile(const CFxString &strFilename, OdCodePageId *pCodepage=0, const OdPassword &password=OdPassword())
virtual bool setUSERS4(const OdString &value)=0
virtual bool setPUCSORG(OdGePoint3d value)=0
virtual const CFxFileData & GetFileData() const =0
void writeFile(OdStreamBuf *pStreamBuf, OdDb::SaveType fileType, OdDb::DwgVersion fileVersion, bool saveThumbnailImage=false, int dxfPrecision=16)
virtual bool setUCSORG(OdGePoint3d value)=0
virtual bool setTDUSRTIMER(OdDbDate value)=0
virtual bool setUSERS5(const OdString &value)=0
static CFxDatabasePtr RecoverFile(const CFxString &strFilename, OdCodePageId *pCodepage=0, const OdPassword &password=OdPassword())
virtual OdString getUSERS2() const =0
virtual const CFxUnitsFormatter * GetUnitsFormatter() const =0
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
virtual const OdTimeStamp & getElapsedTime()=0
virtual CFxGsModel * GetFxGsModel()=0
virtual OdString getUSERS4() const =0
virtual bool setUSERS1(const OdString &value)=0
virtual const CFxGsModel * GetFxGsModel() const =0
virtual OdString getUSERS3() const =0
OdSmartPtr< CFxDatabase > CFxDatabasePtr
virtual bool setPUCSXDIR(OdGeVector3d value)=0
ODRX_DECLARE_MEMBERS(CFxDatabase)
virtual bool setUSERS3(const OdString &value)=0
GLsizei const GLfloat * value
virtual bool setPSTYLEMODE(bool value)=0
virtual void LockFile(bool bLock)=0
virtual bool setUSERS2(const OdString &value)=0
virtual CFxView * GetGsView(OdDbObjectId id) const =0
virtual void ResetTime()=0
virtual bool setUCSXDIR(OdGeVector3d value)=0
OdDbObjectId GetActiveBlockId() const
~CFxDatabase(void) override
#define LAST_DWGDIRECT_UNDO_ID
virtual OdString getUSERS5() const =0
virtual CFxRecentlyErased * GetRecentlyErased()=0
bool IsModelLayoutActive() const
virtual bool setDWGCODEPAGE(OdCodePageId value)=0
virtual bool setUCSYDIR(OdGeVector3d value)=0
OdGePoint2d getPLIMMIN() const override=0