KiCad PCB EDA Suite
|
#include <odb_eda_data.h>
Public Member Functions | |
PACKAGE (const size_t aIndex, const wxString &afpName) | |
void | AddPin (const PAD *aPad, size_t aPinNum) |
const std::shared_ptr< PIN > | GetEdaPkgPin (size_t aPadIndex) const |
void | Write (std::ostream &ost) const |
void | WriteAttributes (std::ostream &ost) const |
Public Attributes | |
const size_t | m_index |
wxString | m_name |
<! Reference number of the package to be used in CMP. | |
uint64_t | m_pitch |
int64_t | m_xmin |
int64_t | m_ymin |
int64_t | m_xmax |
int64_t | m_ymax |
std::list< std::unique_ptr< PKG_OUTLINE > > | m_pkgOutlines |
std::map< unsigned int, std::string > | m_ODBattributes |
Private Attributes | |
std::vector< std::shared_ptr< PIN > > | m_pinsVec |
Definition at line 220 of file odb_eda_data.h.
|
inline |
void EDA_DATA::PACKAGE::AddPin | ( | const PAD * | aPad, |
size_t | aPinNum ) |
Definition at line 292 of file odb_eda_data.cpp.
References ODB::AddXY(), PADSTACK::ALL_LAYERS, EDA_DATA::PIN::ELECTRICAL, ERROR_INSIDE, PAD::GetAttribute(), PAD::GetEffectivePolygon(), BOARD_ITEM::GetFPRelativePosition(), PAD::GetNumber(), PAD::HasHole(), EDA_DATA::PIN::HOLE, PAD::IsOnCopperLayer(), m_pinsVec, EDA_DATA::PIN::MECHANICAL, name, NPTH, pin, PTH, ODB::RemoveWhitespace(), SMD, EDA_DATA::PIN::SMT, EDA_DATA::PIN::THROUGH_HOLE, and EDA_DATA::PIN::UNDEFINED.
Referenced by EDA_DATA::AddPackage().
|
inline |
Definition at line 241 of file odb_eda_data.h.
References m_pinsVec.
Referenced by ODB_STEP_ENTITY::InitEdaData().
void EDA_DATA::PACKAGE::Write | ( | std::ostream & | ost | ) | const |
Definition at line 388 of file odb_eda_data.cpp.
References ODB::Data2String(), m_name, m_pinsVec, m_pitch, m_pkgOutlines, m_xmax, m_xmin, m_ymax, m_ymin, and pin.
|
inherited |
Definition at line 57 of file odb_attribute.cpp.
References m_ODBattributes.
Referenced by EDA_DATA::NET::Write(), ODB_COMPONENT::Write(), ODB_ARC::WriteRecordContent(), ODB_LINE::WriteRecordContent(), ODB_PAD::WriteRecordContent(), and ODB_SURFACE::WriteRecordContent().
const size_t EDA_DATA::PACKAGE::m_index |
Definition at line 232 of file odb_eda_data.h.
Referenced by COMPONENTS_MANAGER::AddComponent(), and PACKAGE().
wxString EDA_DATA::PACKAGE::m_name |
<! Reference number of the package to be used in CMP.
Definition at line 233 of file odb_eda_data.h.
|
inherited |
Definition at line 378 of file odb_attribute.h.
Referenced by WriteAttributes().
|
private |
Definition at line 249 of file odb_eda_data.h.
Referenced by AddPin(), GetEdaPkgPin(), and Write().
uint64_t EDA_DATA::PACKAGE::m_pitch |
Definition at line 235 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
std::list<std::unique_ptr<PKG_OUTLINE> > EDA_DATA::PACKAGE::m_pkgOutlines |
Definition at line 238 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), and Write().
int64_t EDA_DATA::PACKAGE::m_xmax |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
int64_t EDA_DATA::PACKAGE::m_xmin |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
int64_t EDA_DATA::PACKAGE::m_ymax |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
int64_t EDA_DATA::PACKAGE::m_ymin |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().