KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_COMPONENT::TOEPRINT Struct Reference

#include <odb_component.h>

Public Member Functions

 TOEPRINT (const EDA_DATA::PIN &pin)
 
void Write (std::ostream &ost) const
 

Public Attributes

const size_t m_pin_num
 ! index of PIN record in the eda/data file, 0~n-1.
 
std::pair< wxString, wxString > m_center
 ! Board location of the pin.
 
wxString m_rot
 ! Rotation, clockwise, it equals to the actual PAD rotation, ! not CMP m_rot.
 
wxString m_mirror
 ! equal to CMP m_mirror.
 
size_t m_net_num = 0
 ! Number of NET record in the eda/data file.
 
size_t m_subnet_num = 0
 ! Number of subnet (SNT record TOP) in the referenced net
 
wxString m_toeprint_name
 ! Name of the pad in PIN record
 

Detailed Description

Definition at line 66 of file odb_component.h.

Constructor & Destructor Documentation

◆ TOEPRINT()

ODB_COMPONENT::TOEPRINT::TOEPRINT ( const EDA_DATA::PIN pin)
inline

Definition at line 69 of file odb_component.h.

Member Function Documentation

◆ Write()

void ODB_COMPONENT::TOEPRINT::Write ( std::ostream &  ost) const

Definition at line 89 of file odb_component.cpp.

References m_center, m_mirror, m_net_num, m_pin_num, m_rot, m_subnet_num, and m_toeprint_name.

Member Data Documentation

◆ m_center

std::pair<wxString, wxString> ODB_COMPONENT::TOEPRINT::m_center

! Board location of the pin.

Definition at line 76 of file odb_component.h.

Referenced by Write().

◆ m_mirror

wxString ODB_COMPONENT::TOEPRINT::m_mirror

! equal to CMP m_mirror.

Definition at line 81 of file odb_component.h.

Referenced by Write().

◆ m_net_num

size_t ODB_COMPONENT::TOEPRINT::m_net_num = 0

! Number of NET record in the eda/data file.

Definition at line 83 of file odb_component.h.

Referenced by Write().

◆ m_pin_num

const size_t ODB_COMPONENT::TOEPRINT::m_pin_num

! index of PIN record in the eda/data file, 0~n-1.

Definition at line 74 of file odb_component.h.

Referenced by Write().

◆ m_rot

wxString ODB_COMPONENT::TOEPRINT::m_rot

! Rotation, clockwise, it equals to the actual PAD rotation, ! not CMP m_rot.

Definition at line 78 of file odb_component.h.

Referenced by Write().

◆ m_subnet_num

size_t ODB_COMPONENT::TOEPRINT::m_subnet_num = 0

! Number of subnet (SNT record TOP) in the referenced net

Definition at line 85 of file odb_component.h.

Referenced by Write().

◆ m_toeprint_name

wxString ODB_COMPONENT::TOEPRINT::m_toeprint_name

! Name of the pad in PIN record

Definition at line 87 of file odb_component.h.

Referenced by Write().


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