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 > | attributes |
Private Attributes | |
std::vector< std::shared_ptr< PIN > > | m_pinsVec |
Definition at line 220 of file odb_eda_data.h.
|
inline |
Definition at line 223 of file odb_eda_data.h.
void EDA_DATA::PACKAGE::AddPin | ( | const PAD * | aPad, |
size_t | aPinNum | ||
) |
Definition at line 285 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(), EDA_DATA::PIN::MECHANICAL, name, pin, 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 378 of file odb_eda_data.cpp.
References ODB::Data2String(), and pin.
|
inherited |
Definition at line 57 of file odb_attribute.cpp.
References ATTR_RECORD_WRITER::attributes, and ODB::CHECK_ONCE::first.
Referenced by ODB_COMPONENT::Write(), EDA_DATA::NET::Write(), ODB_LINE::WriteRecordContent(), ODB_ARC::WriteRecordContent(), ODB_PAD::WriteRecordContent(), and ODB_SURFACE::WriteRecordContent().
|
inherited |
Definition at line 348 of file odb_attribute.h.
Referenced by ATTR_RECORD_WRITER::WriteAttributes().
const size_t EDA_DATA::PACKAGE::m_index |
Definition at line 232 of file odb_eda_data.h.
Referenced by COMPONENTS_MANAGER::AddComponent().
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.
|
private |
Definition at line 249 of file odb_eda_data.h.
Referenced by GetEdaPkgPin().
uint64_t EDA_DATA::PACKAGE::m_pitch |
Definition at line 235 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage().
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().
int64_t EDA_DATA::PACKAGE::m_xmax |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage().
int64_t EDA_DATA::PACKAGE::m_xmin |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage().
int64_t EDA_DATA::PACKAGE::m_ymax |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage().
int64_t EDA_DATA::PACKAGE::m_ymin |
Definition at line 236 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage().