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;
163 QVector<std::shared_ptr<const SymbolPin>> pins)
noexcept;
169 const QVector<std::shared_ptr<const SymbolPin>>&
getPins() const noexcept {
175 const QVector<std::shared_ptr<const SymbolPin>>& pins)
noexcept;
178 QVector<std::shared_ptr<const SymbolPin>>
mPins;
203 const std::shared_ptr<const SymbolPin>&
getPin() const noexcept {
211 std::shared_ptr<const SymbolPin>
mPin;
229 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 MsgMissingSymbolName class.
Definition: symbolcheckmessages.h:66
MsgMissingSymbolName(const MsgMissingSymbolName &other) noexcept
Definition: symbolcheckmessages.h:72
virtual ~MsgMissingSymbolName() noexcept
Definition: symbolcheckmessages.h:74
MsgMissingSymbolName() noexcept
Definition: symbolcheckmessages.cpp:55
The MsgMissingSymbolValue class.
Definition: symbolcheckmessages.h:84
virtual ~MsgMissingSymbolValue() noexcept
Definition: symbolcheckmessages.h:92
MsgMissingSymbolValue(const MsgMissingSymbolValue &other) noexcept
Definition: symbolcheckmessages.h:90
MsgMissingSymbolValue() noexcept
Definition: symbolcheckmessages.cpp:69
The MsgNonFunctionalSymbolPinInversionSign class.
Definition: symbolcheckmessages.h:102
MsgNonFunctionalSymbolPinInversionSign()=delete
virtual ~MsgNonFunctionalSymbolPinInversionSign() noexcept
Definition: symbolcheckmessages.h:113
MsgNonFunctionalSymbolPinInversionSign(const MsgNonFunctionalSymbolPinInversionSign &other) noexcept
Definition: symbolcheckmessages.h:110
std::shared_ptr< const SymbolPin > mPin
Definition: symbolcheckmessages.h:121
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition: symbolcheckmessages.h:116
The MsgOverlappingSymbolPins class.
Definition: symbolcheckmessages.h:156
const QVector< std::shared_ptr< const SymbolPin > > & getPins() const noexcept
Definition: symbolcheckmessages.h:169
QVector< std::shared_ptr< const SymbolPin > > mPins
Definition: symbolcheckmessages.h:178
virtual ~MsgOverlappingSymbolPins() noexcept
Definition: symbolcheckmessages.h:166
MsgOverlappingSymbolPins()=delete
MsgOverlappingSymbolPins(const MsgOverlappingSymbolPins &other) noexcept
Definition: symbolcheckmessages.h:164
static QString buildMessage(const QVector< std::shared_ptr< const SymbolPin > > &pins) noexcept
Definition: symbolcheckmessages.cpp:144
The MsgSymbolOriginNotInCenter class.
Definition: symbolcheckmessages.h:131
virtual ~MsgSymbolOriginNotInCenter() noexcept
Definition: symbolcheckmessages.h:140
const Point mCenter
Definition: symbolcheckmessages.h:146
MsgSymbolOriginNotInCenter()=delete
MsgSymbolOriginNotInCenter(const MsgSymbolOriginNotInCenter &other) noexcept
Definition: symbolcheckmessages.h:138
const Point & getCenter() const noexcept
Definition: symbolcheckmessages.h:143
The MsgSymbolPinNotOnGrid class.
Definition: symbolcheckmessages.h:188
virtual ~MsgSymbolPinNotOnGrid() noexcept
Definition: symbolcheckmessages.h:200
PositiveLength mGridInterval
Definition: symbolcheckmessages.h:212
const PositiveLength & getGridInterval() const noexcept
Definition: symbolcheckmessages.h:206
MsgSymbolPinNotOnGrid()=delete
MsgSymbolPinNotOnGrid(const MsgSymbolPinNotOnGrid &other) noexcept
Definition: symbolcheckmessages.h:196
std::shared_ptr< const SymbolPin > mPin
Definition: symbolcheckmessages.h:211
const std::shared_ptr< const SymbolPin > & getPin() const noexcept
Definition: symbolcheckmessages.h:203
The MsgWrongSymbolTextLayer class.
Definition: symbolcheckmessages.h:222
virtual ~MsgWrongSymbolTextLayer() noexcept
Definition: symbolcheckmessages.h:234
MsgWrongSymbolTextLayer(const MsgWrongSymbolTextLayer &other) noexcept
Definition: symbolcheckmessages.h:230
const Layer & getExpectedLayer() const noexcept
Definition: symbolcheckmessages.h:238
MsgWrongSymbolTextLayer()=delete
std::shared_ptr< const Text > getText() const noexcept
Definition: symbolcheckmessages.h:237
std::shared_ptr< const Text > mText
Definition: symbolcheckmessages.h:241
const Layer * mExpectedLayer
Definition: symbolcheckmessages.h:242
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
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:812