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>
TAddSubnet (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 > m_ODBattributes
 

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.

References m_index, and m_name.

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, and T.

◆ Write()

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

Definition at line 43 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

◆ m_index

const size_t EDA_DATA::NET::m_index

Definition at line 155 of file odb_eda_data.h.

Referenced by NET().

◆ m_name

wxString EDA_DATA::NET::m_name

Definition at line 156 of file odb_eda_data.h.

Referenced by NET(), and Write().

◆ m_ODBattributes

std::map<unsigned int, std::string> ATTR_RECORD_WRITER::m_ODBattributes
inherited

Definition at line 378 of file odb_attribute.h.

Referenced by WriteAttributes().

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