KiCad PCB EDA Suite
Loading...
Searching...
No Matches
GRAPHICS_IMPORT_MGR Class Reference

Manage vector graphics importers. More...

#include <graphics_import_mgr.h>

Public Types

enum  GFX_FILE_T { DXF , SVG }
 < List of handled file types. More...
 

Public Member Functions

std::vector< GFX_FILE_TGetImportableFileTypes () const
 Returns a plugin that handles a specific file extension.
 
std::unique_ptr< GRAPHICS_IMPORT_PLUGINGetPluginByExt (const wxString &aExtension) const
 Returns a plugin instance for a specific file type.
 
std::unique_ptr< GRAPHICS_IMPORT_PLUGINGetPlugin (GFX_FILE_T aType) const
 

Detailed Description

Manage vector graphics importers.

Definition at line 39 of file graphics_import_mgr.h.

Member Enumeration Documentation

◆ GFX_FILE_T

< List of handled file types.

Enumerator
DXF 
SVG 

Definition at line 43 of file graphics_import_mgr.h.

Member Function Documentation

◆ GetImportableFileTypes()

std::vector< GFX_FILE_T > GRAPHICS_IMPORT_MGR::GetImportableFileTypes ( ) const
inline

Returns a plugin that handles a specific file extension.

Definition at line 50 of file graphics_import_mgr.h.

References DXF, and SVG.

Referenced by GetPluginByExt().

◆ GetPlugin()

std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > GRAPHICS_IMPORT_MGR::GetPlugin ( GFX_FILE_T  aType) const

Definition at line 34 of file graphics_import_mgr.cpp.

References DXF, and SVG.

Referenced by BOOST_AUTO_TEST_CASE(), and GetPluginByExt().

◆ GetPluginByExt()

std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > GRAPHICS_IMPORT_MGR::GetPluginByExt ( const wxString &  aExtension) const

Returns a plugin instance for a specific file type.

Definition at line 49 of file graphics_import_mgr.cpp.

References compareFileExtensions(), fileType(), GetImportableFileTypes(), and GetPlugin().

Referenced by BOOST_AUTO_TEST_CASE().


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