KiCad PCB EDA Suite
Loading...
Searching...
No Matches
nl_pcbnew_plugin_impl.cpp File Reference
#include "nl_pcbnew_plugin_impl.h"
#include <board.h>
#include <pcb_base_frame.h>
#include <bitmaps.h>
#include <gal/graphics_abstraction_layer.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

typedef std::map< std::string, TDx::CCommandTreeNode * > CATEGORY_STORE
 

Functions

static CATEGORY_STORE::iterator add_category (std::string aCategoryPath, CATEGORY_STORE &aCategoryStore)
 Add a category to the store. More...
 

Typedef Documentation

◆ CATEGORY_STORE

typedef std::map<std::string, TDx::CCommandTreeNode*> CATEGORY_STORE

Definition at line 89 of file nl_pcbnew_plugin_impl.cpp.

Function Documentation

◆ add_category()

static CATEGORY_STORE::iterator add_category ( std::string  aCategoryPath,
CATEGORY_STORE aCategoryStore 
)
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.

Parameters
aCategoryPathis the std::string representation of the category.
aCategoryStoreis the CATEGORY_STORE instance to add to.
Returns
a CATEGORY_STORE::iterator where the category was added.

Definition at line 100 of file nl_pcbnew_plugin_impl.cpp.

References add_category(), and name.

Referenced by add_category().