|
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 ODB_FORMAT &aFormat) |
| const std::shared_ptr< PIN > | GetEdaPkgPin (size_t aPadIndex) const |
| void | Write (std::ostream &ost, const ODB_FORMAT &aFormat) 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 230 of file odb_eda_data.h.
|
inline |
| void EDA_DATA::PACKAGE::AddPin | ( | const PAD * | aPad, |
| size_t | aPinNum, | ||
| const ODB_FORMAT & | aFormat ) |
Definition at line 328 of file odb_eda_data.cpp.
References ODB::AddRelativeXY(), PADSTACK::EffectiveLayerFor(), EDA_DATA::PIN::ELECTRICAL, ELECTRICAL, ERROR_INSIDE, F_Cu, PAD::GetEffectivePolygon(), BOARD_ITEM::GetFPRelativePosition(), PAD::HasHole(), EDA_DATA::PIN::HOLE, HOLE, FAB_PIN::m_electrical, FAB_PIN::m_mount, FAB_PIN::m_name, m_pinsVec, FAB_PIN::m_role, MakeFabPin(), EDA_DATA::PIN::MECHANICAL, MECHANICAL, name, OTHER, PAD::Padstack(), pin, EDA_DATA::PIN::PRESSFIT, PRESSFIT, ODB::RemoveWhitespace(), EDA_DATA::PIN::SMT, SMT, EDA_DATA::PIN::THROUGH_HOLE, THT, EDA_DATA::PIN::UNDEFINED, and UNDEFINED.
Referenced by EDA_DATA::AddPackage().
|
inline |
Definition at line 251 of file odb_eda_data.h.
References m_pinsVec.
Referenced by ODB_STEP_ENTITY::InitEdaData().
| void EDA_DATA::PACKAGE::Write | ( | std::ostream & | ost, |
| const ODB_FORMAT & | aFormat ) const |
Definition at line 419 of file odb_eda_data.cpp.
References ODB::Data2String(), m_name, ODB_FORMAT::m_originOffset, m_pinsVec, m_pitch, m_pkgOutlines, m_xmax, m_xmin, m_ymax, m_ymin, pin, and ATTR_MANAGER::WriteAttributes().
|
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 242 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 243 of file odb_eda_data.h.
|
inherited |
Definition at line 469 of file odb_attribute.h.
Referenced by EDA_DATA::NET::Write(), and WriteAttributes().
|
private |
Definition at line 259 of file odb_eda_data.h.
Referenced by AddPin(), GetEdaPkgPin(), and Write().
| uint64_t EDA_DATA::PACKAGE::m_pitch |
Definition at line 245 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 248 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), and Write().
| int64_t EDA_DATA::PACKAGE::m_xmax |
Definition at line 246 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
| int64_t EDA_DATA::PACKAGE::m_xmin |
Definition at line 246 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
| int64_t EDA_DATA::PACKAGE::m_ymax |
Definition at line 246 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().
| int64_t EDA_DATA::PACKAGE::m_ymin |
Definition at line 246 of file odb_eda_data.h.
Referenced by EDA_DATA::AddPackage(), PACKAGE(), and Write().