3.5.0-rc1
Loading...
Searching...
No Matches
tigl::CTiglExporterFactory Class Reference

#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.
TIGL_EXPORT bool ExporterSupported (const std::string &filetype) const
 Returns true, if an exporter was registered for the specified file type.
TIGL_EXPORT void RegisterExporter (ICADExporterBuilder *creator, const ExporterOptions &exporterConfig)
 Registers a CAD Exporter at the factory.

Static Public Member Functions

static TIGL_EXPORT CTiglExporterFactoryInstance ()

Private Types

typedef std::map< std::string, ICADExporterBuilder * > ExporterMap

Private Member Functions

 CTiglExporterFactory ()

Private Attributes

ExporterMap _exporterBuilders

Member Typedef Documentation

◆ ExporterMap

typedef std::map<std::string, ICADExporterBuilder*> tigl::CTiglExporterFactory::ExporterMap
private

Constructor & Destructor Documentation

◆ CTiglExporterFactory()

tigl::CTiglExporterFactory::CTiglExporterFactory ( )
private

Member Function Documentation

◆ Create()

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.

◆ ExporterSupported()

TIGL_EXPORT bool tigl::CTiglExporterFactory::ExporterSupported ( const std::string & filetype) const

Returns true, if an exporter was registered for the specified file type.

◆ Instance()

TIGL_EXPORT CTiglExporterFactory & tigl::CTiglExporterFactory::Instance ( )
static

◆ RegisterExporter()

TIGL_EXPORT void tigl::CTiglExporterFactory::RegisterExporter ( ICADExporterBuilder * creator,
const ExporterOptions & exporterConfig )

Registers a CAD Exporter at the factory.

Field Documentation

◆ _exporterBuilders

ExporterMap tigl::CTiglExporterFactory::_exporterBuilders
private

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