KiCad PCB EDA Suite
|
#include <odb_netlist.h>
Public Member Functions | |
ODB_NET_LIST (BOARD *aBoard) | |
virtual | ~ODB_NET_LIST () |
void | Write (std::ostream &aStream) |
Private Member Functions | |
std::string | ComputePadAccessSide (BOARD *aBoard, LSET aLayerMask) |
std::string | ComputeViaAccessSide (BOARD *aBoard, int top_layer, int bottom_layer) |
void | InitPadNetPoints (BOARD *aBoard, std::map< size_t, std::vector< ODB_NET_RECORD > > &aRecords) |
void | InitViaNetPoints (BOARD *aBoard, std::map< size_t, std::vector< ODB_NET_RECORD > > &aRecords) |
void | WriteNetPointRecords (std::map< size_t, std::vector< ODB_NET_RECORD > > &aRecords, std::ostream &aStream) |
Writes a list of records to the given output stream. | |
Private Attributes | |
BOARD * | m_board |
Definition at line 56 of file odb_netlist.h.
|
inline |
Definition at line 59 of file odb_netlist.h.
|
inlinevirtual |
Definition at line 61 of file odb_netlist.h.
Definition at line 45 of file odb_netlist.cpp.
References LSET::AllCuMask(), B_Cu, F_Cu, and In1_Cu.
Referenced by InitPadNetPoints().
|
private |
Definition at line 144 of file odb_netlist.cpp.
Referenced by InitViaNetPoints().
|
private |
Definition at line 77 of file odb_netlist.cpp.
References PADSTACK::ALL_LAYERS, B_Mask, ComputePadAccessSide(), ODB_NET_RECORD::drill_radius, ODB_NET_RECORD::epoint, F_Mask, BOARD::Footprints(), BOARD_DESIGN_SETTINGS::GetAuxOrigin(), BOARD::GetDesignSettings(), ODB_NET_RECORD::hole, ODB_NET_RECORD::is_via, ODB_NET_RECORD::mechanical, ODB_NET_RECORD::netname, pad, ODB_NET_RECORD::refdes, ODB_NET_RECORD::side, ODB_NET_RECORD::smd, ODB_NET_RECORD::soldermask, VECTOR2< T >::x, ODB_NET_RECORD::x_location, ODB_NET_RECORD::x_size, VECTOR2< T >::y, ODB_NET_RECORD::y_location, and ODB_NET_RECORD::y_size.
Referenced by Write().
|
private |
Definition at line 164 of file odb_netlist.cpp.
References B_Mask, ComputeViaAccessSide(), ODB_NET_RECORD::drill_radius, ODB_NET_RECORD::epoint, F_Mask, BOARD_DESIGN_SETTINGS::GetAuxOrigin(), BOARD::GetDesignSettings(), NETINFO_ITEM::GetNetCode(), NETINFO_ITEM::GetNetname(), ODB_NET_RECORD::hole, ODB_NET_RECORD::is_via, ODB_NET_RECORD::mechanical, ODB_NET_RECORD::netname, PCB_VIA_T, ODB_NET_RECORD::refdes, ODB_NET_RECORD::side, ODB_NET_RECORD::smd, ODB_NET_RECORD::soldermask, BOARD::Tracks(), via, VECTOR2< T >::x, ODB_NET_RECORD::x_location, ODB_NET_RECORD::x_size, VECTOR2< T >::y, ODB_NET_RECORD::y_location, and ODB_NET_RECORD::y_size.
Referenced by Write().
void ODB_NET_LIST::Write | ( | std::ostream & | aStream | ) |
Definition at line 276 of file odb_netlist.cpp.
References InitPadNetPoints(), InitViaNetPoints(), m_board, and WriteNetPointRecords().
Referenced by ODB_STEP_ENTITY::GenerateNetlistsFiles().
|
private |
Writes a list of records to the given output stream.
Definition at line 221 of file odb_netlist.cpp.
References ODB::Data2String(), and ODB::GenLegalNetName().
Referenced by Write().
|
private |
Definition at line 66 of file odb_netlist.h.
Referenced by Write().