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

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

Functions

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

Typedef Documentation

◆ CATEGORY_STORE

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

Definition at line 106 of file nl_schematic_plugin_impl.cpp.

Function Documentation

◆ add_category()

static void add_category ( const 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.

Definition at line 117 of file nl_schematic_plugin_impl.cpp.

References add_category(), and name.

Referenced by add_category().