KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FAB_LAYER_INDEX Class Reference

Board items grouped by authored layer and net, sorted by FabItemLess. More...

#include <fab_layer_index.h>

Public Types

using NET_ITEMS = std::map<int, std::vector<BOARD_ITEM*>>
 

Public Member Functions

 FAB_LAYER_INDEX (BOARD &aBoard)
 
const NET_ITEMS & Items (PCB_LAYER_ID aLayer) const
 

Private Attributes

std::map< PCB_LAYER_ID, NET_ITEMS > m_items
 

Detailed Description

Board items grouped by authored layer and net, sorted by FabItemLess.

Definition at line 33 of file fab_layer_index.h.

Member Typedef Documentation

◆ NET_ITEMS

using FAB_LAYER_INDEX::NET_ITEMS = std::map<int, std::vector<BOARD_ITEM*>>

Definition at line 36 of file fab_layer_index.h.

Constructor & Destructor Documentation

◆ FAB_LAYER_INDEX()

FAB_LAYER_INDEX::FAB_LAYER_INDEX ( BOARD & aBoard)
explicit

Member Function Documentation

◆ Items()

const FAB_LAYER_INDEX::NET_ITEMS & FAB_LAYER_INDEX::Items ( PCB_LAYER_ID aLayer) const

Definition at line 104 of file fab_layer_index.cpp.

References empty(), and m_items.

Member Data Documentation

◆ m_items

std::map<PCB_LAYER_ID, NET_ITEMS> FAB_LAYER_INDEX::m_items
private

Definition at line 43 of file fab_layer_index.h.

Referenced by FAB_LAYER_INDEX(), and Items().


The documentation for this class was generated from the following files: