Skip to content

RFileImporterFactory

Class in Core Module
Header: #include <src/core/RFileImporterFactory.h>
Inherited by: RDxfImporterFactory

Needs to be implemented by RFileImporter implementations to check if the importer is suitable to import a file and to instantiate the file importer if required.

Scriptable: This class is available in script environments.

virtual ~RFileImporterFactory()
virtual int canImport(const QString &fileName, const QString &nameFilter=“”)=0 = 0
virtual QStringList getFilterStrings()=0 = 0
virtual RFileImporter * instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)=0 = 0

virtual RFileImporterFactory::~RFileImporterFactory()

virtual inline

virtual int RFileImporterFactory::canImport(const QString &fileName, const QString &nameFilter="")=0 = 0

pure virtual

Reimplemented in canImport.

virtual QStringList RFileImporterFactory::getFilterStrings()=0 = 0

pure virtual

Reimplemented in getFilterStrings.

virtual RFileImporter * RFileImporterFactory::instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)=0 = 0

pure virtual

Reimplemented in instantiate.