#include <CTiglExporterFactory.h>
Public Member Functions | |
TIGL_EXPORT PTiglCADExporter | Create (const std::string &filetype, const ExporterOptions &options=DefaultExporterOption()) const |
Creates an exporter for the matching file format Returns NULL, if the format is unknown. More... | |
TIGL_EXPORT bool | ExporterSupported (const std::string &filetype) const |
Returns true, if an exporter was registered for the specified file type. More... | |
TIGL_EXPORT void | RegisterExporter (ICADExporterBuilder *creator, const ExporterOptions &exporterConfig) |
Registers a CAD Exporter at the factory. More... | |
Static Public Member Functions | |
static TIGL_EXPORT CTiglExporterFactory & | Instance () |
Private Types | |
typedef std::map< std::string, ICADExporterBuilder * > | ExporterMap |
Private Member Functions | |
CTiglExporterFactory () | |
Private Attributes | |
ExporterMap | _exporterBuilders |
|
private |
|
private |
TIGL_EXPORT PTiglCADExporter tigl::CTiglExporterFactory::Create | ( | const std::string & | filetype, |
const ExporterOptions & | options = DefaultExporterOption() |
||
) | const |
Creates an exporter for the matching file format Returns NULL, if the format is unknown.
TIGL_EXPORT bool tigl::CTiglExporterFactory::ExporterSupported | ( | const std::string & | filetype | ) | const |
Returns true, if an exporter was registered for the specified file type.
|
static |
TIGL_EXPORT void tigl::CTiglExporterFactory::RegisterExporter | ( | ICADExporterBuilder * | creator, |
const ExporterOptions & | exporterConfig | ||
) |
Registers a CAD Exporter at the factory.
|
private |