CFx SDK Documentation
2022 SP0
|
#include <FxFileData.h>
Public Types | |
enum | FileType { kDwg = 0 , kDxf = 1 , kDxb = 2 , kFlx = 3 , kDwf = 4 , kDwt = 5 , kShp = 6 , kDws = 7 , kDae = 8 , kRfa = 9 , kDgn = 10 , kRvt = 11 , kDwgMech = 12 , kUnknown = -1 } |
enum | FlxVersion { VNR40 = 4 , VNR50 = 9 , VNR60 = 11 , VNR70 = 14 , VNR80 = 15 , VNR_CURRENT = VNR70 } |
Public Member Functions | |
virtual | ~CFxFileData () |
virtual CFxFileData & | operator= (const CFxFileData &source) |
virtual bool | IsReadOnly () const =0 |
virtual void | SetReadOnly (bool bReadOnly)=0 |
virtual const CFxString & | GetFilename () const =0 |
virtual const CFxString & | GetPrettyFilename () const =0 |
virtual void | SetFilename (const CFxString &str)=0 |
virtual void | SetPrettyFilename (const CFxString &str)=0 |
virtual FileType | GetType () const =0 |
virtual void | SetType (FileType type)=0 |
virtual OdDb::DwgVersion | GetDwgVersion () const =0 |
virtual void | SetDwgVersion (OdDb::DwgVersion version)=0 |
virtual FlxVersion | GetFlxVersion () const =0 |
virtual void | SetFlxVersion (FlxVersion version)=0 |
virtual QFile * | GetFile () const =0 |
virtual void | Lock (bool bLock)=0 |
virtual bool | IsLocked () const =0 |
virtual bool | IsLockedGlobal () const =0 |
virtual bool | IsCloudStorageFile () const =0 |
virtual const QVariantMap & | GetCloudStorageData () const =0 |
virtual void | SetCloudStorageData (const QVariantMap &)=0 |
virtual bool | IsNewFile () const =0 |
Static Public Member Functions | |
static CFxFileData * | Create (const CFxString &fileName=CFxString()) |
static CFxFileData * | Create (const CFxFileData &) |
static CFxString | GetAutoName () |
Description: Represents the file data. Library: DDKERNEL
Definition at line 36 of file FxFileData.h.
Enumerator | |
---|---|
kDwg | |
kDxf | |
kDxb | |
kFlx | |
kDwf | |
kDwt | |
kShp | |
kDws | |
kDae | |
kRfa | |
kDgn | |
kRvt | |
kDwgMech | |
kUnknown |
Definition at line 45 of file FxFileData.h.
Enumerator | |
---|---|
VNR40 | |
VNR50 | |
VNR60 | |
VNR70 | |
VNR80 | |
VNR_CURRENT |
Definition at line 63 of file FxFileData.h.
|
virtual |
|
static |
Description: This constructor parses input filename and initialize type based on file extension
Return Value:
|
static |
Description: This constructor parses input filename and initialize type based on file extension
Return Value:
|
static |
Description:
Return Value:
|
pure virtual |
Description:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description: Returns true if stored in the cloud.
|
pure virtual |
Description: Returns true only if file is locked by this application.
|
pure virtual |
Description: Returns true only if file is locked by any application.
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
|
virtual |
|
pure virtual |
Description:
|
pure virtual |
Description:
Return Value:
Description:
Return Value:
|
pure virtual |
Description:
Return Value:
Description:
Return Value:
|
pure virtual |
Description:
Return Value: