| 
    KiCad PCB EDA Suite
    
   | 
 
#include <odb_entity.h>
  
Public Member Functions | |
| ODB_LAYER_ENTITY (BOARD *aBoard, PCB_IO_ODBPP *aPlugin, std::map< int, std::vector< BOARD_ITEM * > > &aMap, const PCB_LAYER_ID &aLayerID, const wxString &aLayerName) | |
| virtual | ~ODB_LAYER_ENTITY ()=default | 
| virtual std::string | GetEntityName () override | 
| virtual void | InitEntityData () override | 
| void | InitFeatureData () | 
| void | InitDrillData () | 
| void | InitAuxilliaryData () | 
| ODB_COMPONENT & | InitComponentData (const FOOTPRINT *aFp, const EDA_DATA::PACKAGE &aPkg) | 
| void | AddLayerFeatures () | 
| void | GenAttrList (ODB_TREE_WRITER &writer) | 
| void | GenComponents (ODB_TREE_WRITER &writer) | 
| void | GenTools (ODB_TREE_WRITER &writer) | 
| void | GenFeatures (ODB_TREE_WRITER &writer) | 
| virtual void | GenerateFiles (ODB_TREE_WRITER &writer) override | 
| virtual bool | CreateDirectoryTree (ODB_TREE_WRITER &writer) | 
Protected Attributes | |
| BOARD * | m_board | 
| std::vector< std::string > | m_fileName | 
| PCB_IO_ODBPP * | m_plugin | 
Private Attributes | |
| std::map< int, std::vector< BOARD_ITEM * > > | m_layerItems | 
| PCB_LAYER_ID | m_layerID | 
| wxString | m_matrixLayerName | 
| std::optional< ODB_DRILL_TOOLS > | m_tools | 
| std::optional< COMPONENTS_MANAGER > | m_compTop | 
| std::optional< COMPONENTS_MANAGER > | m_compBot | 
| std::unique_ptr< FEATURES_MANAGER > | m_featuresMgr | 
Definition at line 179 of file odb_entity.h.
| ODB_LAYER_ENTITY::ODB_LAYER_ENTITY | ( | BOARD * | aBoard, | 
| PCB_IO_ODBPP * | aPlugin, | ||
| std::map< int, std::vector< BOARD_ITEM * > > & | aMap, | ||
| const PCB_LAYER_ID & | aLayerID, | ||
| const wxString & | aLayerName ) | 
Definition at line 602 of file odb_entity.cpp.
References m_featuresMgr, m_layerID, m_layerItems, m_matrixLayerName, and ODB_ENTITY_BASE::ODB_ENTITY_BASE().
      
  | 
  virtualdefault | 
| void ODB_LAYER_ENTITY::AddLayerFeatures | ( | ) | 
      
  | 
  virtualinherited | 
Reimplemented in ODB_STEP_ENTITY.
Definition at line 62 of file odb_entity.cpp.
References ODB_TREE_WRITER::CreateEntityDirectory(), GetEntityName(), and ODB_TREE_WRITER::GetRootPath().
| void ODB_LAYER_ENTITY::GenAttrList | ( | ODB_TREE_WRITER & | writer | ) | 
Definition at line 904 of file odb_entity.cpp.
References ODB_TREE_WRITER::CreateFileProxy().
Referenced by GenerateFiles().
| void ODB_LAYER_ENTITY::GenComponents | ( | ODB_TREE_WRITER & | writer | ) | 
Definition at line 881 of file odb_entity.cpp.
References ODB_TREE_WRITER::CreateFileProxy(), m_compBot, and m_compTop.
Referenced by GenerateFiles().
      
  | 
  overridevirtual | 
Reimplemented from ODB_ENTITY_BASE.
Definition at line 863 of file odb_entity.cpp.
References GenAttrList(), GenComponents(), GenFeatures(), GenTools(), m_compBot, m_compTop, and m_tools.
| void ODB_LAYER_ENTITY::GenFeatures | ( | ODB_TREE_WRITER & | writer | ) | 
Definition at line 896 of file odb_entity.cpp.
References ODB_TREE_WRITER::CreateFileProxy(), and m_featuresMgr.
Referenced by GenerateFiles().
| void ODB_LAYER_ENTITY::GenTools | ( | ODB_TREE_WRITER & | writer | ) | 
Definition at line 910 of file odb_entity.cpp.
References ODB_TREE_WRITER::CreateFileProxy(), and m_tools.
Referenced by GenerateFiles().
      
  | 
  inlineoverridevirtual | 
Implements ODB_ENTITY_BASE.
Definition at line 188 of file odb_entity.h.
| void ODB_LAYER_ENTITY::InitAuxilliaryData | ( | ) | 
Definition at line 790 of file odb_entity.cpp.
References CAPPING, COVERING, FILLING, ODB::GenLegalEntityName(), ODB_ENTITY_BASE::m_board, m_layerItems, m_matrixLayerName, ODB_ENTITY_BASE::m_plugin, PCB_VIA_T, PLUGGING, TENTING, UNDEFINED_LAYER, and via.
Referenced by InitEntityData().
| ODB_COMPONENT & ODB_LAYER_ENTITY::InitComponentData | ( | const FOOTPRINT * | aFp, | 
| const EDA_DATA::PACKAGE & | aPkg ) | 
Definition at line 664 of file odb_entity.cpp.
References m_compBot, m_compTop, and m_matrixLayerName.
| void ODB_LAYER_ENTITY::InitDrillData | ( | ) | 
Definition at line 687 of file odb_entity.cpp.
References ODB::GenLegalEntityName(), ODB_ENTITY_BASE::m_board, m_layerItems, m_matrixLayerName, ODB_ENTITY_BASE::m_plugin, m_tools, PCB_IO_ODBPP::m_unitsStr, NPTH, pad, PCB_PAD_T, PCB_VIA_T, PTH, ODB::SymDouble2String(), and via.
Referenced by InitEntityData().
      
  | 
  overridevirtual | 
Reimplemented from ODB_ENTITY_BASE.
Definition at line 612 of file odb_entity.cpp.
References InitAuxilliaryData(), InitDrillData(), InitFeatureData(), m_layerID, m_matrixLayerName, and UNDEFINED_LAYER.
| void ODB_LAYER_ENTITY::InitFeatureData | ( | ) | 
Definition at line 636 of file odb_entity.cpp.
References ODB_ENTITY_BASE::m_board, m_featuresMgr, m_layerID, and m_layerItems.
Referenced by InitEntityData().
      
  | 
  protectedinherited | 
Definition at line 59 of file odb_entity.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), ODB_STEP_ENTITY::GenerateProfileFile(), ODB_LAYER_ENTITY::InitAuxilliaryData(), ODB_LAYER_ENTITY::InitDrillData(), ODB_STEP_ENTITY::InitEdaData(), ODB_LAYER_ENTITY::InitFeatureData(), ODB_MATRIX_ENTITY::InitMatrixLayerData(), ODB_STEP_ENTITY::MakeLayerEntity(), ODB_ENTITY_BASE(), and ODB_ENTITY_BASE().
      
  | 
  private | 
Definition at line 214 of file odb_entity.h.
Referenced by GenComponents(), GenerateFiles(), and InitComponentData().
      
  | 
  private | 
Definition at line 213 of file odb_entity.h.
Referenced by GenComponents(), GenerateFiles(), and InitComponentData().
      
  | 
  private | 
Definition at line 215 of file odb_entity.h.
Referenced by GenFeatures(), InitFeatureData(), and ODB_LAYER_ENTITY().
      
  | 
  protectedinherited | 
Definition at line 60 of file odb_entity.h.
      
  | 
  private | 
Definition at line 209 of file odb_entity.h.
Referenced by InitEntityData(), InitFeatureData(), and ODB_LAYER_ENTITY().
      
  | 
  private | 
Definition at line 208 of file odb_entity.h.
Referenced by InitAuxilliaryData(), InitDrillData(), InitFeatureData(), and ODB_LAYER_ENTITY().
      
  | 
  private | 
Definition at line 210 of file odb_entity.h.
Referenced by InitAuxilliaryData(), InitComponentData(), InitDrillData(), InitEntityData(), and ODB_LAYER_ENTITY().
      
  | 
  protectedinherited | 
Definition at line 61 of file odb_entity.h.
Referenced by ODB_MATRIX_ENTITY::AddAuxilliaryMatrixLayer(), ODB_MATRIX_ENTITY::AddCOMPMatrixLayer(), ODB_MATRIX_ENTITY::AddDrillMatrixLayer(), ODB_MATRIX_ENTITY::AddMatrixLayerField(), ODB_STEP_ENTITY::GenerateProfileFile(), ODB_LAYER_ENTITY::InitAuxilliaryData(), ODB_LAYER_ENTITY::InitDrillData(), ODB_STEP_ENTITY::InitEdaData(), ODB_MATRIX_ENTITY::InitMatrixLayerData(), ODB_STEP_ENTITY::MakeLayerEntity(), ODB_ENTITY_BASE(), and ODB_ENTITY_BASE().
      
  | 
  private | 
Definition at line 212 of file odb_entity.h.
Referenced by GenerateFiles(), GenTools(), and InitDrillData().