KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDA_DATA::PACKAGE Class Reference

#include <odb_eda_data.h>

Inheritance diagram for EDA_DATA::PACKAGE:
ATTR_RECORD_WRITER

Public Member Functions

 PACKAGE (const size_t aIndex, const wxString &afpName)
 
void AddPin (const PAD *aPad, size_t aPinNum)
 
const std::shared_ptr< PINGetEdaPkgPin (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
 

Detailed Description

Definition at line 220 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ PACKAGE()

EDA_DATA::PACKAGE::PACKAGE ( const size_t  aIndex,
const wxString &  afpName 
)
inline

Definition at line 223 of file odb_eda_data.h.

Member Function Documentation

◆ AddPin()

◆ GetEdaPkgPin()

const std::shared_ptr< PIN > EDA_DATA::PACKAGE::GetEdaPkgPin ( size_t  aPadIndex) const
inline

Definition at line 241 of file odb_eda_data.h.

References m_pinsVec.

Referenced by ODB_STEP_ENTITY::InitEdaData().

◆ Write()

void EDA_DATA::PACKAGE::Write ( std::ostream &  ost) const

Definition at line 378 of file odb_eda_data.cpp.

References ODB::Data2String(), and pin.

◆ WriteAttributes()

void ATTR_RECORD_WRITER::WriteAttributes ( std::ostream &  ost) const
inherited

Member Data Documentation

◆ attributes

std::map<unsigned int, std::string> ATTR_RECORD_WRITER::attributes
inherited

Definition at line 348 of file odb_attribute.h.

Referenced by ATTR_RECORD_WRITER::WriteAttributes().

◆ m_index

const size_t EDA_DATA::PACKAGE::m_index

Definition at line 232 of file odb_eda_data.h.

Referenced by COMPONENTS_MANAGER::AddComponent().

◆ m_name

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.

◆ m_pinsVec

std::vector<std::shared_ptr<PIN> > EDA_DATA::PACKAGE::m_pinsVec
private

Definition at line 249 of file odb_eda_data.h.

Referenced by GetEdaPkgPin().

◆ m_pitch

uint64_t EDA_DATA::PACKAGE::m_pitch

Definition at line 235 of file odb_eda_data.h.

Referenced by EDA_DATA::AddPackage().

◆ m_pkgOutlines

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().

◆ m_xmax

int64_t EDA_DATA::PACKAGE::m_xmax

Definition at line 236 of file odb_eda_data.h.

Referenced by EDA_DATA::AddPackage().

◆ m_xmin

int64_t EDA_DATA::PACKAGE::m_xmin

Definition at line 236 of file odb_eda_data.h.

Referenced by EDA_DATA::AddPackage().

◆ m_ymax

int64_t EDA_DATA::PACKAGE::m_ymax

Definition at line 236 of file odb_eda_data.h.

Referenced by EDA_DATA::AddPackage().

◆ m_ymin

int64_t EDA_DATA::PACKAGE::m_ymin

Definition at line 236 of file odb_eda_data.h.

Referenced by EDA_DATA::AddPackage().


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