TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
netlist.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-3.0-or-later
2#pragma once
3// Schematic connectivity as exported by KiCad (kicad-cli sch export netlist --format kicadsexpr).
4#include <string>
5#include <vector>
6
7namespace tmk::model {
8
10 std::string ref, value, footprint;
11 bool dnp = false, exclude_from_board = false;
12};
13
15 std::string ref, pin, pinfunction, pintype;
16};
17
18struct NetlistNet {
19 std::string name, netclass;
20 std::vector<NetlistNode> nodes;
21};
22
23struct Netlist {
24 std::vector<NetlistComponent> components;
25 std::vector<NetlistNet> nets;
26};
27
28} // namespace tmk::model
std::string netclass
Definition netlist.hpp:19
std::vector< NetlistNode > nodes
Definition netlist.hpp:20
std::string pinfunction
Definition netlist.hpp:15
std::vector< NetlistComponent > components
Definition netlist.hpp:24
std::vector< NetlistNet > nets
Definition netlist.hpp:25