#include <CTiglImporterFactory.h>
Public Member Functions | |
TIGL_EXPORT PTiglCADImporter | Create (const std::string &filetype) const |
Creates an importer for the matching file format Returns NULL, if the format is unknown. More... | |
TIGL_EXPORT bool | ImporterSupported (const std::string &filetype) const |
Returns true, if an importer was registered for the specified file type. More... | |
TIGL_EXPORT void | RegisterImporter (ICADImporterCreator *creator) |
Registers a CAD Importer at the factory. More... | |
Static Public Member Functions | |
static TIGL_EXPORT CTiglImporterFactory & | Instance () |
Private Types | |
typedef std::map< std::string, ICADImporterCreator * > | ImporterMap |
Private Member Functions | |
CTiglImporterFactory () | |
Private Attributes | |
ImporterMap | _importerBuilders |
|
private |
|
private |
TIGL_EXPORT PTiglCADImporter tigl::CTiglImporterFactory::Create | ( | const std::string & | filetype | ) | const |
Creates an importer for the matching file format Returns NULL, if the format is unknown.
TIGL_EXPORT bool tigl::CTiglImporterFactory::ImporterSupported | ( | const std::string & | filetype | ) | const |
Returns true, if an importer was registered for the specified file type.
|
static |
TIGL_EXPORT void tigl::CTiglImporterFactory::RegisterImporter | ( | ICADImporterCreator * | creator | ) |
Registers a CAD Importer at the factory.
|
private |