QCAD
Open Source 2D CAD
RFileImporterFactory Class Referenceabstract

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. More...

#include <RFileImporterFactory.h>

Inheritance diagram for RFileImporterFactory:
RDxfImporterFactory

Public Member Functions

virtual int canImport (const QString &fileName, const QString &nameFilter="")=0
 
virtual QStringList getFilterStrings ()=0
 
virtual RFileImporterinstantiate (RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)=0
 

Detailed Description

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:\nThis class is available in script environments.\n

Member Function Documentation

◆ canImport()

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

Implemented in RDxfImporterFactory.

◆ getFilterStrings()

virtual QStringList RFileImporterFactory::getFilterStrings ( )
pure virtual

Implemented in RDxfImporterFactory.

◆ instantiate()

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

Implemented in RDxfImporterFactory.


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