20 #ifndef LIBREPCB_CORE_SYMBOLCHECKMESSAGES_H 21 #define LIBREPCB_CORE_SYMBOLCHECKMESSAGES_H 26 #include "../../rulecheck/rulecheckmessage.h" 27 #include "../../types/length.h" 109 std::shared_ptr<const SymbolPin> pin) noexcept;
116 const std::shared_ptr<const SymbolPin>&
getPin() const noexcept {
121 std::shared_ptr<const SymbolPin>
mPin;
138 QVector<std::shared_ptr<const SymbolPin>> pins) noexcept;
144 const QVector<std::shared_ptr<const SymbolPin>>&
getPins() const noexcept {
149 static QString buildMessage(
150 const QVector<std::shared_ptr<const SymbolPin>>& pins) noexcept;
153 QVector<std::shared_ptr<const SymbolPin>>
mPins;
174 mGridInterval(other.mGridInterval) {}
178 const std::shared_ptr<const SymbolPin>&
getPin() const noexcept {
182 return mGridInterval;
186 std::shared_ptr<const SymbolPin>
mPin;
204 const Layer& expectedLayer) noexcept;
208 mExpectedLayer(other.mExpectedLayer) {}
212 std::shared_ptr<const Text>
getText() const noexcept {
return mText; }
The MsgMissingSymbolName class.
Definition: symbolcheckmessages.h:66
MsgDuplicatePinName()=delete
The MsgSymbolPinNotOnGrid class.
Definition: symbolcheckmessages.h:163
MsgMissingSymbolValue(const MsgMissingSymbolValue &other) noexcept
Definition: symbolcheckmessages.h:90
The MsgMissingSymbolValue class.
Definition: symbolcheckmessages.h:84
std::shared_ptr< const SymbolPin > mPin
Definition: symbolcheckmessages.h:186
virtual ~MsgNonFunctionalSymbolPinInversionSign() noexcept
Definition: symbolcheckmessages.h:113
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition: symbolcheckmessages.h:116
RuleCheckMessage()=delete
Definition: occmodel.cpp:76
MsgOverlappingSymbolPins(const MsgOverlappingSymbolPins &other) noexcept
Definition: symbolcheckmessages.h:139
std::shared_ptr< const Text > mText
Definition: symbolcheckmessages.h:216
The Layer class provides all supported geometry layers.
Definition: layer.h:40
PositiveLength mGridInterval
Definition: symbolcheckmessages.h:187
virtual ~MsgSymbolPinNotOnGrid() noexcept
Definition: symbolcheckmessages.h:175
QVector< std::shared_ptr< const SymbolPin > > mPins
Definition: symbolcheckmessages.h:153
std::shared_ptr< const SymbolPin > mPin
Definition: symbolcheckmessages.h:121
std::shared_ptr< const Text > getText() const noexcept
Definition: symbolcheckmessages.h:212
virtual ~MsgOverlappingSymbolPins() noexcept
Definition: symbolcheckmessages.h:141
const QVector< std::shared_ptr< const SymbolPin > > & getPins() const noexcept
Definition: symbolcheckmessages.h:144
The MsgDuplicatePinName class.
Definition: symbolcheckmessages.h:47
The MsgNonFunctionalSymbolPinInversionSign class.
Definition: symbolcheckmessages.h:102
const Layer * mExpectedLayer
Definition: symbolcheckmessages.h:217
const PositiveLength & getGridInterval() const noexcept
Definition: symbolcheckmessages.h:181
MsgSymbolPinNotOnGrid(const MsgSymbolPinNotOnGrid &other) noexcept
Definition: symbolcheckmessages.h:171
MsgMissingSymbolName(const MsgMissingSymbolName &other) noexcept
Definition: symbolcheckmessages.h:72
MsgDuplicatePinName(const MsgDuplicatePinName &other) noexcept
Definition: symbolcheckmessages.h:54
The SymbolPin class represents one pin of a symbol.
Definition: symbolpin.h:51
The MsgWrongSymbolTextLayer class.
Definition: symbolcheckmessages.h:197
virtual ~MsgMissingSymbolValue() noexcept
Definition: symbolcheckmessages.h:92
virtual ~MsgMissingSymbolName() noexcept
Definition: symbolcheckmessages.h:74
MsgWrongSymbolTextLayer(const MsgWrongSymbolTextLayer &other) noexcept
Definition: symbolcheckmessages.h:205
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition: length.h:785
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition: symbolcheckmessages.h:178
The RuleCheckMessage class.
Definition: rulecheckmessage.h:45
const Layer & getExpectedLayer() const noexcept
Definition: symbolcheckmessages.h:213
virtual ~MsgWrongSymbolTextLayer() noexcept
Definition: symbolcheckmessages.h:209
MsgNonFunctionalSymbolPinInversionSign(const MsgNonFunctionalSymbolPinInversionSign &other) noexcept
Definition: symbolcheckmessages.h:110
virtual ~MsgDuplicatePinName() noexcept
Definition: symbolcheckmessages.h:56
The MsgOverlappingSymbolPins class.
Definition: symbolcheckmessages.h:131