KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NETCLASS Class Reference

A collection of nets and the parameters used to route or test these nets. More...

#include <netclass.h>

Public Member Functions

 NETCLASS (const wxString &aName, bool aInitWithDefaults=true)
 Create a NETCLASS instance with aName.
 
 ~NETCLASS ()
 
bool operator== (const NETCLASS &other) const
 
wxString GetClass () const
 
void ResetParents ()
 Resets all parent fields to point to this netclass.
 
void ResetParameters ()
 Resets all parameters (except Name and Description)
 
const std::vector< NETCLASS * > & GetConstituentNetclasses () const
 Gets the netclasses which make up this netclass.
 
void SetConstituentNetclasses (std::vector< NETCLASS * > &&constituents)
 Sets the netclasses which make up this netclass.
 
const wxString GetVariableSubstitutionName () const
 Gets the name of this (maybe aggregate) netclass in a format for label variable substitutions.
 
bool ContainsNetclassWithName (const wxString &netclass) const
 Determines if the given netclass name is a constituent of this (maybe aggregate) netclass.
 
bool IsDefault () const
 @ brief Determines if this is marked as the default netclass
 
const wxString GetName () const
 Gets the consolidated name of this netclass (which may be an aggregate)
 
void SetName (const wxString &aName)
 
const wxString & GetDescription () const
 
void SetDescription (const wxString &aDesc)
 
bool HasClearance () const
 
int GetClearance () const
 
std::optional< int > GetClearanceOpt () const
 
void SetClearance (int aClearance)
 
void SetClearance (std::optional< int > aClearance)
 
void SetClearanceParent (NETCLASS *parent)
 
NETCLASSGetClearanceParent () const
 
bool HasTrackWidth () const
 
int GetTrackWidth () const
 
std::optional< int > GetTrackWidthOpt () const
 
void SetTrackWidth (int aWidth)
 
void SetTrackWidth (std::optional< int > aWidth)
 
void SetTrackWidthParent (NETCLASS *parent)
 
NETCLASSGetTrackWidthParent () const
 
bool HasViaDiameter () const
 
int GetViaDiameter () const
 
std::optional< int > GetViaDiameterOpt () const
 
void SetViaDiameter (int aDia)
 
void SetViaDiameter (std::optional< int > aDia)
 
void SetViaDiameterParent (NETCLASS *parent)
 
NETCLASSGetViaDiameterParent () const
 
int HasViaDrill () const
 
int GetViaDrill () const
 
std::optional< int > GetViaDrillOpt () const
 
void SetViaDrill (int aSize)
 
void SetViaDrill (std::optional< int > aSize)
 
void SetViaDrillParent (NETCLASS *parent)
 
NETCLASSGetViaDrillParent () const
 
bool HasuViaDiameter () const
 
int GetuViaDiameter () const
 
std::optional< int > GetuViaDiameterOpt () const
 
void SetuViaDiameter (int aSize)
 
void SetuViaDiameter (std::optional< int > aSize)
 
void SetuViaDiameterParent (NETCLASS *parent)
 
NETCLASSGetuViaDiameterParent () const
 
bool HasuViaDrill () const
 
int GetuViaDrill () const
 
std::optional< int > GetuViaDrillOpt () const
 
void SetuViaDrill (int aSize)
 
void SetuViaDrill (std::optional< int > aSize)
 
void SetuViaDrillParent (NETCLASS *parent)
 
NETCLASSGetuViaDrillParent () const
 
bool HasDiffPairWidth () const
 
int GetDiffPairWidth () const
 
std::optional< int > GetDiffPairWidthOpt () const
 
void SetDiffPairWidth (int aSize)
 
void SetDiffPairWidth (std::optional< int > aSize)
 
void SetDiffPairWidthParent (NETCLASS *parent)
 
NETCLASSGetDiffPairWidthParent () const
 
bool HasDiffPairGap () const
 
int GetDiffPairGap () const
 
std::optional< int > GetDiffPairGapOpt () const
 
void SetDiffPairGap (int aSize)
 
void SetDiffPairGap (std::optional< int > aSize)
 
void SetDiffPairGapParent (NETCLASS *parent)
 
NETCLASSGetDiffPairGapParent () const
 
bool HasDiffPairViaGap () const
 
int GetDiffPairViaGap () const
 
std::optional< int > GetDiffPairViaGapOpt () const
 
void SetDiffPairViaGap (int aSize)
 
void SetDiffPairViaGap (std::optional< int > aSize)
 
void SetDiffPairViaGapParent (NETCLASS *parent)
 
NETCLASSGetDiffPairViaGapParent () const
 
bool HasPcbColor () const
 
COLOR4D GetPcbColor (bool aIsForSave=false) const
 
void SetPcbColor (const COLOR4D &aColor)
 
void SetPcbColorParent (NETCLASS *parent)
 
NETCLASSGetPcbColorParent () const
 
bool HasWireWidth () const
 
int GetWireWidth () const
 
std::optional< int > GetWireWidthOpt () const
 
void SetWireWidth (int aWidth)
 
void SetWireWidth (std::optional< int > aWidth)
 
void SetWireWidthParent (NETCLASS *parent)
 
NETCLASSGetWireWidthParent () const
 
bool HasBusWidth () const
 
int GetBusWidth () const
 
std::optional< int > GetBusWidthOpt () const
 
void SetBusWidth (int aWidth)
 
void SetBusWidth (std::optional< int > aWidth)
 
void SetBusWidthParent (NETCLASS *parent)
 
NETCLASSGetBusWidthParent () const
 
COLOR4D GetSchematicColor (bool aIsForSave=false) const
 
void SetSchematicColor (COLOR4D aColor)
 
void SetSchematicColorParent (NETCLASS *parent)
 
NETCLASSGetSchematicColorParent () const
 
bool HasLineStyle () const
 
int GetLineStyle () const
 
std::optional< int > GetLineStyleOpt () const
 
void SetLineStyle (int aStyle)
 
void SetLineStyle (std::optional< int > aStyle)
 
void SetLineStyleParent (NETCLASS *parent)
 
NETCLASSGetLineStyleParent () const
 
void SetPriority (int aPriority)
 
int GetPriority () const
 

Static Public Attributes

static const char Default [] = "Default"
 the name of the default NETCLASS
 

Protected Attributes

bool m_isDefault
 Mark if this instance is the default netclass.
 
std::vector< NETCLASS * > m_constituents
 NETCLASSes contributing to an aggregate.
 
wxString m_Name
 Name of the net class.
 
int m_Priority
 The priority for multiple netclass resolution.
 
wxString m_Description
 what this NETCLASS is for.
 
std::optional< int > m_Clearance
 clearance when routing
 
std::optional< int > m_TrackWidth
 track width used to route nets
 
std::optional< int > m_ViaDia
 via diameter
 
std::optional< int > m_ViaDrill
 via drill hole diameter
 
std::optional< int > m_uViaDia
 microvia diameter
 
std::optional< int > m_uViaDrill
 microvia drill hole diameter
 
std::optional< int > m_diffPairWidth
 
std::optional< int > m_diffPairGap
 
std::optional< int > m_diffPairViaGap
 
std::optional< int > m_wireWidth
 
std::optional< int > m_busWidth
 
COLOR4D m_schematicColor
 
std::optional< int > m_lineStyle
 
COLOR4D m_pcbColor
 Optional PCB color override for this netclass.
 
NETCLASSm_clearanceParent
 
NETCLASSm_trackWidthParent
 
NETCLASSm_viaDiameterParent
 
NETCLASSm_viaDrillParent
 
NETCLASSm_uViaDiaParent
 
NETCLASSm_uViaDrillParent
 
NETCLASSm_diffPairWidthParent
 
NETCLASSm_diffPairGapParent
 
NETCLASSm_diffPairViaGapParent
 
NETCLASSm_pcbColorParent
 
NETCLASSm_wireWidthParent
 
NETCLASSm_busWidthParent
 
NETCLASSm_schematicColorParent
 
NETCLASSm_lineStyleParent
 

Detailed Description

A collection of nets and the parameters used to route or test these nets.

Definition at line 43 of file netclass.h.

Constructor & Destructor Documentation

◆ NETCLASS()

NETCLASS::NETCLASS ( const wxString &  aName,
bool  aInitWithDefaults = true 
)

◆ ~NETCLASS()

NETCLASS::~NETCLASS ( )
inline

Definition at line 56 of file netclass.h.

Member Function Documentation

◆ ContainsNetclassWithName()

bool NETCLASS::ContainsNetclassWithName ( const wxString &  netclass) const

Determines if the given netclass name is a constituent of this (maybe aggregate) netclass.

Definition at line 141 of file netclass.cpp.

References m_constituents.

Referenced by hasNetclassFunc(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().

◆ GetBusWidth()

int NETCLASS::GetBusWidth ( ) const
inline

Definition at line 199 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetBusWidthOpt()

std::optional< int > NETCLASS::GetBusWidthOpt ( ) const
inline

Definition at line 200 of file netclass.h.

◆ GetBusWidthParent()

NETCLASS * NETCLASS::GetBusWidthParent ( ) const
inline

Definition at line 204 of file netclass.h.

◆ GetClass()

wxString NETCLASS::GetClass ( ) const
inline

Definition at line 60 of file netclass.h.

◆ GetClearance()

int NETCLASS::GetClearance ( ) const
inline

Definition at line 104 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetClearanceOpt()

std::optional< int > NETCLASS::GetClearanceOpt ( ) const
inline

Definition at line 105 of file netclass.h.

◆ GetClearanceParent()

NETCLASS * NETCLASS::GetClearanceParent ( ) const
inline

Definition at line 109 of file netclass.h.

◆ GetConstituentNetclasses()

const std::vector< NETCLASS * > & NETCLASS::GetConstituentNetclasses ( ) const

Gets the netclasses which make up this netclass.

Definition at line 129 of file netclass.cpp.

References m_constituents.

◆ GetDescription()

const wxString & NETCLASS::GetDescription ( ) const
inline

Definition at line 100 of file netclass.h.

◆ GetDiffPairGap()

int NETCLASS::GetDiffPairGap ( ) const
inline

Definition at line 160 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetDiffPairGapOpt()

std::optional< int > NETCLASS::GetDiffPairGapOpt ( ) const
inline

Definition at line 161 of file netclass.h.

◆ GetDiffPairGapParent()

NETCLASS * NETCLASS::GetDiffPairGapParent ( ) const
inline

Definition at line 165 of file netclass.h.

◆ GetDiffPairViaGap()

int NETCLASS::GetDiffPairViaGap ( ) const
inline

Definition at line 168 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetDiffPairViaGapOpt()

std::optional< int > NETCLASS::GetDiffPairViaGapOpt ( ) const
inline

Definition at line 169 of file netclass.h.

◆ GetDiffPairViaGapParent()

NETCLASS * NETCLASS::GetDiffPairViaGapParent ( ) const
inline

Definition at line 173 of file netclass.h.

◆ GetDiffPairWidth()

int NETCLASS::GetDiffPairWidth ( ) const
inline

Definition at line 152 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetDiffPairWidthOpt()

std::optional< int > NETCLASS::GetDiffPairWidthOpt ( ) const
inline

Definition at line 153 of file netclass.h.

◆ GetDiffPairWidthParent()

NETCLASS * NETCLASS::GetDiffPairWidthParent ( ) const
inline

Definition at line 157 of file netclass.h.

◆ GetLineStyle()

int NETCLASS::GetLineStyle ( ) const
inline

Definition at line 221 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetLineStyleOpt()

std::optional< int > NETCLASS::GetLineStyleOpt ( ) const
inline

Definition at line 222 of file netclass.h.

◆ GetLineStyleParent()

NETCLASS * NETCLASS::GetLineStyleParent ( ) const
inline

Definition at line 226 of file netclass.h.

◆ GetName()

◆ GetPcbColor()

COLOR4D NETCLASS::GetPcbColor ( bool  aIsForSave = false) const
inline

◆ GetPcbColorParent()

NETCLASS * NETCLASS::GetPcbColorParent ( ) const
inline

Definition at line 188 of file netclass.h.

◆ GetPriority()

int NETCLASS::GetPriority ( ) const
inline

Definition at line 229 of file netclass.h.

◆ GetSchematicColor()

COLOR4D NETCLASS::GetSchematicColor ( bool  aIsForSave = false) const
inline

Definition at line 206 of file netclass.h.

References KIGFX::COLOR4D::UNSPECIFIED.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetSchematicColorParent()

NETCLASS * NETCLASS::GetSchematicColorParent ( ) const
inline

Definition at line 218 of file netclass.h.

◆ GetTrackWidth()

int NETCLASS::GetTrackWidth ( ) const
inline

Definition at line 112 of file netclass.h.

Referenced by PCB_IO_EAGLE::LoadBoard(), and NET_SETTINGS::makeEffectiveNetclass().

◆ GetTrackWidthOpt()

std::optional< int > NETCLASS::GetTrackWidthOpt ( ) const
inline

Definition at line 113 of file netclass.h.

◆ GetTrackWidthParent()

NETCLASS * NETCLASS::GetTrackWidthParent ( ) const
inline

Definition at line 117 of file netclass.h.

◆ GetuViaDiameter()

int NETCLASS::GetuViaDiameter ( ) const
inline

◆ GetuViaDiameterOpt()

std::optional< int > NETCLASS::GetuViaDiameterOpt ( ) const
inline

Definition at line 137 of file netclass.h.

◆ GetuViaDiameterParent()

NETCLASS * NETCLASS::GetuViaDiameterParent ( ) const
inline

Definition at line 141 of file netclass.h.

◆ GetuViaDrill()

int NETCLASS::GetuViaDrill ( ) const
inline

◆ GetuViaDrillOpt()

std::optional< int > NETCLASS::GetuViaDrillOpt ( ) const
inline

Definition at line 145 of file netclass.h.

◆ GetuViaDrillParent()

NETCLASS * NETCLASS::GetuViaDrillParent ( ) const
inline

Definition at line 149 of file netclass.h.

◆ GetVariableSubstitutionName()

const wxString NETCLASS::GetVariableSubstitutionName ( ) const

Gets the name of this (maybe aggregate) netclass in a format for label variable substitutions.

Definition at line 179 of file netclass.cpp.

References m_constituents, m_Name, and name.

Referenced by PCBEXPR_NETCLASS_VALUE::AsString(), BOARD_CONNECTED_ITEM::GetNetClassVariableSubstitutionName(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow().

◆ GetViaDiameter()

int NETCLASS::GetViaDiameter ( ) const
inline

Definition at line 120 of file netclass.h.

Referenced by PCB_IO_EAGLE::LoadBoard(), and NET_SETTINGS::makeEffectiveNetclass().

◆ GetViaDiameterOpt()

std::optional< int > NETCLASS::GetViaDiameterOpt ( ) const
inline

Definition at line 121 of file netclass.h.

◆ GetViaDiameterParent()

NETCLASS * NETCLASS::GetViaDiameterParent ( ) const
inline

Definition at line 125 of file netclass.h.

◆ GetViaDrill()

int NETCLASS::GetViaDrill ( ) const
inline

◆ GetViaDrillOpt()

std::optional< int > NETCLASS::GetViaDrillOpt ( ) const
inline

Definition at line 129 of file netclass.h.

◆ GetViaDrillParent()

NETCLASS * NETCLASS::GetViaDrillParent ( ) const
inline

Definition at line 133 of file netclass.h.

◆ GetWireWidth()

int NETCLASS::GetWireWidth ( ) const
inline

Definition at line 191 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ GetWireWidthOpt()

std::optional< int > NETCLASS::GetWireWidthOpt ( ) const
inline

Definition at line 192 of file netclass.h.

◆ GetWireWidthParent()

NETCLASS * NETCLASS::GetWireWidthParent ( ) const
inline

Definition at line 196 of file netclass.h.

◆ HasBusWidth()

bool NETCLASS::HasBusWidth ( ) const
inline

◆ HasClearance()

bool NETCLASS::HasClearance ( ) const
inline

◆ HasDiffPairGap()

bool NETCLASS::HasDiffPairGap ( ) const
inline

◆ HasDiffPairViaGap()

bool NETCLASS::HasDiffPairViaGap ( ) const
inline

Definition at line 167 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ HasDiffPairWidth()

bool NETCLASS::HasDiffPairWidth ( ) const
inline

◆ HasLineStyle()

bool NETCLASS::HasLineStyle ( ) const
inline

Definition at line 220 of file netclass.h.

Referenced by NET_SETTINGS::makeEffectiveNetclass().

◆ HasPcbColor()

bool NETCLASS::HasPcbColor ( ) const
inline

◆ HasTrackWidth()

bool NETCLASS::HasTrackWidth ( ) const
inline

◆ HasuViaDiameter()

bool NETCLASS::HasuViaDiameter ( ) const
inline

◆ HasuViaDrill()

bool NETCLASS::HasuViaDrill ( ) const
inline

◆ HasViaDiameter()

bool NETCLASS::HasViaDiameter ( ) const
inline

◆ HasViaDrill()

int NETCLASS::HasViaDrill ( ) const
inline

◆ HasWireWidth()

bool NETCLASS::HasWireWidth ( ) const
inline

◆ IsDefault()

bool NETCLASS::IsDefault ( ) const
inline

@ brief Determines if this is marked as the default netclass

Definition at line 88 of file netclass.h.

◆ operator==()

bool NETCLASS::operator== ( const NETCLASS other) const

Definition at line 123 of file netclass.cpp.

References m_constituents.

◆ ResetParameters()

void NETCLASS::ResetParameters ( )

◆ ResetParents()

◆ SetBusWidth() [1/2]

void NETCLASS::SetBusWidth ( int  aWidth)
inline

Definition at line 201 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetBusWidth() [2/2]

void NETCLASS::SetBusWidth ( std::optional< int >  aWidth)
inline

Definition at line 202 of file netclass.h.

◆ SetBusWidthParent()

void NETCLASS::SetBusWidthParent ( NETCLASS parent)
inline

Definition at line 203 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetClearance() [1/2]

void NETCLASS::SetClearance ( int  aClearance)
inline

◆ SetClearance() [2/2]

void NETCLASS::SetClearance ( std::optional< int >  aClearance)
inline

Definition at line 107 of file netclass.h.

◆ SetClearanceParent()

void NETCLASS::SetClearanceParent ( NETCLASS parent)
inline

Definition at line 108 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetConstituentNetclasses()

void NETCLASS::SetConstituentNetclasses ( std::vector< NETCLASS * > &&  constituents)

Sets the netclasses which make up this netclass.

Definition at line 135 of file netclass.cpp.

References m_constituents.

◆ SetDescription()

void NETCLASS::SetDescription ( const wxString &  aDesc)
inline

Definition at line 101 of file netclass.h.

◆ SetDiffPairGap() [1/2]

void NETCLASS::SetDiffPairGap ( int  aSize)
inline

Definition at line 162 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetDiffPairGap() [2/2]

void NETCLASS::SetDiffPairGap ( std::optional< int >  aSize)
inline

Definition at line 163 of file netclass.h.

◆ SetDiffPairGapParent()

void NETCLASS::SetDiffPairGapParent ( NETCLASS parent)
inline

Definition at line 164 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetDiffPairViaGap() [1/2]

void NETCLASS::SetDiffPairViaGap ( int  aSize)
inline

Definition at line 170 of file netclass.h.

Referenced by NETCLASS(), and ResetParameters().

◆ SetDiffPairViaGap() [2/2]

void NETCLASS::SetDiffPairViaGap ( std::optional< int >  aSize)
inline

Definition at line 171 of file netclass.h.

◆ SetDiffPairViaGapParent()

void NETCLASS::SetDiffPairViaGapParent ( NETCLASS parent)
inline

Definition at line 172 of file netclass.h.

Referenced by ResetParents().

◆ SetDiffPairWidth() [1/2]

void NETCLASS::SetDiffPairWidth ( int  aSize)
inline

Definition at line 154 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetDiffPairWidth() [2/2]

void NETCLASS::SetDiffPairWidth ( std::optional< int >  aSize)
inline

Definition at line 155 of file netclass.h.

◆ SetDiffPairWidthParent()

void NETCLASS::SetDiffPairWidthParent ( NETCLASS parent)
inline

Definition at line 156 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetLineStyle() [1/2]

void NETCLASS::SetLineStyle ( int  aStyle)
inline

Definition at line 223 of file netclass.h.

Referenced by NETCLASS(), and ResetParameters().

◆ SetLineStyle() [2/2]

void NETCLASS::SetLineStyle ( std::optional< int >  aStyle)
inline

Definition at line 224 of file netclass.h.

◆ SetLineStyleParent()

void NETCLASS::SetLineStyleParent ( NETCLASS parent)
inline

Definition at line 225 of file netclass.h.

Referenced by ResetParents().

◆ SetName()

void NETCLASS::SetName ( const wxString &  aName)
inline

Definition at line 92 of file netclass.h.

Referenced by NETCLASS().

◆ SetPcbColor()

void NETCLASS::SetPcbColor ( const COLOR4D aColor)
inline

Definition at line 186 of file netclass.h.

Referenced by NETCLASS(), and ResetParameters().

◆ SetPcbColorParent()

void NETCLASS::SetPcbColorParent ( NETCLASS parent)
inline

Definition at line 187 of file netclass.h.

Referenced by ResetParents().

◆ SetPriority()

void NETCLASS::SetPriority ( int  aPriority)
inline

Definition at line 228 of file netclass.h.

Referenced by NETCLASS().

◆ SetSchematicColor()

void NETCLASS::SetSchematicColor ( COLOR4D  aColor)
inline

Definition at line 216 of file netclass.h.

Referenced by NETCLASS(), and ResetParameters().

◆ SetSchematicColorParent()

void NETCLASS::SetSchematicColorParent ( NETCLASS parent)
inline

Definition at line 217 of file netclass.h.

Referenced by ResetParents().

◆ SetTrackWidth() [1/2]

void NETCLASS::SetTrackWidth ( int  aWidth)
inline

Definition at line 114 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetTrackWidth() [2/2]

void NETCLASS::SetTrackWidth ( std::optional< int >  aWidth)
inline

Definition at line 115 of file netclass.h.

◆ SetTrackWidthParent()

void NETCLASS::SetTrackWidthParent ( NETCLASS parent)
inline

Definition at line 116 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetuViaDiameter() [1/2]

void NETCLASS::SetuViaDiameter ( int  aSize)
inline

Definition at line 138 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetuViaDiameter() [2/2]

void NETCLASS::SetuViaDiameter ( std::optional< int >  aSize)
inline

Definition at line 139 of file netclass.h.

◆ SetuViaDiameterParent()

void NETCLASS::SetuViaDiameterParent ( NETCLASS parent)
inline

Definition at line 140 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetuViaDrill() [1/2]

void NETCLASS::SetuViaDrill ( int  aSize)
inline

Definition at line 146 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetuViaDrill() [2/2]

void NETCLASS::SetuViaDrill ( std::optional< int >  aSize)
inline

Definition at line 147 of file netclass.h.

◆ SetuViaDrillParent()

void NETCLASS::SetuViaDrillParent ( NETCLASS parent)
inline

Definition at line 148 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetViaDiameter() [1/2]

void NETCLASS::SetViaDiameter ( int  aDia)
inline

Definition at line 122 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetViaDiameter() [2/2]

void NETCLASS::SetViaDiameter ( std::optional< int >  aDia)
inline

Definition at line 123 of file netclass.h.

◆ SetViaDiameterParent()

void NETCLASS::SetViaDiameterParent ( NETCLASS parent)
inline

Definition at line 124 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetViaDrill() [1/2]

void NETCLASS::SetViaDrill ( int  aSize)
inline

Definition at line 130 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetViaDrill() [2/2]

void NETCLASS::SetViaDrill ( std::optional< int >  aSize)
inline

Definition at line 131 of file netclass.h.

◆ SetViaDrillParent()

void NETCLASS::SetViaDrillParent ( NETCLASS parent)
inline

Definition at line 132 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

◆ SetWireWidth() [1/2]

void NETCLASS::SetWireWidth ( int  aWidth)
inline

Definition at line 193 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), NETCLASS(), and ResetParameters().

◆ SetWireWidth() [2/2]

void NETCLASS::SetWireWidth ( std::optional< int >  aWidth)
inline

Definition at line 194 of file netclass.h.

◆ SetWireWidthParent()

void NETCLASS::SetWireWidthParent ( NETCLASS parent)
inline

Definition at line 195 of file netclass.h.

Referenced by NET_SETTINGS::addMissingDefaults(), and ResetParents().

Member Data Documentation

◆ Default

◆ m_busWidth

std::optional<int> NETCLASS::m_busWidth
protected

Definition at line 254 of file netclass.h.

◆ m_busWidthParent

NETCLASS* NETCLASS::m_busWidthParent
protected

Definition at line 272 of file netclass.h.

◆ m_Clearance

std::optional<int> NETCLASS::m_Clearance
protected

clearance when routing

Definition at line 240 of file netclass.h.

◆ m_clearanceParent

NETCLASS* NETCLASS::m_clearanceParent
protected

Definition at line 261 of file netclass.h.

◆ m_constituents

std::vector<NETCLASS*> NETCLASS::m_constituents
protected

NETCLASSes contributing to an aggregate.

Definition at line 234 of file netclass.h.

Referenced by ContainsNetclassWithName(), GetConstituentNetclasses(), GetName(), GetVariableSubstitutionName(), NETCLASS(), operator==(), and SetConstituentNetclasses().

◆ m_Description

wxString NETCLASS::m_Description
protected

what this NETCLASS is for.

Definition at line 238 of file netclass.h.

◆ m_diffPairGap

std::optional<int> NETCLASS::m_diffPairGap
protected

Definition at line 250 of file netclass.h.

◆ m_diffPairGapParent

NETCLASS* NETCLASS::m_diffPairGapParent
protected

Definition at line 268 of file netclass.h.

◆ m_diffPairViaGap

std::optional<int> NETCLASS::m_diffPairViaGap
protected

Definition at line 251 of file netclass.h.

◆ m_diffPairViaGapParent

NETCLASS* NETCLASS::m_diffPairViaGapParent
protected

Definition at line 269 of file netclass.h.

◆ m_diffPairWidth

std::optional<int> NETCLASS::m_diffPairWidth
protected

Definition at line 249 of file netclass.h.

◆ m_diffPairWidthParent

NETCLASS* NETCLASS::m_diffPairWidthParent
protected

Definition at line 267 of file netclass.h.

◆ m_isDefault

bool NETCLASS::m_isDefault
protected

Mark if this instance is the default netclass.

Definition at line 232 of file netclass.h.

◆ m_lineStyle

std::optional<int> NETCLASS::m_lineStyle
protected

Definition at line 256 of file netclass.h.

◆ m_lineStyleParent

NETCLASS* NETCLASS::m_lineStyleParent
protected

Definition at line 274 of file netclass.h.

◆ m_Name

wxString NETCLASS::m_Name
protected

Name of the net class.

Definition at line 236 of file netclass.h.

Referenced by GetName(), and GetVariableSubstitutionName().

◆ m_pcbColor

COLOR4D NETCLASS::m_pcbColor
protected

Optional PCB color override for this netclass.

Definition at line 258 of file netclass.h.

◆ m_pcbColorParent

NETCLASS* NETCLASS::m_pcbColorParent
protected

Definition at line 270 of file netclass.h.

◆ m_Priority

int NETCLASS::m_Priority
protected

The priority for multiple netclass resolution.

Definition at line 237 of file netclass.h.

◆ m_schematicColor

COLOR4D NETCLASS::m_schematicColor
protected

Definition at line 255 of file netclass.h.

◆ m_schematicColorParent

NETCLASS* NETCLASS::m_schematicColorParent
protected

Definition at line 273 of file netclass.h.

◆ m_TrackWidth

std::optional<int> NETCLASS::m_TrackWidth
protected

track width used to route nets

Definition at line 242 of file netclass.h.

◆ m_trackWidthParent

NETCLASS* NETCLASS::m_trackWidthParent
protected

Definition at line 262 of file netclass.h.

◆ m_uViaDia

std::optional<int> NETCLASS::m_uViaDia
protected

microvia diameter

Definition at line 246 of file netclass.h.

◆ m_uViaDiaParent

NETCLASS* NETCLASS::m_uViaDiaParent
protected

Definition at line 265 of file netclass.h.

◆ m_uViaDrill

std::optional<int> NETCLASS::m_uViaDrill
protected

microvia drill hole diameter

Definition at line 247 of file netclass.h.

◆ m_uViaDrillParent

NETCLASS* NETCLASS::m_uViaDrillParent
protected

Definition at line 266 of file netclass.h.

◆ m_ViaDia

std::optional<int> NETCLASS::m_ViaDia
protected

via diameter

Definition at line 243 of file netclass.h.

◆ m_viaDiameterParent

NETCLASS* NETCLASS::m_viaDiameterParent
protected

Definition at line 263 of file netclass.h.

◆ m_ViaDrill

std::optional<int> NETCLASS::m_ViaDrill
protected

via drill hole diameter

Definition at line 244 of file netclass.h.

◆ m_viaDrillParent

NETCLASS* NETCLASS::m_viaDrillParent
protected

Definition at line 264 of file netclass.h.

◆ m_wireWidth

std::optional<int> NETCLASS::m_wireWidth
protected

Definition at line 253 of file netclass.h.

◆ m_wireWidthParent

NETCLASS* NETCLASS::m_wireWidthParent
protected

Definition at line 271 of file netclass.h.


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