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

#include <odb_eda_data.h>

Public Types

enum class  TYPE { THROUGH_HOLE , BLIND , SURFACE }
 
enum class  ELECTRICAL_TYPE { ELECTRICAL , MECHANICAL , UNDEFINED }
 
enum class  MOUNT_TYPE {
  SMT , SMT_RECOMMENDED , THROUGH_HOLE , THROUGH_RECOMMENDED ,
  PRESSFIT , NON_BOARD , HOLE , UNDEFINED
}
 

Public Member Functions

 PIN (const size_t aIndex, const wxString &aName)
 
void Write (std::ostream &ost) const
 

Public Attributes

const size_t m_index
 
wxString m_name
 
std::pair< wxString, wxString > m_center
 
TYPE type = TYPE::SURFACE
 
ELECTRICAL_TYPE etype = ELECTRICAL_TYPE::UNDEFINED
 
MOUNT_TYPE mtype = MOUNT_TYPE::UNDEFINED
 
std::list< std::unique_ptr< PKG_OUTLINE > > m_pinOutlines
 

Detailed Description

Definition at line 174 of file odb_eda_data.h.

Member Enumeration Documentation

◆ ELECTRICAL_TYPE

enum class EDA_DATA::PIN::ELECTRICAL_TYPE
strong
Enumerator
ELECTRICAL 
MECHANICAL 
UNDEFINED 

Definition at line 193 of file odb_eda_data.h.

◆ MOUNT_TYPE

enum class EDA_DATA::PIN::MOUNT_TYPE
strong
Enumerator
SMT 
SMT_RECOMMENDED 
THROUGH_HOLE 
THROUGH_RECOMMENDED 
PRESSFIT 
NON_BOARD 
HOLE 
UNDEFINED 

Definition at line 202 of file odb_eda_data.h.

◆ TYPE

enum class EDA_DATA::PIN::TYPE
strong
Enumerator
THROUGH_HOLE 
BLIND 
SURFACE 

Definition at line 184 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ PIN()

EDA_DATA::PIN::PIN ( const size_t  aIndex,
const wxString &  aName 
)
inline

Definition at line 177 of file odb_eda_data.h.

Member Function Documentation

◆ Write()

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

Definition at line 351 of file odb_eda_data.cpp.

Member Data Documentation

◆ etype

Definition at line 200 of file odb_eda_data.h.

◆ m_center

std::pair<wxString, wxString> EDA_DATA::PIN::m_center

Definition at line 182 of file odb_eda_data.h.

◆ m_index

const size_t EDA_DATA::PIN::m_index

Definition at line 179 of file odb_eda_data.h.

◆ m_name

wxString EDA_DATA::PIN::m_name

Definition at line 180 of file odb_eda_data.h.

◆ m_pinOutlines

std::list<std::unique_ptr<PKG_OUTLINE> > EDA_DATA::PIN::m_pinOutlines

Definition at line 215 of file odb_eda_data.h.

◆ mtype

MOUNT_TYPE EDA_DATA::PIN::mtype = MOUNT_TYPE::UNDEFINED

Definition at line 213 of file odb_eda_data.h.

◆ type

TYPE EDA_DATA::PIN::type = TYPE::SURFACE

Definition at line 191 of file odb_eda_data.h.


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