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

#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

BOARDm_board
 

Detailed Description

Definition at line 56 of file odb_netlist.h.

Constructor & Destructor Documentation

◆ ODB_NET_LIST()

ODB_NET_LIST::ODB_NET_LIST ( BOARD aBoard)
inline

Definition at line 59 of file odb_netlist.h.

◆ ~ODB_NET_LIST()

virtual ODB_NET_LIST::~ODB_NET_LIST ( )
inlinevirtual

Definition at line 61 of file odb_netlist.h.

Member Function Documentation

◆ ComputePadAccessSide()

std::string ODB_NET_LIST::ComputePadAccessSide ( BOARD aBoard,
LSET  aLayerMask 
)
private

Definition at line 45 of file odb_netlist.cpp.

References LSET::AllCuMask(), B_Cu, F_Cu, and In1_Cu.

Referenced by InitPadNetPoints().

◆ ComputeViaAccessSide()

std::string ODB_NET_LIST::ComputeViaAccessSide ( BOARD aBoard,
int  top_layer,
int  bottom_layer 
)
private

Definition at line 144 of file odb_netlist.cpp.

References B_Cu, and F_Cu.

Referenced by InitViaNetPoints().

◆ InitPadNetPoints()

◆ InitViaNetPoints()

◆ Write()

void ODB_NET_LIST::Write ( std::ostream &  aStream)

◆ WriteNetPointRecords()

void ODB_NET_LIST::WriteNetPointRecords ( std::map< size_t, std::vector< ODB_NET_RECORD > > &  aRecords,
std::ostream &  aStream 
)
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().

Member Data Documentation

◆ m_board

BOARD* ODB_NET_LIST::m_board
private

Definition at line 66 of file odb_netlist.h.

Referenced by Write().


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