QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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
 
virtual ~RFileImporterFactory ()
 

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

Constructor & Destructor Documentation

◆ ~RFileImporterFactory()

virtual RFileImporterFactory::~RFileImporterFactory ( )
inlinevirtual

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: