20#ifndef LIBREPCB_CORE_SYMBOLCHECKMESSAGES_H
21#define LIBREPCB_CORE_SYMBOLCHECKMESSAGES_H
26#include "../../rulecheck/rulecheckmessage.h"
27#include "../../types/length.h"
80 const QString& details)
noexcept;
140 std::shared_ptr<const SymbolPin> pin)
noexcept;
147 const std::shared_ptr<const SymbolPin>&
getPin() const noexcept {
152 std::shared_ptr<const SymbolPin>
mPin;
194 QVector<std::shared_ptr<const SymbolPin>> pins)
noexcept;
200 const QVector<std::shared_ptr<const SymbolPin>>&
getPins() const noexcept {
206 const QVector<std::shared_ptr<const SymbolPin>>& pins)
noexcept;
209 QVector<std::shared_ptr<const SymbolPin>>
mPins;
234 const std::shared_ptr<const SymbolPin>&
getPin() const noexcept {
242 std::shared_ptr<const SymbolPin>
mPin;
260 const Layer& expectedLayer)
noexcept;
The Layer class provides all supported geometry layers.
Definition layer.h:42
The MsgDuplicatePinName class.
Definition symbolcheckmessages.h:47
MsgDuplicatePinName(const MsgDuplicatePinName &other) noexcept
Definition symbolcheckmessages.h:54
virtual ~MsgDuplicatePinName() noexcept
Definition symbolcheckmessages.h:56
MsgDuplicatePinName()=delete
The MsgInvalidImageFile class.
Definition symbolcheckmessages.h:66
MsgInvalidImageFile()=delete
static QString buildDescription(const QString &details) noexcept
Definition symbolcheckmessages.cpp:72
Error
Definition symbolcheckmessages.h:70
MsgInvalidImageFile(const MsgInvalidImageFile &other) noexcept
Definition symbolcheckmessages.h:81
virtual ~MsgInvalidImageFile() noexcept
Definition symbolcheckmessages.h:83
static QString buildMessagePattern(Error error) noexcept
Definition symbolcheckmessages.cpp:62
The MsgMissingSymbolName class.
Definition symbolcheckmessages.h:97
MsgMissingSymbolName(const MsgMissingSymbolName &other) noexcept
Definition symbolcheckmessages.h:103
virtual ~MsgMissingSymbolName() noexcept
Definition symbolcheckmessages.h:105
MsgMissingSymbolName() noexcept
Definition symbolcheckmessages.cpp:87
The MsgMissingSymbolValue class.
Definition symbolcheckmessages.h:115
virtual ~MsgMissingSymbolValue() noexcept
Definition symbolcheckmessages.h:123
MsgMissingSymbolValue(const MsgMissingSymbolValue &other) noexcept
Definition symbolcheckmessages.h:121
MsgMissingSymbolValue() noexcept
Definition symbolcheckmessages.cpp:101
The MsgNonFunctionalSymbolPinInversionSign class.
Definition symbolcheckmessages.h:133
MsgNonFunctionalSymbolPinInversionSign()=delete
virtual ~MsgNonFunctionalSymbolPinInversionSign() noexcept
Definition symbolcheckmessages.h:144
MsgNonFunctionalSymbolPinInversionSign(const MsgNonFunctionalSymbolPinInversionSign &other) noexcept
Definition symbolcheckmessages.h:141
std::shared_ptr< const SymbolPin > mPin
Definition symbolcheckmessages.h:152
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition symbolcheckmessages.h:147
The MsgOverlappingSymbolPins class.
Definition symbolcheckmessages.h:187
const QVector< std::shared_ptr< const SymbolPin > > & getPins() const noexcept
Definition symbolcheckmessages.h:200
QVector< std::shared_ptr< const SymbolPin > > mPins
Definition symbolcheckmessages.h:209
virtual ~MsgOverlappingSymbolPins() noexcept
Definition symbolcheckmessages.h:197
MsgOverlappingSymbolPins()=delete
MsgOverlappingSymbolPins(const MsgOverlappingSymbolPins &other) noexcept
Definition symbolcheckmessages.h:195
static QString buildMessage(const QVector< std::shared_ptr< const SymbolPin > > &pins) noexcept
Definition symbolcheckmessages.cpp:176
The MsgSymbolOriginNotInCenter class.
Definition symbolcheckmessages.h:162
virtual ~MsgSymbolOriginNotInCenter() noexcept
Definition symbolcheckmessages.h:171
const Point mCenter
Definition symbolcheckmessages.h:177
MsgSymbolOriginNotInCenter()=delete
MsgSymbolOriginNotInCenter(const MsgSymbolOriginNotInCenter &other) noexcept
Definition symbolcheckmessages.h:169
const Point & getCenter() const noexcept
Definition symbolcheckmessages.h:174
The MsgSymbolPinNotOnGrid class.
Definition symbolcheckmessages.h:219
virtual ~MsgSymbolPinNotOnGrid() noexcept
Definition symbolcheckmessages.h:231
PositiveLength mGridInterval
Definition symbolcheckmessages.h:243
const PositiveLength & getGridInterval() const noexcept
Definition symbolcheckmessages.h:237
MsgSymbolPinNotOnGrid()=delete
MsgSymbolPinNotOnGrid(const MsgSymbolPinNotOnGrid &other) noexcept
Definition symbolcheckmessages.h:227
std::shared_ptr< const SymbolPin > mPin
Definition symbolcheckmessages.h:242
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition symbolcheckmessages.h:234
The MsgWrongSymbolTextLayer class.
Definition symbolcheckmessages.h:253
virtual ~MsgWrongSymbolTextLayer() noexcept
Definition symbolcheckmessages.h:265
MsgWrongSymbolTextLayer(const MsgWrongSymbolTextLayer &other) noexcept
Definition symbolcheckmessages.h:261
const Layer & getExpectedLayer() const noexcept
Definition symbolcheckmessages.h:269
MsgWrongSymbolTextLayer()=delete
std::shared_ptr< const Text > getText() const noexcept
Definition symbolcheckmessages.h:268
std::shared_ptr< const Text > mText
Definition symbolcheckmessages.h:272
const Layer * mExpectedLayer
Definition symbolcheckmessages.h:273
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The RuleCheckMessage class.
Definition rulecheckmessage.h:45
RuleCheckMessage()=delete
The SymbolPin class represents one pin of a symbol.
Definition symbolpin.h:51
Definition occmodel.cpp:77
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810