LibrePCB Developers Documentation
|
The NetLabel class represents a net text label of a schematic. More...
#include <netlabel.h>
Public Types | |
enum class | Event |
typedef Slot< NetLabel, Event > | OnEditedSlot |
Public Member Functions | |
NetLabel ()=delete | |
NetLabel (const NetLabel &other) noexcept | |
NetLabel (const Uuid &uuid, const NetLabel &other) noexcept | |
NetLabel (const Uuid &uuid, const Point &position, const Angle &rotation, bool mirrored) noexcept | |
NetLabel (const SExpression &node) | |
~NetLabel () noexcept | |
const Uuid & | getUuid () const noexcept |
const Point & | getPosition () const noexcept |
const Angle & | getRotation () const noexcept |
bool | getMirrored () const noexcept |
bool | setUuid (const Uuid &uuid) noexcept |
bool | setPosition (const Point &position) noexcept |
bool | setRotation (const Angle &rotation) noexcept |
bool | setMirrored (const bool mirrored) noexcept |
void | serialize (SExpression &root) const |
Serialize into librepcb::SExpression node. | |
bool | operator== (const NetLabel &rhs) const noexcept |
bool | operator!= (const NetLabel &rhs) const noexcept |
NetLabel & | operator= (const NetLabel &rhs) noexcept |
Public Attributes | |
Signal< NetLabel, Event > | onEdited |
Private Attributes | |
Uuid | mUuid |
Point | mPosition |
Angle | mRotation |
bool | mMirrored |
The NetLabel class represents a net text label of a schematic.
The main purpose of this class is to serialize and deserialize net labels contained in schematics.
typedef Slot<NetLabel, 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 |