|
KiCad PCB EDA Suite
|
The 9.0 format writes net declarations with consecutive codes. More...
#include <pcb_writer_v9.h>
Public Member Functions | |
| void | SetBoard (const BOARD *aBoard) |
| int | Translate (int aNetCode) const |
| const std::vector< NETINFO_ITEM * > & | Nets () const |
Private Attributes | |
| std::map< int, int > | m_map |
| std::vector< NETINFO_ITEM * > | m_nets |
The 9.0 format writes net declarations with consecutive codes.
The mapping helper that did this left the tree with the netcodes, so this is a minimal replacement.
Definition at line 52 of file pcb_writer_v9.h.
|
inline |
Definition at line 65 of file pcb_writer_v9.h.
References m_nets.
| void NET_MAPPING_V9::SetBoard | ( | const BOARD * | aBoard | ) |
Definition at line 67 of file pcb_writer_v9.cpp.
References BOARD::Drawings(), BOARD::FindNet(), BOARD::Footprints(), BOARD_CONNECTED_ITEM::GetNetCode(), m_map, m_nets, next(), pad, PCB_SHAPE_T, BOARD::Tracks(), and BOARD::Zones().
|
inline |
Definition at line 57 of file pcb_writer_v9.h.
References m_map.
|
private |
Definition at line 68 of file pcb_writer_v9.h.
Referenced by SetBoard(), and Translate().
|
private |
Definition at line 69 of file pcb_writer_v9.h.
Referenced by Nets(), and SetBoard().