22#ifndef _ODB_COMPONENT_H_
23#define _ODB_COMPONENT_H_
41 void Write( std::ostream& ost )
const;
64 std::vector<std::pair<wxString, wxString>>
m_prp;
89 void Write( std::ostream& ost )
const;
95 void Write( std::ostream& ost )
const;
COMPONENTS_MANAGER()=default
std::list< ODB_COMPONENT > m_compList
ODB_COMPONENT & AddComponent(const FOOTPRINT *aFp, const EDA_DATA::PACKAGE &aPkg)
void Write(std::ostream &ost) const
virtual ~COMPONENTS_MANAGER()
const size_t m_index
! CMP index number on board to be used in SNT(TOP), 0~n-1
std::list< TOEPRINT > m_toeprints
std::vector< std::pair< wxString, wxString > > m_prp
ODB_COMPONENT(size_t aIndex, size_t r)
std::pair< wxString, wxString > m_center
size_t m_pkg_ref
! package ref number from PKG in eda/data file, 0~n-1
wxString m_part_name
! Part identification is a single string of ASCII characters without spaces
void Write(std::ostream &ost) const
wxString m_comp_name
! Unique reference designator (component name)
size_t m_subnet_num
! Number of subnet (SNT record TOP) in the referenced net
std::pair< wxString, wxString > m_center
! Board location of the pin.
TOEPRINT(const EDA_DATA::PIN &pin)
void Write(std::ostream &ost) const
size_t m_net_num
! Number of NET record in the eda/data file.
wxString m_mirror
! equal to CMP m_mirror.
const size_t m_pin_num
! index of PIN record in the eda/data file, 0~n-1.
wxString m_toeprint_name
! Name of the pad in PIN record
wxString m_rot
! Rotation, clockwise, it equals to the actual PAD rotation, ! not CMP m_rot.