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 |
Returns a plugin that handles a specific file extension. | |
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > | GetPluginByExt (const wxString &aExtension) const |
Returns a plugin instance for a specific file type. | |
std::unique_ptr< GRAPHICS_IMPORT_PLUGIN > | GetPlugin (GFX_FILE_T aType) const |
Manage vector graphics importers.
Definition at line 39 of file graphics_import_mgr.h.
< List of handled file types.
Enumerator | |
---|---|
DXF | |
SVG |
Definition at line 43 of file graphics_import_mgr.h.
|
inline |
Returns a plugin that handles a specific file extension.
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 |
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 |
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().