20#ifndef LIBREPCB_CORE_BI_NETSEGMENT_H
21#define LIBREPCB_CORE_BI_NETSEGMENT_H
26#include "../../../types/point.h"
27#include "../../../types/uuid.h"
42class BI_NetLineAnchor;
86 bool isUsed() const noexcept;
102 const QList<BI_NetPoint*>& netpoints,
103 const QList<BI_NetLine*>& netlines);
105 const QList<BI_NetPoint*>& netpoints,
106 const QList<BI_NetLine*>& netlines);
126 const QList<BI_NetPoint*>& netPoints,
127 const QList<BI_NetLine*>& netLines);
129 const QList<BI_NetPoint*>& netPoints,
130 const QList<BI_NetLine*>& netLines);
The Board Item Base (BI_Base) class.
Definition: bi_base.h:45
Definition: bi_netline.h:46
The BI_NetLine class.
Definition: bi_netline.h:71
The BI_NetPoint class.
Definition: bi_netpoint.h:46
The BI_NetSegment class.
Definition: bi_netsegment.h:52
bool operator!=(const BI_NetSegment &rhs) noexcept
Definition: bi_netsegment.h:122
~BI_NetSegment() noexcept
Definition: bi_netsegment.cpp:52
bool areAllNetPointsConnectedTogether() const noexcept
Definition: bi_netsegment.cpp:341
QString getNetNameToDisplay(bool fallback=false) const noexcept
Definition: bi_netsegment.cpp:66
void findAllConnectedNetPoints(const BI_NetLineAnchor &p, QSet< const BI_Via * > &vias, QSet< const BI_FootprintPad * > &pads, QSet< const BI_NetPoint * > &points) const noexcept
Definition: bi_netsegment.cpp:360
void removeFromBoard() override
Definition: bi_netsegment.cpp:280
const QMap< Uuid, BI_Via * > & getVias() const noexcept
Definition: bi_netsegment.h:92
void elementsAdded(const QList< BI_Via * > &vias, const QList< BI_NetPoint * > &netPoints, const QList< BI_NetLine * > &netLines)
NetSignal * mNetSignal
Definition: bi_netsegment.h:146
Uuid mUuid
Definition: bi_netsegment.h:141
bool isUsed() const noexcept
Definition: bi_netsegment.cpp:71
const QMap< Uuid, BI_NetLine * > & getNetLines() const noexcept
Definition: bi_netsegment.h:96
BI_NetSegment & operator=(const BI_NetSegment &rhs)=delete
NetSignal * getNetSignal() const noexcept
Definition: bi_netsegment.h:71
bool checkAttributesValidity() const noexcept
Definition: bi_netsegment.cpp:336
bool operator==(const BI_NetSegment &rhs) noexcept
Definition: bi_netsegment.h:121
void removeElements(const QList< BI_Via * > &vias, const QList< BI_NetPoint * > &netpoints, const QList< BI_NetLine * > &netlines)
Definition: bi_netsegment.cpp:187
void elementsRemoved(const QList< BI_Via * > &vias, const QList< BI_NetPoint * > &netPoints, const QList< BI_NetLine * > &netLines)
QMap< Uuid, BI_Via * > mVias
Definition: bi_netsegment.h:149
void addElements(const QList< BI_Via * > &vias, const QList< BI_NetPoint * > &netpoints, const QList< BI_NetLine * > &netlines)
Definition: bi_netsegment.cpp:106
void setNetSignal(NetSignal *netsignal)
Definition: bi_netsegment.cpp:80
void serialize(SExpression &root) const
Serialize into librepcb::SExpression node.
Definition: bi_netsegment.cpp:307
const Uuid & getUuid() const noexcept
Definition: bi_netsegment.h:63
BI_NetSegment(const BI_NetSegment &other)=delete
void addToBoard() override
Definition: bi_netsegment.cpp:253
const QMap< Uuid, BI_NetPoint * > & getNetPoints() const noexcept
Definition: bi_netsegment.h:93
QMap< Uuid, BI_NetPoint * > mNetPoints
Definition: bi_netsegment.h:150
QMap< Uuid, BI_NetLine * > mNetLines
Definition: bi_netsegment.h:151
The BI_Via class.
Definition: bi_via.h:44
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The NetSignal class.
Definition: netsignal.h:50
The SExpression class.
Definition: sexpression.h:69
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58
Definition: occmodel.cpp:77