QCAD
Open Source 2D CAD
RFileExporterFactory Class Referenceabstract

Needs to be implemented by RFileExporter implementations to check if the exporter is suitable to export a file and to instantiate the file exporter if required. More...

#include <RFileExporterFactory.h>

Inheritance diagram for RFileExporterFactory:
RDxfExporterFactory

Public Member Functions

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

Detailed Description

Needs to be implemented by RFileExporter implementations to check if the exporter is suitable to export a file and to instantiate the file exporter if required.

Scriptable:
This class is available in script environments.

Member Function Documentation

virtual int RFileExporterFactory::canExport ( const QString &  fileName,
const QString &  nameFilter = "" 
)
pure virtual

Implemented in RDxfExporterFactory.

virtual QStringList RFileExporterFactory::getFilterStrings ( )
pure virtual

Implemented in RDxfExporterFactory.

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

Implemented in RDxfExporterFactory.


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