KiCad PCB EDA Suite
|
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_T > | GetImportableFileTypes () const |
Vector containing all GFX_FILE_T values that can be imported. | |
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > | GetPluginByExt (const wxString &aExtension) const |
Return a plugin that handles a specific file extension. | |
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > | GetPlugin (GFX_FILE_T aType) const |
Return a plugin instance for a specific file type. | |
Manage vector graphics importers.
Definition at line 39 of file graphics_import_mgr.h.
|
inline |
Vector containing all GFX_FILE_T values that can be imported.
Definition at line 50 of file graphics_import_mgr.h.
Referenced by GetPluginByExt().
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > GRAPHICS_IMPORT_MGR::GetPlugin | ( | GFX_FILE_T | aType | ) | const |
Return a plugin instance for a specific file type.
Definition at line 34 of file graphics_import_mgr.cpp.
Referenced by BOOST_AUTO_TEST_CASE(), and GetPluginByExt().
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > GRAPHICS_IMPORT_MGR::GetPluginByExt | ( | const wxString & | aExtension | ) | const |
Return a plugin that handles a specific file extension.
Definition at line 49 of file graphics_import_mgr.cpp.
References compareFileExtensions(), fileType(), GetImportableFileTypes(), and GetPlugin().
Referenced by BOOST_AUTO_TEST_CASE().