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

#include <odb_eda_data.h>

Inheritance diagram for EDA_DATA::NET:
ATTR_RECORD_WRITER

Public Member Functions

 NET (size_t aIndex, const wxString &aName)
 
template<typename T , typename... Args>
T & AddSubnet (Args &&... args)
 
void Write (std::ostream &ost) const
 
void WriteAttributes (std::ostream &ost) const
 

Public Attributes

const size_t m_index
 
wxString m_name
 
std::list< std::unique_ptr< SUB_NET > > subnets
 
std::map< unsigned int, std::string > attributes
 

Detailed Description

Definition at line 150 of file odb_eda_data.h.

Constructor & Destructor Documentation

◆ NET()

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

Definition at line 153 of file odb_eda_data.h.

Member Function Documentation

◆ AddSubnet()

template<typename T , typename... Args>
T & EDA_DATA::NET::AddSubnet ( Args &&...  args)
inline

Definition at line 160 of file odb_eda_data.h.

References subnets.

Referenced by ODB_STEP_ENTITY::InitEdaData().

◆ Write()

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

Definition at line 39 of file odb_eda_data.cpp.

References m_name, subnets, and ATTR_RECORD_WRITER::WriteAttributes().

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

const size_t EDA_DATA::NET::m_index

Definition at line 155 of file odb_eda_data.h.

◆ m_name

wxString EDA_DATA::NET::m_name

Definition at line 156 of file odb_eda_data.h.

Referenced by Write().

◆ subnets

std::list<std::unique_ptr<SUB_NET> > EDA_DATA::NET::subnets

Definition at line 157 of file odb_eda_data.h.

Referenced by AddSubnet(), and Write().


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