QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RFileImporterFactory Class Reference

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

List of all members.

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:
This class is wrapped for script environments.

Member Function Documentation

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

Implemented in RDxfImporterFactory.

virtual QStringList RFileImporterFactory::getFilterStrings ( )
pure virtual

Implemented in RDxfImporterFactory.

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: