LibrePCB Developers Documentation
|
The NetLine class represents a net line within a schematic. More...
#include <netline.h>
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 &start, const NetLineAnchor &end) noexcept | |
NetLine (const SExpression &node) | |
~NetLine () noexcept | |
const Uuid & | getUuid () const noexcept |
const UnsignedLength & | getWidth () const noexcept |
const NetLineAnchor & | getStartPoint () const noexcept |
const NetLineAnchor & | getEndPoint () const noexcept |
bool | setUuid (const Uuid &uuid) noexcept |
bool | setWidth (const UnsignedLength &width) noexcept |
bool | setStartPoint (const NetLineAnchor &start) noexcept |
bool | setEndPoint (const NetLineAnchor &end) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. More... | |
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 |
Private Attributes | |
Uuid | mUuid |
UnsignedLength | mWidth |
NetLineAnchor | mStart |
NetLineAnchor | mEnd |
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 |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
root | Root node to serialize into. |
|
noexcept |
|
inlinenoexcept |
|
private |
|
private |
|
private |
|
private |