20 #ifndef LIBREPCB_CORE_PACKAGEPAD_H 21 #define LIBREPCB_CORE_PACKAGEPAD_H 26 #include "../../serialization/serializableobjectlist.h" 27 #include "../../types/circuitidentifier.h" 85 return !(*
this == rhs);
99 static constexpr
const char* tagname =
"pad";
bool operator==(const PackagePad &rhs) const noexcept
Definition: packagepad.cpp:80
const Uuid & getUuid() const noexcept
Definition: packagepad.h:67
The PackagePad class represents one logical pad of a package.
Definition: packagepad.h:47
Uuid mUuid
Definition: packagepad.h:90
Event
Definition: packagepad.h:52
Definition: occmodel.cpp:76
bool operator!=(const PackagePad &rhs) const noexcept
Definition: packagepad.h:84
bool setName(const CircuitIdentifier &name) noexcept
Definition: packagepad.cpp:57
CircuitIdentifier getName() const noexcept
Definition: packagepad.h:68
Definition: packagepad.h:98
type_safe::constrained_type< QString, CircuitIdentifierConstraint, CircuitIdentifierVerifier > CircuitIdentifier
Definition: circuitidentifier.h:93
The Signal class is used to emit signals on non-QObject derived classes.
Definition: signalslot.h:65
~PackagePad() noexcept
Definition: packagepad.cpp:50
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:56
CircuitIdentifier mName
Definition: packagepad.h:91
Signal< PackagePad, Event > onEdited
Definition: packagepad.h:56
PackagePad & operator=(const PackagePad &rhs) noexcept
Definition: packagepad.cpp:86
The Slot class is used to receive signals from non-QObject derived classes.
Definition: signalslot.h:36
void serialize(SExpression &root) const
Serialize into librepcb::SExpression node.
Definition: packagepad.cpp:71
The SExpression class.
Definition: sexpression.h:66
Slot< PackagePad, Event > OnEditedSlot
Definition: packagepad.h:57