RFileImporterFactory
Class in Core Module
Header: #include <src/core/RFileImporterFactory.h>
Inherited by: RDxfImporterFactory
Description
Section titled “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 available in script environments.
Public Functions
Section titled “Public Functions”| 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 |
Member Documentation
Section titled “Member Documentation”~RFileImporterFactory
Section titled “~RFileImporterFactory”virtual RFileImporterFactory::~RFileImporterFactory()virtual inline
canImport
Section titled “canImport”virtual int RFileImporterFactory::canImport(const QString &fileName, const QString &nameFilter="")=0 = 0pure virtual
Reimplemented in canImport.
getFilterStrings
Section titled “getFilterStrings”virtual QStringList RFileImporterFactory::getFilterStrings()=0 = 0pure virtual
Reimplemented in getFilterStrings.
instantiate
Section titled “instantiate”virtual RFileImporter * RFileImporterFactory::instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)=0 = 0pure virtual
Reimplemented in instantiate.