3.4.0
tigl::CTiglImporterFactory Class Reference

#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 CTiglImporterFactoryInstance ()
 

Private Types

typedef std::map< std::string, ICADImporterCreator * > ImporterMap
 

Private Member Functions

 CTiglImporterFactory ()
 

Private Attributes

ImporterMap _importerBuilders
 

Member Typedef Documentation

◆ ImporterMap

typedef std::map<std::string, ICADImporterCreator*> tigl::CTiglImporterFactory::ImporterMap
private

Constructor & Destructor Documentation

◆ CTiglImporterFactory()

tigl::CTiglImporterFactory::CTiglImporterFactory ( )
private

Member Function Documentation

◆ Create()

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.

◆ ImporterSupported()

TIGL_EXPORT bool tigl::CTiglImporterFactory::ImporterSupported ( const std::string &  filetype) const

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

◆ Instance()

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

◆ RegisterImporter()

TIGL_EXPORT void tigl::CTiglImporterFactory::RegisterImporter ( ICADImporterCreator creator)

Registers a CAD Importer at the factory.

Field Documentation

◆ _importerBuilders

ImporterMap tigl::CTiglImporterFactory::_importerBuilders
private

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