KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDA_DATA::SUB_NET Class Referenceabstract

#include <odb_eda_data.h>

Inheritance diagram for EDA_DATA::SUB_NET:
EDA_DATA::SUB_NET_PLANE EDA_DATA::SUB_NET_TOEPRINT EDA_DATA::SUB_NET_TRACE EDA_DATA::SUB_NET_VIA

Public Member Functions

 SUB_NET (size_t aIndex, EDA_DATA *aEda)
 
void Write (std::ostream &ost) const
 
void AddFeatureID (FEATURE_ID::TYPE type, const wxString &layer, size_t feature_id)
 
virtual ~SUB_NET ()
 

Public Attributes

const size_t m_index
 
std::list< FEATURE_IDfeature_ids
 

Protected Member Functions

virtual void WriteSubnet (std::ostream &ost) const =0
 

Protected Attributes

EDA_DATAm_edadata
 

Detailed Description

Definition at line 63 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ SUB_NET()

EDA_DATA::SUB_NET::SUB_NET ( size_t  aIndex,
EDA_DATA aEda 
)
inline

Definition at line 66 of file odb_eda_data.h.

◆ ~SUB_NET()

virtual EDA_DATA::SUB_NET::~SUB_NET ( )
inlinevirtual

Definition at line 73 of file odb_eda_data.h.

Member Function Documentation

◆ AddFeatureID()

void EDA_DATA::SUB_NET::AddFeatureID ( FEATURE_ID::TYPE  type,
const wxString &  layer,
size_t  feature_id 
)

Definition at line 135 of file odb_eda_data.cpp.

◆ Write()

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

Definition at line 70 of file odb_eda_data.cpp.

◆ WriteSubnet()

virtual void EDA_DATA::SUB_NET::WriteSubnet ( std::ostream &  ost) const
protectedpure virtual

Member Data Documentation

◆ feature_ids

std::list<FEATURE_ID> EDA_DATA::SUB_NET::feature_ids

Definition at line 70 of file odb_eda_data.h.

◆ m_edadata

EDA_DATA* EDA_DATA::SUB_NET::m_edadata
protected

Definition at line 77 of file odb_eda_data.h.

◆ m_index

const size_t EDA_DATA::SUB_NET::m_index

Definition at line 67 of file odb_eda_data.h.


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