KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_COMPONENT Class Reference

#include <odb_component.h>

Inheritance diagram for ODB_COMPONENT:
ATTR_RECORD_WRITER

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::vector< std::pair< wxString, wxString > > m_prp
 
std::list< TOEPRINTm_toeprints
 
std::map< unsigned int, std::string > attributes
 

Detailed Description

Definition at line 48 of file odb_component.h.

Constructor & Destructor Documentation

◆ ODB_COMPONENT()

ODB_COMPONENT::ODB_COMPONENT ( size_t  aIndex,
size_t  r 
)
inline

Definition at line 51 of file odb_component.h.

Member Function Documentation

◆ Write()

void ODB_COMPONENT::Write ( std::ostream &  ost) const

◆ 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_center

std::pair<wxString, wxString> ODB_COMPONENT::m_center

Definition at line 55 of file odb_component.h.

Referenced by Write().

◆ m_comp_name

wxString ODB_COMPONENT::m_comp_name

! Unique reference designator (component name)

Definition at line 59 of file odb_component.h.

Referenced by Write().

◆ m_index

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

◆ m_mirror

wxString ODB_COMPONENT::m_mirror = wxT( "N" )

Definition at line 57 of file odb_component.h.

Referenced by Write().

◆ m_part_name

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

◆ m_pkg_ref

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

◆ m_prp

std::vector<std::pair<wxString, wxString> > ODB_COMPONENT::m_prp

Definition at line 64 of file odb_component.h.

◆ m_rot

wxString ODB_COMPONENT::m_rot = wxT( "0" )

Definition at line 56 of file odb_component.h.

Referenced by Write().

◆ m_toeprints

std::list<TOEPRINT> ODB_COMPONENT::m_toeprints

Definition at line 93 of file odb_component.h.

Referenced by ODB_STEP_ENTITY::InitEdaData(), and Write().


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