![]() |
LibrePCB Developers Documentation
|
The NetLine class represents a net line within a schematic. More...
#include <netline.h>
Collaboration diagram for NetLine:Public Types | |
| enum class | Event |
| typedef Slot< NetLine, Event > | OnEditedSlot |
Public Member Functions | |
| NetLine ()=delete | |
| NetLine (const NetLine &other) noexcept | |
| NetLine (const Uuid &uuid, const NetLine &other) noexcept | |
| NetLine (const Uuid &uuid, const UnsignedLength &width, const NetLineAnchor &a, const NetLineAnchor &b) noexcept | |
| NetLine (const SExpression &node) | |
| ~NetLine () noexcept | |
| const Uuid & | getUuid () const noexcept |
| const UnsignedLength & | getWidth () const noexcept |
| const NetLineAnchor & | getP1 () const noexcept |
| const NetLineAnchor & | getP2 () const noexcept |
| bool | setUuid (const Uuid &uuid) noexcept |
| bool | setWidth (const UnsignedLength &width) noexcept |
| bool | setAnchors (NetLineAnchor a, NetLineAnchor b) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| bool | operator== (const NetLine &rhs) const noexcept |
| bool | operator!= (const NetLine &rhs) const noexcept |
| NetLine & | operator= (const NetLine &rhs) noexcept |
Public Attributes | |
| Signal< NetLine, Event > | onEdited |
Static Private Member Functions | |
| static void | normalizeAnchors (NetLineAnchor &start, NetLineAnchor &end) noexcept |
Private Attributes | |
| Uuid | mUuid |
| UnsignedLength | mWidth |
| NetLineAnchor | mP1 |
| NetLineAnchor | mP2 |
The NetLine class represents a net line within a schematic.
The main purpose of this class is to serialize and deserialize schematic net lines.
| typedef Slot<NetLine, Event> OnEditedSlot |
|
strong |
|
delete |
|
noexcept |
|
explicit |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
staticprivatenoexcept |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |