CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CFxFileData Class Referenceabstract

#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 ,
  kDwgMech2012 = 12 , kDwgMech2013 = 13 , kDwgMech2014 = 14 , kDwgMech2015 = 15 ,
  kDwgMech2016 = 16 , kDwgMech2018 = 17 , kUnknown = -1
}
 
enum  FlxVersion {
  VNR40 = 4 , VNR50 = 9 , VNR60 = 11 , VNR70 = 14 ,
  VNR80 = 15 , VNR_CURRENT = VNR70
}
 

Public Member Functions

virtual ~CFxFileData ()
 
virtual CFxFileDataoperator= (const CFxFileData &source)
 
virtual bool IsReadOnly () const =0
 
virtual void SetReadOnly (bool bReadOnly)=0
 
virtual const CFxStringGetFilename () const =0
 
virtual const CFxStringGetPrettyFilename () 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 QVariantMapGetCloudStorageData () const =0
 
virtual void SetCloudStorageData (const QVariantMap &)=0
 
virtual bool IsNewFile () const =0
 

Static Public Member Functions

static CFxFileDataCreate (const CFxString &fileName=CFxString())
 
static CFxFileDataCreate (const CFxFileData &)
 
static CFxString GetAutoName ()
 

Detailed Description

Description: Represents the file data. Library: DDKERNEL

Definition at line 36 of file FxFileData.h.

Member Enumeration Documentation

◆ FileType

Enumerator
kDwg 
kDxf 
kDxb 
kFlx 
kDwf 
kDwt 
kShp 
kDws 
kDae 
kRfa 
kDgn 
kRvt 
kDwgMech2012 
kDwgMech2013 
kDwgMech2014 
kDwgMech2015 
kDwgMech2016 
kDwgMech2018 
kUnknown 

Definition at line 45 of file FxFileData.h.

◆ FlxVersion

Enumerator
VNR40 
VNR50 
VNR60 
VNR70 
VNR80 
VNR_CURRENT 

Definition at line 68 of file FxFileData.h.

Constructor & Destructor Documentation

◆ ~CFxFileData()

virtual CFxFileData::~CFxFileData ( )
virtual

Member Function Documentation

◆ Create() [1/2]

static CFxFileData * CFxFileData::Create ( const CFxFileData )
static

Description: This constructor parses input filename and initialize type based on file extension

Return Value:

◆ Create() [2/2]

static CFxFileData * CFxFileData::Create ( const CFxString fileName = CFxString())
static

Description: This constructor parses input filename and initialize type based on file extension

Return Value:

◆ GetAutoName()

static CFxString CFxFileData::GetAutoName ( )
static

Description:

Return Value:

◆ GetCloudStorageData()

virtual const QVariantMap & CFxFileData::GetCloudStorageData ( ) const
pure virtual

Description:

◆ GetDwgVersion()

virtual OdDb::DwgVersion CFxFileData::GetDwgVersion ( ) const
pure virtual

Description:

Return Value:

◆ GetFile()

virtual QFile * CFxFileData::GetFile ( ) const
pure virtual

Description:

Return Value:

◆ GetFilename()

virtual const CFxString & CFxFileData::GetFilename ( ) const
pure virtual

Description:

Return Value:

◆ GetFlxVersion()

virtual FlxVersion CFxFileData::GetFlxVersion ( ) const
pure virtual

Description:

Return Value:

◆ GetPrettyFilename()

virtual const CFxString & CFxFileData::GetPrettyFilename ( ) const
pure virtual

Description:

Return Value:

◆ GetType()

virtual FileType CFxFileData::GetType ( ) const
pure virtual

Description:

Return Value:

◆ IsCloudStorageFile()

virtual bool CFxFileData::IsCloudStorageFile ( ) const
pure virtual

Description: Returns true if stored in the cloud.

◆ IsLocked()

virtual bool CFxFileData::IsLocked ( ) const
pure virtual

Description: Returns true only if file is locked by this application.

◆ IsLockedGlobal()

virtual bool CFxFileData::IsLockedGlobal ( ) const
pure virtual

Description: Returns true only if file is locked by any application.

◆ IsNewFile()

virtual bool CFxFileData::IsNewFile ( ) const
pure virtual

Description:

Return Value:

◆ IsReadOnly()

virtual bool CFxFileData::IsReadOnly ( ) const
pure virtual

Description:

Return Value:

◆ Lock()

virtual void CFxFileData::Lock ( bool  bLock)
pure virtual

Description:

Return Value:

◆ operator=()

virtual CFxFileData & CFxFileData::operator= ( const CFxFileData source)
virtual

◆ SetCloudStorageData()

virtual void CFxFileData::SetCloudStorageData ( const QVariantMap )
pure virtual

Description:

◆ SetDwgVersion()

virtual void CFxFileData::SetDwgVersion ( OdDb::DwgVersion  version)
pure virtual

Description:

Return Value:

◆ SetFilename()

virtual void CFxFileData::SetFilename ( const CFxString str)
pure virtual

Description:

Return Value:

◆ SetFlxVersion()

virtual void CFxFileData::SetFlxVersion ( FlxVersion  version)
pure virtual

Description:

Return Value:

◆ SetPrettyFilename()

virtual void CFxFileData::SetPrettyFilename ( const CFxString str)
pure virtual

Description:

Return Value:

◆ SetReadOnly()

virtual void CFxFileData::SetReadOnly ( bool  bReadOnly)
pure virtual

Description:

Return Value:

◆ SetType()

virtual void CFxFileData::SetType ( FileType  type)
pure virtual

Description:

Return Value:


The documentation for this class was generated from the following file: