KiCad PCB EDA Suite
|
#include "nl_gerbview_plugin_impl.h"
#include <gal/graphics_abstraction_layer.h>
#include <gerbview_frame.h>
#include <bitmaps.h>
#include <class_draw_panel_gal.h>
#include <view/view.h>
#include <view/wx_view_controls.h>
#include <tool/action_manager.h>
#include <tool/tool_action.h>
#include <tool/tool_manager.h>
#include <list>
#include <map>
#include <memory>
#include <utility>
#include <vector>
#include <cfloat>
#include <wx/log.h>
#include <wx/mstream.h>
Go to the source code of this file.
Typedefs | |
using | CATEGORY_STORE = std::map< std::string, TDx::CCommandTreeNode *, std::less<> > |
Functions | |
static void | add_category (const std::string &aCategoryPath, CATEGORY_STORE &aCategoryStore) |
Add a category to the store. | |
static void | try_add_category (const std::string &aCategoryPath, CATEGORY_STORE &aCategoryStore) |
add_category wrapper. | |
using CATEGORY_STORE = std::map<std::string, TDx::CCommandTreeNode*, std::less<> > |
Definition at line 114 of file nl_gerbview_plugin_impl.cpp.
|
static |
Add a category to the store.
The function adds category paths of the format "A.B" where B is a sub-category of A.
aCategoryPath | is the std::string representation of the category. |
aCategoryStore | is the CATEGORY_STORE instance to add to. |
Definition at line 125 of file nl_gerbview_plugin_impl.cpp.
References add_category(), and name.
Referenced by add_category(), and try_add_category().
|
static |
add_category wrapper.
Function checks if path exists in the category and adds it if it doesn't.
aCategoryPath | is the std::string representation of the category. |
aCategoryStore | is the CATEGORY_STORE instance to add to. |
Definition at line 160 of file nl_gerbview_plugin_impl.cpp.
References add_category().
Referenced by NL_GERBVIEW_PLUGIN_IMPL::exportCommandsAndImages(), and NL_PL_EDITOR_PLUGIN_IMPL::exportCommandsAndImages().