KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_CONNECTIVITY::BUS_SCHEMA::NODE Struct Reference

One node of the presentation tree. More...

#include <conn_bus.h>

Public Types

enum class  KIND { NET , VECTOR , GROUP }
 

Public Member Functions

bool operator== (const NODE &) const =default
 

Public Attributes

KIND kind = KIND::NET
 
wxString text
 Container label text.
 
wxString prefix
 
std::vector< NODEmembers
 
std::optional< size_t > leaf
 Leaf ordinal of a NET node.
 

Detailed Description

One node of the presentation tree.

Only the tree holds nested vectors and groups.

Definition at line 71 of file conn_bus.h.

Member Enumeration Documentation

◆ KIND

Enumerator
NET 
VECTOR 
GROUP 

Definition at line 73 of file conn_bus.h.

Member Function Documentation

◆ operator==()

bool SCH_CONNECTIVITY::BUS_SCHEMA::NODE::operator== ( const NODE & ) const
default

Member Data Documentation

◆ kind

KIND SCH_CONNECTIVITY::BUS_SCHEMA::NODE::kind = KIND::NET

Definition at line 80 of file conn_bus.h.

◆ leaf

std::optional<size_t> SCH_CONNECTIVITY::BUS_SCHEMA::NODE::leaf

Leaf ordinal of a NET node.

Duplicate names keep distinct ordinals.

Definition at line 86 of file conn_bus.h.

◆ members

std::vector<NODE> SCH_CONNECTIVITY::BUS_SCHEMA::NODE::members

Definition at line 84 of file conn_bus.h.

◆ prefix

wxString SCH_CONNECTIVITY::BUS_SCHEMA::NODE::prefix

Definition at line 83 of file conn_bus.h.

◆ text

wxString SCH_CONNECTIVITY::BUS_SCHEMA::NODE::text

Container label text.

A NET node takes its name from the referenced flattened leaf.

Definition at line 82 of file conn_bus.h.


The documentation for this struct was generated from the following file: