KiCad PCB EDA Suite
|
#include <odb_component.h>
Classes | |
struct | TOEPRINT |
Public Member Functions | |
ODB_COMPONENT (size_t aIndex, size_t r) | |
void | Write (std::ostream &ost) const |
void | WriteAttributes (std::ostream &ost) const |
Public Attributes | |
const size_t | m_index |
! CMP index number on board to be used in SNT(TOP), 0~n-1 | |
size_t | m_pkg_ref |
! package ref number from PKG in eda/data file, 0~n-1 | |
std::pair< wxString, wxString > | m_center |
wxString | m_rot = wxT( "0" ) |
wxString | m_mirror = wxT( "N" ) |
wxString | m_comp_name |
! Unique reference designator (component name) | |
wxString | m_part_name |
! Part identification is a single string of ASCII characters without spaces | |
std::map< wxString, wxString > | m_prp |
std::list< TOEPRINT > | m_toeprints |
std::map< unsigned int, std::string > | attributes |
Definition at line 48 of file odb_component.h.
|
inline |
Definition at line 51 of file odb_component.h.
void ODB_COMPONENT::Write | ( | std::ostream & | ost | ) | const |
Definition at line 91 of file odb_component.cpp.
References m_center, m_comp_name, m_index, m_mirror, m_part_name, m_pkg_ref, m_prp, m_rot, m_toeprints, and ATTR_RECORD_WRITER::WriteAttributes().
|
inherited |
Definition at line 57 of file odb_attribute.cpp.
References ATTR_RECORD_WRITER::attributes, and ODB::CHECK_ONCE::first.
Referenced by 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().
std::pair<wxString, wxString> ODB_COMPONENT::m_center |
Definition at line 55 of file odb_component.h.
Referenced by Write().
wxString ODB_COMPONENT::m_comp_name |
! Unique reference designator (component name)
Definition at line 59 of file odb_component.h.
Referenced by Write().
const size_t ODB_COMPONENT::m_index |
! CMP index number on board to be used in SNT(TOP), 0~n-1
Definition at line 53 of file odb_component.h.
Referenced by ODB_STEP_ENTITY::InitEdaData(), and Write().
wxString ODB_COMPONENT::m_mirror = wxT( "N" ) |
Definition at line 57 of file odb_component.h.
Referenced by Write().
wxString ODB_COMPONENT::m_part_name |
! Part identification is a single string of ASCII characters without spaces
Definition at line 62 of file odb_component.h.
Referenced by Write().
size_t ODB_COMPONENT::m_pkg_ref |
! package ref number from PKG in eda/data file, 0~n-1
Definition at line 54 of file odb_component.h.
Referenced by Write().
std::map<wxString, wxString> ODB_COMPONENT::m_prp |
Definition at line 64 of file odb_component.h.
Referenced by Write().
wxString ODB_COMPONENT::m_rot = wxT( "0" ) |
Definition at line 56 of file odb_component.h.
Referenced by Write().
std::list<TOEPRINT> ODB_COMPONENT::m_toeprints |
Definition at line 93 of file odb_component.h.
Referenced by ODB_STEP_ENTITY::InitEdaData(), and Write().