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