![]() |
LibrePCB Developers Documentation
|
The BI_NetPoint class. More...
#include <bi_netpoint.h>
Public Member Functions | |
BI_NetPoint ()=delete | |
BI_NetPoint (const BI_NetPoint &other)=delete | |
BI_NetPoint (BI_NetSegment &segment, const BI_NetPoint &other) | |
BI_NetPoint (BI_NetSegment &segment, const SExpression &node) | |
BI_NetPoint (BI_NetSegment &segment, const Point &position) | |
~BI_NetPoint () noexcept | |
const Uuid & | getUuid () const noexcept |
BI_NetSegment & | getNetSegment () const noexcept |
NetSignal & | getNetSignalOfNetSegment () const noexcept |
bool | isUsed () const noexcept |
GraphicsLayer * | getLayerOfLines () const noexcept |
bool | isSelectable () const noexceptoverride |
void | setPosition (const Point &position) noexcept |
void | addToBoard () override |
void | removeFromBoard () override |
void | serialize (SExpression &root) const override |
Serialize the object into an existing S-Expression node. More... | |
Type_t | getType () const noexceptoverride |
const Point & | getPosition () const noexceptoverride |
bool | getIsMirrored () const noexceptoverride |
QPainterPath | getGrabAreaScenePx () const noexceptoverride |
void | setSelected (bool selected) noexceptoverride |
void | registerNetLine (BI_NetLine &netline) override |
void | unregisterNetLine (BI_NetLine &netline) override |
const QSet< BI_NetLine * > & | getNetLines () const noexceptoverride |
BI_NetPoint & | operator= (const BI_NetPoint &rhs)=delete |
bool | operator== (const BI_NetPoint &rhs) noexcept |
bool | operator!= (const BI_NetPoint &rhs) noexcept |
![]() | |
BI_Base ()=delete | |
BI_Base (const BI_Base &other)=delete | |
BI_Base (Board &board) noexcept | |
virtual | ~BI_Base () noexcept |
Project & | getProject () const noexcept |
Circuit & | getCircuit () const noexcept |
Board & | getBoard () const noexcept |
virtual bool | isAddedToBoard () const noexcept |
virtual bool | isSelected () const noexcept |
BI_Base & | operator= (const BI_Base &rhs)=delete |
![]() | |
BI_NetLineAnchor () noexcept=default | |
virtual | ~BI_NetLineAnchor () noexcept=default |
std::vector< PositiveLength > | getLineWidths () const noexcept |
UnsignedLength | getMaxLineWidth () const noexcept |
UnsignedLength | getMedianLineWidth () const noexcept |
BI_NetSegment * | getNetSegmentOfLines () const noexcept |
![]() | |
SerializableObject () noexcept | |
virtual | ~SerializableObject () noexcept |
SExpression | serializeToDomElement (const QString &name) const |
Serialize the object to a new S-Expression node. More... | |
![]() | |
IF_ErcMsgProvider () | |
virtual | ~IF_ErcMsgProvider () |
virtual const char * | getErcMsgOwnerClassName () const noexcept=0 |
Private Member Functions | |
void | init () |
Private Attributes | |
QScopedPointer< BGI_NetPoint > | mGraphicsItem |
QMetaObject::Connection | mHighlightChangedConnection |
BI_NetSegment & | mNetSegment |
Uuid | mUuid |
Point | mPosition |
QSet< BI_NetLine * > | mRegisteredNetLines |
all registered netlines More... | |
QScopedPointer< ErcMsg > | mErcMsgDeadNetPoint |
The ERC message for dead netpoints. More... | |
Additional Inherited Members | |
![]() | |
enum | Type_t |
![]() | |
template<typename T > | |
static void | serializeObjectContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainer (SExpression &root, const T &container, const QString &itemName) |
template<typename T > | |
static void | serializePointerContainerUuidSorted (SExpression &root, const T &container, const QString &itemName) |
![]() | |
void | addToBoard (QGraphicsItem *item) noexcept |
void | removeFromBoard (QGraphicsItem *item) noexcept |
![]() | |
Board & | mBoard |
The BI_NetPoint class.
|
delete |
|
delete |
BI_NetPoint | ( | BI_NetSegment & | segment, |
const BI_NetPoint & | other | ||
) |
BI_NetPoint | ( | BI_NetSegment & | segment, |
const SExpression & | node | ||
) |
BI_NetPoint | ( | BI_NetSegment & | segment, |
const Point & | position | ||
) |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
overridevirtualnoexcept |
|
noexcept |
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Implements BI_Base.
|
overridevirtual |
Serialize the object into an existing S-Expression node.
This method inserts/appends all attributes and childs of the object to an existing S-Expression node. The content which already exists in the given S-Expression node will not be removed.
root | The target DOM root node |
Exception | This method throws an exception if an error occurs. |
Implements SerializableObject.
|
inlineoverridevirtualnoexcept |
|
inlineoverridevirtualnoexcept |
Implements BI_Base.
|
overridevirtualnoexcept |
Implements BI_Base.
|
overridevirtualnoexcept |
Reimplemented from BI_Base.
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtualnoexcept |
Implements BI_NetLineAnchor.
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
all registered netlines
|
private |
The ERC message for dead netpoints.