| 
    KiCad PCB EDA Suite
    
   | 
 
#include <dielectric_material.h>
Public Types | |
| enum | DL_MATERIAL_LIST_TYPE { DL_MATERIAL_DIELECTRIC , DL_MATERIAL_SOLDERMASK , DL_MATERIAL_SILKSCREEN } | 
Public Member Functions | |
| DIELECTRIC_SUBSTRATE_LIST (DL_MATERIAL_LIST_TYPE aListType) | |
| int | GetCount () | 
| DIELECTRIC_SUBSTRATE * | GetSubstrate (int aIdx) | 
| DIELECTRIC_SUBSTRATE * | GetSubstrate (const wxString &aName) | 
| The comparison is case insensitive.   | |
| int | FindSubstrate (DIELECTRIC_SUBSTRATE *aItem) | 
| Find a item in list similar to aItem.   | |
| int | FindSubstrate (const wxString &aName, double aEpsilonR, double aLossTg) | 
| Find a item in list having the same parameters.   | |
| int | AppendSubstrate (DIELECTRIC_SUBSTRATE &aItem) | 
| Append a item in list similar to aItem.   | |
| void | DeleteSubstrate (int aIdx) | 
| Delete the specified item in the substrate list.   | |
Private Attributes | |
| std::vector< DIELECTRIC_SUBSTRATE > | m_substrateList | 
| < The list of available substrates. It contains at least predefined substrates   | |
Definition at line 48 of file dielectric_material.h.
| Enumerator | |
|---|---|
| DL_MATERIAL_DIELECTRIC | |
| DL_MATERIAL_SOLDERMASK | |
| DL_MATERIAL_SILKSCREEN | |
Definition at line 54 of file dielectric_material.h.
| DIELECTRIC_SUBSTRATE_LIST::DIELECTRIC_SUBSTRATE_LIST | ( | DL_MATERIAL_LIST_TYPE | aListType | ) | 
| aForDielectric | set to DL_MATERIAL_DIELECTRIC to build a dielectric material list or DL_MATERIAL_SOLDERMASK to build a solder mask material list. | 
Definition at line 87 of file dielectric_material.cpp.
References arrayDim(), DL_MATERIAL_DIELECTRIC, DL_MATERIAL_SILKSCREEN, DL_MATERIAL_SOLDERMASK, m_substrateList, silkscreenMaterial, solderMaskMaterial, and substrateMaterial.
      
  | 
  inline | 
Append a item in list similar to aItem.
| aItem | is the item to append. | 
Definition at line 113 of file dielectric_material.h.
References GetCount(), and m_substrateList.
Referenced by PANEL_SETUP_BOARD_STACKUP::onMaterialChange().
      
  | 
  inline | 
Delete the specified item in the substrate list.
| aInd | is the index in the substrate list to delete | 
Definition at line 124 of file dielectric_material.h.
References m_substrateList.
| int DIELECTRIC_SUBSTRATE_LIST::FindSubstrate | ( | const wxString & | aName, | 
| double | aEpsilonR, | ||
| double | aLossTg ) | 
Find a item in list having the same parameters.
| aName | is the name to match (case insensitive). | 
| aEpsilonR | is the relative permeability to match. | 
| aLossTg | is the loss tangent to match. | 
Definition at line 153 of file dielectric_material.cpp.
References m_substrateList.
| int DIELECTRIC_SUBSTRATE_LIST::FindSubstrate | ( | DIELECTRIC_SUBSTRATE * | aItem | ) | 
Find a item in list similar to aItem.
The comparison is for the name case insensitive, and EpsilonR and LossTg must match.
| aItem | is the item to match. | 
Definition at line 131 of file dielectric_material.cpp.
References DIELECTRIC_SUBSTRATE::m_EpsilonR, DIELECTRIC_SUBSTRATE::m_LossTangent, DIELECTRIC_SUBSTRATE::m_Name, and m_substrateList.
Referenced by PANEL_SETUP_BOARD_STACKUP::onMaterialChange().
      
  | 
  inline | 
Definition at line 70 of file dielectric_material.h.
References m_substrateList.
Referenced by AppendSubstrate(), and GetSubstrate().
| DIELECTRIC_SUBSTRATE * DIELECTRIC_SUBSTRATE_LIST::GetSubstrate | ( | const wxString & | aName | ) | 
The comparison is case insensitive.
| aName | is the name of the substrate in substrate list. | 
Definition at line 119 of file dielectric_material.cpp.
References m_substrateList.
| DIELECTRIC_SUBSTRATE * DIELECTRIC_SUBSTRATE_LIST::GetSubstrate | ( | int | aIdx | ) | 
| aIdx | is the index in substrate list. | 
Definition at line 110 of file dielectric_material.cpp.
References GetCount(), and m_substrateList.
      
  | 
  private | 
< The list of available substrates. It contains at least predefined substrates
Definition at line 51 of file dielectric_material.h.
Referenced by AppendSubstrate(), DeleteSubstrate(), DIELECTRIC_SUBSTRATE_LIST(), FindSubstrate(), FindSubstrate(), GetCount(), GetSubstrate(), and GetSubstrate().