LibrePCB Developers Documentation
packagecheckmessages.h
Go to the documentation of this file.
1/*
2 * LibrePCB - Professional EDA for everyone!
3 * Copyright (C) 2013 LibrePCB Developers, see AUTHORS.md for contributors.
4 * https://librepcb.org/
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef LIBREPCB_CORE_PACKAGECHECKMESSAGES_H
21#define LIBREPCB_CORE_PACKAGECHECKMESSAGES_H
22
23/*******************************************************************************
24 * Includes
25 ******************************************************************************/
26#include "../../rulecheck/rulecheckmessage.h"
27#include "../../types/length.h"
28
29#include <QtCore>
30
31/*******************************************************************************
32 * Namespace / Forward Declarations
33 ******************************************************************************/
34namespace librepcb {
35
36class Circle;
37class Footprint;
38class FootprintPad;
39class Hole;
40class Layer;
41class PackagePad;
42class Polygon;
43class StrokeText;
44class Zone;
45
46/*******************************************************************************
47 * Class MsgDeprecatedAssemblyType
48 ******************************************************************************/
49
54 Q_DECLARE_TR_FUNCTIONS(MsgDeprecatedAssemblyType)
55
56public:
57 // Constructors / Destructor
60 : RuleCheckMessage(other) {}
61 virtual ~MsgDeprecatedAssemblyType() noexcept {}
62};
63
64/*******************************************************************************
65 * Class MsgSuspiciousAssemblyType
66 ******************************************************************************/
67
72 Q_DECLARE_TR_FUNCTIONS(MsgSuspiciousAssemblyType)
73
74public:
75 // Constructors / Destructor
78 : RuleCheckMessage(other) {}
79 virtual ~MsgSuspiciousAssemblyType() noexcept {}
80};
81
82/*******************************************************************************
83 * Class MsgDuplicatePadName
84 ******************************************************************************/
85
90 Q_DECLARE_TR_FUNCTIONS(MsgDuplicatePadName)
91
92public:
93 // Constructors / Destructor
95 explicit MsgDuplicatePadName(const PackagePad& pad) noexcept;
97 : RuleCheckMessage(other) {}
98 virtual ~MsgDuplicatePadName() noexcept {}
99};
100
101/*******************************************************************************
102 * Class MsgFiducialClearanceLessThanStopMask
103 ******************************************************************************/
104
109 Q_DECLARE_TR_FUNCTIONS(MsgFiducialClearanceLessThanStopMask)
110
111public:
112 // Constructors / Destructor
115 std::shared_ptr<const Footprint> footprint,
116 std::shared_ptr<const FootprintPad> pad) noexcept;
118 const MsgFiducialClearanceLessThanStopMask& other) noexcept
119 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
121
122 // Getters
123 std::shared_ptr<const Footprint> getFootprint() const noexcept {
124 return mFootprint;
125 }
126 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
127
128private:
129 std::shared_ptr<const Footprint> mFootprint;
130 std::shared_ptr<const FootprintPad> mPad;
131};
132
133/*******************************************************************************
134 * Class MsgFiducialStopMaskNotSet
135 ******************************************************************************/
136
141 Q_DECLARE_TR_FUNCTIONS(MsgFiducialStopMaskNotSet)
142
143public:
144 // Constructors / Destructor
146 MsgFiducialStopMaskNotSet(std::shared_ptr<const Footprint> footprint,
147 std::shared_ptr<const FootprintPad> pad) noexcept;
149 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
150 virtual ~MsgFiducialStopMaskNotSet() noexcept {}
151
152 // Getters
153 std::shared_ptr<const Footprint> getFootprint() const noexcept {
154 return mFootprint;
155 }
156 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
157
158private:
159 std::shared_ptr<const Footprint> mFootprint;
160 std::shared_ptr<const FootprintPad> mPad;
161};
162
163/*******************************************************************************
164 * Class MsgHoleWithoutStopMask
165 ******************************************************************************/
166
171 Q_DECLARE_TR_FUNCTIONS(MsgHoleWithoutStopMask)
172
173public:
174 // Constructors / Destructor
176 MsgHoleWithoutStopMask(std::shared_ptr<const Footprint> footprint,
177 std::shared_ptr<const Hole> hole) noexcept;
179 : RuleCheckMessage(other),
180 mFootprint(other.mFootprint),
181 mHole(other.mHole) {}
182 virtual ~MsgHoleWithoutStopMask() noexcept {}
183
184 // Getters
185 std::shared_ptr<const Footprint> getFootprint() const noexcept {
186 return mFootprint;
187 }
188 std::shared_ptr<const Hole> getHole() const noexcept { return mHole; }
189
190private:
191 std::shared_ptr<const Footprint> mFootprint;
192 std::shared_ptr<const Hole> mHole;
193};
194
195/*******************************************************************************
196 * Class MsgInvalidCustomPadOutline
197 ******************************************************************************/
198
203 Q_DECLARE_TR_FUNCTIONS(MsgInvalidCustomPadOutline)
204
205public:
206 // Constructors / Destructor
208 MsgInvalidCustomPadOutline(std::shared_ptr<const Footprint> footprint,
209 std::shared_ptr<const FootprintPad> pad,
210 const QString& pkgPadName) noexcept;
212 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
213 virtual ~MsgInvalidCustomPadOutline() noexcept {}
214
215 // Getters
216 std::shared_ptr<const Footprint> getFootprint() const noexcept {
217 return mFootprint;
218 }
219 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
220
221private:
222 std::shared_ptr<const Footprint> mFootprint;
223 std::shared_ptr<const FootprintPad> mPad;
224};
225
226/*******************************************************************************
227 * Class MsgInvalidPadConnection
228 ******************************************************************************/
229
234 Q_DECLARE_TR_FUNCTIONS(MsgInvalidPadConnection)
235
236public:
237 // Constructors / Destructor
239 MsgInvalidPadConnection(std::shared_ptr<const Footprint> footprint,
240 std::shared_ptr<const FootprintPad> pad) noexcept;
242 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
243 virtual ~MsgInvalidPadConnection() noexcept {}
244
245 // Getters
246 std::shared_ptr<const Footprint> getFootprint() const noexcept {
247 return mFootprint;
248 }
249 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
250
251private:
252 std::shared_ptr<const Footprint> mFootprint;
253 std::shared_ptr<const FootprintPad> mPad;
254};
255
256/*******************************************************************************
257 * Class MsgMinimumWidthViolation
258 ******************************************************************************/
259
264 Q_DECLARE_TR_FUNCTIONS(MsgMinimumWidthViolation)
265
266public:
267 // Constructors / Destructor
269 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
270 std::shared_ptr<const Polygon> polygon,
271 const Length& minWidth) noexcept;
272 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
273 std::shared_ptr<const Circle> circle,
274 const Length& minWidth) noexcept;
275 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
276 std::shared_ptr<const StrokeText> text,
277 const Length& minWidth) noexcept;
279 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
280 virtual ~MsgMinimumWidthViolation() noexcept {}
281
282 // Getters
283 std::shared_ptr<const Footprint> getFootprint() const noexcept {
284 return mFootprint;
285 }
286 std::shared_ptr<const Polygon> getPolygon() const noexcept {
287 return mPolygon;
288 }
289 std::shared_ptr<const Circle> getCircle() const noexcept { return mCircle; }
290 std::shared_ptr<const StrokeText> getStrokeText() const noexcept {
291 return mStrokeText;
292 }
293
294private:
295 static QString getMessage(std::shared_ptr<const Footprint> footprint,
296 const Layer& layer) noexcept;
297 static QString getDescriptionAppendix() noexcept;
298
299 std::shared_ptr<const Footprint> mFootprint;
300 std::shared_ptr<const Polygon> mPolygon;
301 std::shared_ptr<const Circle> mCircle;
302 std::shared_ptr<const StrokeText> mStrokeText;
303};
304
305/*******************************************************************************
306 * Class MsgMissingCourtyard
307 ******************************************************************************/
308
313 Q_DECLARE_TR_FUNCTIONS(MsgMissingCourtyard)
314
315public:
316 // Constructors / Destructor
318 explicit MsgMissingCourtyard(
319 std::shared_ptr<const Footprint> footprint) noexcept;
321 : RuleCheckMessage(other) {}
322 virtual ~MsgMissingCourtyard() noexcept {}
323
324 // Getters
325 std::shared_ptr<const Footprint> getFootprint() const noexcept {
326 return mFootprint;
327 }
328
329private:
330 std::shared_ptr<const Footprint> mFootprint;
331};
332
333/*******************************************************************************
334 * Class MsgMissingFootprint
335 ******************************************************************************/
336
341 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprint)
342
343public:
344 // Constructors / Destructor
345 MsgMissingFootprint() noexcept;
347 : RuleCheckMessage(other) {}
348 virtual ~MsgMissingFootprint() noexcept {}
349};
350
351/*******************************************************************************
352 * Class MsgMissingFootprintModel
353 ******************************************************************************/
354
359 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintModel)
360
361public:
362 // Constructors / Destructor
364 MsgMissingFootprintModel(std::shared_ptr<const Footprint> footprint) noexcept;
366 : RuleCheckMessage(other) {}
367 virtual ~MsgMissingFootprintModel() noexcept {}
368};
369
370/*******************************************************************************
371 * Class MsgMissingFootprintName
372 ******************************************************************************/
373
378 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintName)
379
380public:
381 // Constructors / Destructor
384 std::shared_ptr<const Footprint> footprint) noexcept;
386 : RuleCheckMessage(other) {}
387 virtual ~MsgMissingFootprintName() noexcept {}
388
389 // Getters
390 std::shared_ptr<const Footprint> getFootprint() const noexcept {
391 return mFootprint;
392 }
393
394private:
395 std::shared_ptr<const Footprint> mFootprint;
396};
397
398/*******************************************************************************
399 * Class MsgMissingFootprintValue
400 ******************************************************************************/
401
406 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintValue)
407
408public:
409 // Constructors / Destructor
412 std::shared_ptr<const Footprint> footprint) noexcept;
414 : RuleCheckMessage(other) {}
415 virtual ~MsgMissingFootprintValue() noexcept {}
416
417 // Getters
418 std::shared_ptr<const Footprint> getFootprint() const noexcept {
419 return mFootprint;
420 }
421
422private:
423 std::shared_ptr<const Footprint> mFootprint;
424};
425
426/*******************************************************************************
427 * Class MsgMissingPackageOutline
428 ******************************************************************************/
429
434 Q_DECLARE_TR_FUNCTIONS(MsgMissingPackageOutline)
435
436public:
437 // Constructors / Destructor
440 std::shared_ptr<const Footprint> footprint) noexcept;
442 : RuleCheckMessage(other) {}
443 virtual ~MsgMissingPackageOutline() noexcept {}
444
445 // Getters
446 std::shared_ptr<const Footprint> getFootprint() const noexcept {
447 return mFootprint;
448 }
449
450private:
451 std::shared_ptr<const Footprint> mFootprint;
452};
453
454/*******************************************************************************
455 * Class MsgOverlappingPads
456 ******************************************************************************/
457
462 Q_DECLARE_TR_FUNCTIONS(MsgOverlappingPads)
463
464public:
465 // Constructors / Destructor
467 MsgOverlappingPads(std::shared_ptr<const Footprint> footprint,
468 std::shared_ptr<const FootprintPad> pad1,
469 const QString& pkgPad1Name,
470 std::shared_ptr<const FootprintPad> pad2,
471 const QString& pkgPad2Name) noexcept;
473 : RuleCheckMessage(other),
474 mFootprint(other.mFootprint),
475 mPad1(other.mPad1),
476 mPad2(other.mPad2) {}
477 virtual ~MsgOverlappingPads() noexcept {}
478
479 // Getters
480 std::shared_ptr<const Footprint> getFootprint() const noexcept {
481 return mFootprint;
482 }
483 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
484 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
485
486private:
487 std::shared_ptr<const Footprint> mFootprint;
488 std::shared_ptr<const FootprintPad> mPad1;
489 std::shared_ptr<const FootprintPad> mPad2;
490};
491
492/*******************************************************************************
493 * Class MsgPadAnnularRingViolation
494 ******************************************************************************/
495
500 Q_DECLARE_TR_FUNCTIONS(MsgPadAnnularRingViolation)
501
502public:
503 // Constructors / Destructor
505 MsgPadAnnularRingViolation(std::shared_ptr<const Footprint> footprint,
506 std::shared_ptr<const FootprintPad> pad,
507 const QString& pkgPadName,
508 const Length& annularRing) noexcept;
510 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
511 virtual ~MsgPadAnnularRingViolation() noexcept {}
512
513 // Getters
514 std::shared_ptr<const Footprint> getFootprint() const noexcept {
515 return mFootprint;
516 }
517 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
518
519private:
520 std::shared_ptr<const Footprint> mFootprint;
521 std::shared_ptr<const FootprintPad> mPad;
522};
523
524/*******************************************************************************
525 * Class MsgPadClearanceViolation
526 ******************************************************************************/
527
532 Q_DECLARE_TR_FUNCTIONS(MsgPadClearanceViolation)
533
534public:
535 // Constructors / Destructor
537 MsgPadClearanceViolation(std::shared_ptr<const Footprint> footprint,
538 std::shared_ptr<const FootprintPad> pad1,
539 const QString& pkgPad1Name,
540 std::shared_ptr<const FootprintPad> pad2,
541 const QString& pkgPad2Name,
542 const Length& clearance) noexcept;
544 : RuleCheckMessage(other),
545 mFootprint(other.mFootprint),
546 mPad1(other.mPad1),
547 mPad2(other.mPad2) {}
548 virtual ~MsgPadClearanceViolation() noexcept {}
549
550 // Getters
551 std::shared_ptr<const Footprint> getFootprint() const noexcept {
552 return mFootprint;
553 }
554 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
555 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
556
557private:
558 std::shared_ptr<const Footprint> mFootprint;
559 std::shared_ptr<const FootprintPad> mPad1;
560 std::shared_ptr<const FootprintPad> mPad2;
561};
562
563/*******************************************************************************
564 * Class MsgPadHoleOutsideCopper
565 ******************************************************************************/
566
571 Q_DECLARE_TR_FUNCTIONS(MsgPadHoleOutsideCopper)
572
573public:
574 // Constructors / Destructor
576 MsgPadHoleOutsideCopper(std::shared_ptr<const Footprint> footprint,
577 std::shared_ptr<const FootprintPad> pad,
578 const QString& pkgPadName) noexcept;
580 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
581 virtual ~MsgPadHoleOutsideCopper() noexcept {}
582
583 // Getters
584 std::shared_ptr<const Footprint> getFootprint() const noexcept {
585 return mFootprint;
586 }
587 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
588
589private:
590 std::shared_ptr<const Footprint> mFootprint;
591 std::shared_ptr<const FootprintPad> mPad;
592};
593
594/*******************************************************************************
595 * Class MsgPadOriginOutsideCopper
596 ******************************************************************************/
597
602 Q_DECLARE_TR_FUNCTIONS(MsgPadOriginOutsideCopper)
603
604public:
605 // Constructors / Destructor
607 MsgPadOriginOutsideCopper(std::shared_ptr<const Footprint> footprint,
608 std::shared_ptr<const FootprintPad> pad,
609 const QString& pkgPadName) noexcept;
611 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
612 virtual ~MsgPadOriginOutsideCopper() noexcept {}
613
614 // Getters
615 std::shared_ptr<const Footprint> getFootprint() const noexcept {
616 return mFootprint;
617 }
618 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
619
620private:
621 std::shared_ptr<const Footprint> mFootprint;
622 std::shared_ptr<const FootprintPad> mPad;
623};
624
625/*******************************************************************************
626 * Class MsgPadOverlapsWithLegend
627 ******************************************************************************/
628
633 Q_DECLARE_TR_FUNCTIONS(MsgPadOverlapsWithLegend)
634
635public:
636 // Constructors / Destructor
638 MsgPadOverlapsWithLegend(std::shared_ptr<const Footprint> footprint,
639 std::shared_ptr<const FootprintPad> pad,
640 const QString& pkgPadName,
641 const Length& clearance) noexcept;
643 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
644 virtual ~MsgPadOverlapsWithLegend() noexcept {}
645
646 // Getters
647 std::shared_ptr<const Footprint> getFootprint() const noexcept {
648 return mFootprint;
649 }
650 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
651
652private:
653 std::shared_ptr<const Footprint> mFootprint;
654 std::shared_ptr<const FootprintPad> mPad;
655};
656
657/*******************************************************************************
658 * Class MsgPadStopMaskOff
659 ******************************************************************************/
660
665 Q_DECLARE_TR_FUNCTIONS(MsgPadStopMaskOff)
666
667public:
668 // Constructors / Destructor
670 MsgPadStopMaskOff(std::shared_ptr<const Footprint> footprint,
671 std::shared_ptr<const FootprintPad> pad,
672 const QString& pkgPadName) noexcept;
674 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
675 virtual ~MsgPadStopMaskOff() noexcept {}
676
677 // Getters
678 std::shared_ptr<const Footprint> getFootprint() const noexcept {
679 return mFootprint;
680 }
681 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
682
683private:
684 std::shared_ptr<const Footprint> mFootprint;
685 std::shared_ptr<const FootprintPad> mPad;
686};
687
688/*******************************************************************************
689 * Class MsgPadWithCopperClearance
690 ******************************************************************************/
691
696 Q_DECLARE_TR_FUNCTIONS(MsgPadWithCopperClearance)
697
698public:
699 // Constructors / Destructor
701 MsgPadWithCopperClearance(std::shared_ptr<const Footprint> footprint,
702 std::shared_ptr<const FootprintPad> pad,
703 const QString& pkgPadName) noexcept;
705 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
706 virtual ~MsgPadWithCopperClearance() noexcept {}
707
708 // Getters
709 std::shared_ptr<const Footprint> getFootprint() const noexcept {
710 return mFootprint;
711 }
712 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
713
714private:
715 std::shared_ptr<const Footprint> mFootprint;
716 std::shared_ptr<const FootprintPad> mPad;
717};
718
719/*******************************************************************************
720 * Class MsgSmtPadWithSolderPaste
721 ******************************************************************************/
722
727 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithSolderPaste)
728
729public:
730 // Constructors / Destructor
732 MsgSmtPadWithSolderPaste(std::shared_ptr<const Footprint> footprint,
733 std::shared_ptr<const FootprintPad> pad,
734 const QString& pkgPadName) noexcept;
736 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
737 virtual ~MsgSmtPadWithSolderPaste() noexcept {}
738
739 // Getters
740 std::shared_ptr<const Footprint> getFootprint() const noexcept {
741 return mFootprint;
742 }
743 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
744
745private:
746 std::shared_ptr<const Footprint> mFootprint;
747 std::shared_ptr<const FootprintPad> mPad;
748};
749
750/*******************************************************************************
751 * Class MsgSmtPadWithoutSolderPaste
752 ******************************************************************************/
753
758 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithoutSolderPaste)
759
760public:
761 // Constructors / Destructor
763 MsgSmtPadWithoutSolderPaste(std::shared_ptr<const Footprint> footprint,
764 std::shared_ptr<const FootprintPad> pad,
765 const QString& pkgPadName) noexcept;
767 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
768 virtual ~MsgSmtPadWithoutSolderPaste() noexcept {}
769
770 // Getters
771 std::shared_ptr<const Footprint> getFootprint() const noexcept {
772 return mFootprint;
773 }
774 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
775
776private:
777 std::shared_ptr<const Footprint> mFootprint;
778 std::shared_ptr<const FootprintPad> mPad;
779};
780
781/*******************************************************************************
782 * Class MsgSuspiciousPadFunction
783 ******************************************************************************/
784
789 Q_DECLARE_TR_FUNCTIONS(MsgSuspiciousPadFunction)
790
791public:
792 // Constructors / Destructor
793 MsgSuspiciousPadFunction(std::shared_ptr<const Footprint> footprint,
794 std::shared_ptr<const FootprintPad> pad,
795 const QString& pkgPadName) noexcept;
797 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
798 virtual ~MsgSuspiciousPadFunction() noexcept {}
799
800 // Getters
801 std::shared_ptr<const Footprint> getFootprint() const noexcept {
802 return mFootprint;
803 }
804 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
805
806private:
807 std::shared_ptr<const Footprint> mFootprint;
808 std::shared_ptr<const FootprintPad> mPad;
809};
810
811/*******************************************************************************
812 * Class MsgThtPadWithSolderPaste
813 ******************************************************************************/
814
819 Q_DECLARE_TR_FUNCTIONS(MsgThtPadWithSolderPaste)
820
821public:
822 // Constructors / Destructor
824 MsgThtPadWithSolderPaste(std::shared_ptr<const Footprint> footprint,
825 std::shared_ptr<const FootprintPad> pad,
826 const QString& pkgPadName) noexcept;
828 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
829 virtual ~MsgThtPadWithSolderPaste() noexcept {}
830
831 // Getters
832 std::shared_ptr<const Footprint> getFootprint() const noexcept {
833 return mFootprint;
834 }
835 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
836
837private:
838 std::shared_ptr<const Footprint> mFootprint;
839 std::shared_ptr<const FootprintPad> mPad;
840};
841
842/*******************************************************************************
843 * Class MsgUnspecifiedPadFunction
844 ******************************************************************************/
845
850 Q_DECLARE_TR_FUNCTIONS(MsgUnspecifiedPadFunction)
851
852public:
853 // Constructors / Destructor
854 MsgUnspecifiedPadFunction(std::shared_ptr<const Footprint> footprint,
855 std::shared_ptr<const FootprintPad> pad,
856 const QString& pkgPadName) noexcept;
858 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
859 virtual ~MsgUnspecifiedPadFunction() noexcept {}
860
861 // Getters
862 std::shared_ptr<const Footprint> getFootprint() const noexcept {
863 return mFootprint;
864 }
865 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
866
867private:
868 std::shared_ptr<const Footprint> mFootprint;
869 std::shared_ptr<const FootprintPad> mPad;
870};
871
872/*******************************************************************************
873 * Class MsgUnusedCustomPadOutline
874 ******************************************************************************/
875
880 Q_DECLARE_TR_FUNCTIONS(MsgUnusedCustomPadOutline)
881
882public:
883 // Constructors / Destructor
885 MsgUnusedCustomPadOutline(std::shared_ptr<const Footprint> footprint,
886 std::shared_ptr<const FootprintPad> pad,
887 const QString& pkgPadName) noexcept;
889 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
890 virtual ~MsgUnusedCustomPadOutline() noexcept {}
891
892 // Getters
893 std::shared_ptr<const Footprint> getFootprint() const noexcept {
894 return mFootprint;
895 }
896 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
897
898private:
899 std::shared_ptr<const Footprint> mFootprint;
900 std::shared_ptr<const FootprintPad> mPad;
901};
902
903/*******************************************************************************
904 * Class MsgUselessZone
905 ******************************************************************************/
906
910class MsgUselessZone final : public RuleCheckMessage {
911 Q_DECLARE_TR_FUNCTIONS(MsgUselessZone)
912
913public:
914 // Constructors / Destructor
915 MsgUselessZone() = delete;
916 MsgUselessZone(std::shared_ptr<const Footprint> footprint,
917 std::shared_ptr<const Zone> zone) noexcept;
918 MsgUselessZone(const MsgUselessZone& other) noexcept
919 : RuleCheckMessage(other),
920 mFootprint(other.mFootprint),
921 mZone(other.mZone) {}
922 virtual ~MsgUselessZone() noexcept {}
923
924 // Getters
925 std::shared_ptr<const Footprint> getFootprint() const noexcept {
926 return mFootprint;
927 }
928 std::shared_ptr<const Zone> getZone() const noexcept { return mZone; }
929
930private:
931 std::shared_ptr<const Footprint> mFootprint;
932 std::shared_ptr<const Zone> mZone;
933};
934
935/*******************************************************************************
936 * Class MsgWrongFootprintTextLayer
937 ******************************************************************************/
938
943 Q_DECLARE_TR_FUNCTIONS(MsgWrongFootprintTextLayer)
944
945public:
946 // Constructors / Destructor
948 MsgWrongFootprintTextLayer(std::shared_ptr<const Footprint> footprint,
949 std::shared_ptr<const StrokeText> text,
950 const Layer& expectedLayer) noexcept;
952 : RuleCheckMessage(other),
953 mFootprint(other.mFootprint),
954 mText(other.mText),
955 mExpectedLayer(other.mExpectedLayer) {}
956 virtual ~MsgWrongFootprintTextLayer() noexcept {}
957
958 // Getters
959 std::shared_ptr<const Footprint> getFootprint() const noexcept {
960 return mFootprint;
961 }
962 std::shared_ptr<const StrokeText> getText() const noexcept { return mText; }
963 const Layer& getExpectedLayer() const noexcept { return *mExpectedLayer; }
964
965private:
966 std::shared_ptr<const Footprint> mFootprint;
967 std::shared_ptr<const StrokeText> mText;
969};
970
971/*******************************************************************************
972 * End of File
973 ******************************************************************************/
974
975} // namespace librepcb
976
977#endif
The Circle class.
Definition: circle.h:46
The Footprint class represents one footprint variant of a package.
Definition: footprint.h:55
The Layer class provides all supported geometry layers.
Definition: layer.h:40
The Length class is used to represent a length (for example 12.75 millimeters)
Definition: length.h:83
The MsgDeprecatedAssemblyType class.
Definition: packagecheckmessages.h:53
MsgDeprecatedAssemblyType(const MsgDeprecatedAssemblyType &other) noexcept
Definition: packagecheckmessages.h:59
MsgDeprecatedAssemblyType() noexcept
Definition: packagecheckmessages.cpp:39
virtual ~MsgDeprecatedAssemblyType() noexcept
Definition: packagecheckmessages.h:61
The MsgDuplicatePadName class.
Definition: packagecheckmessages.h:89
virtual ~MsgDuplicatePadName() noexcept
Definition: packagecheckmessages.h:98
MsgDuplicatePadName(const MsgDuplicatePadName &other) noexcept
Definition: packagecheckmessages.h:96
The MsgFiducialClearanceLessThanStopMask class.
Definition: packagecheckmessages.h:108
virtual ~MsgFiducialClearanceLessThanStopMask() noexcept
Definition: packagecheckmessages.h:120
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:123
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:130
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:126
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:129
MsgFiducialClearanceLessThanStopMask(const MsgFiducialClearanceLessThanStopMask &other) noexcept
Definition: packagecheckmessages.h:117
The MsgFiducialStopMaskNotSet class.
Definition: packagecheckmessages.h:140
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:153
virtual ~MsgFiducialStopMaskNotSet() noexcept
Definition: packagecheckmessages.h:150
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:160
MsgFiducialStopMaskNotSet(const MsgFiducialStopMaskNotSet &other) noexcept
Definition: packagecheckmessages.h:148
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:156
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:159
The MsgHoleWithoutStopMask class.
Definition: packagecheckmessages.h:170
std::shared_ptr< const Hole > mHole
Definition: packagecheckmessages.h:192
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:185
virtual ~MsgHoleWithoutStopMask() noexcept
Definition: packagecheckmessages.h:182
std::shared_ptr< const Hole > getHole() const noexcept
Definition: packagecheckmessages.h:188
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:191
MsgHoleWithoutStopMask(const MsgHoleWithoutStopMask &other) noexcept
Definition: packagecheckmessages.h:178
The MsgInvalidCustomPadOutline class.
Definition: packagecheckmessages.h:202
MsgInvalidCustomPadOutline(const MsgInvalidCustomPadOutline &other) noexcept
Definition: packagecheckmessages.h:211
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:216
virtual ~MsgInvalidCustomPadOutline() noexcept
Definition: packagecheckmessages.h:213
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:223
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:219
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:222
The MsgInvalidPadConnection class.
Definition: packagecheckmessages.h:233
MsgInvalidPadConnection(const MsgInvalidPadConnection &other) noexcept
Definition: packagecheckmessages.h:241
virtual ~MsgInvalidPadConnection() noexcept
Definition: packagecheckmessages.h:243
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:246
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:253
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:249
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:252
The MsgMinimumWidthViolation class.
Definition: packagecheckmessages.h:263
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:283
std::shared_ptr< const Polygon > mPolygon
Definition: packagecheckmessages.h:300
virtual ~MsgMinimumWidthViolation() noexcept
Definition: packagecheckmessages.h:280
static QString getDescriptionAppendix() noexcept
Definition: packagecheckmessages.cpp:271
std::shared_ptr< const Circle > getCircle() const noexcept
Definition: packagecheckmessages.h:289
MsgMinimumWidthViolation(const MsgMinimumWidthViolation &other) noexcept
Definition: packagecheckmessages.h:278
std::shared_ptr< const Polygon > getPolygon() const noexcept
Definition: packagecheckmessages.h:286
std::shared_ptr< const Circle > mCircle
Definition: packagecheckmessages.h:301
std::shared_ptr< const StrokeText > getStrokeText() const noexcept
Definition: packagecheckmessages.h:290
std::shared_ptr< const StrokeText > mStrokeText
Definition: packagecheckmessages.h:302
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:299
The MsgMissingCourtyard class.
Definition: packagecheckmessages.h:312
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:325
virtual ~MsgMissingCourtyard() noexcept
Definition: packagecheckmessages.h:322
MsgMissingCourtyard(const MsgMissingCourtyard &other) noexcept
Definition: packagecheckmessages.h:320
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:330
The MsgMissingFootprint class.
Definition: packagecheckmessages.h:340
MsgMissingFootprint(const MsgMissingFootprint &other) noexcept
Definition: packagecheckmessages.h:346
virtual ~MsgMissingFootprint() noexcept
Definition: packagecheckmessages.h:348
The MsgMissingFootprintModel class.
Definition: packagecheckmessages.h:358
virtual ~MsgMissingFootprintModel() noexcept
Definition: packagecheckmessages.h:367
MsgMissingFootprintModel(const MsgMissingFootprintModel &other) noexcept
Definition: packagecheckmessages.h:365
The MsgMissingFootprintName class.
Definition: packagecheckmessages.h:377
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:390
virtual ~MsgMissingFootprintName() noexcept
Definition: packagecheckmessages.h:387
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:395
MsgMissingFootprintName(const MsgMissingFootprintName &other) noexcept
Definition: packagecheckmessages.h:385
The MsgMissingFootprintValue class.
Definition: packagecheckmessages.h:405
MsgMissingFootprintValue(const MsgMissingFootprintValue &other) noexcept
Definition: packagecheckmessages.h:413
virtual ~MsgMissingFootprintValue() noexcept
Definition: packagecheckmessages.h:415
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:418
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:423
The MsgMissingPackageOutline class.
Definition: packagecheckmessages.h:433
MsgMissingPackageOutline(const MsgMissingPackageOutline &other) noexcept
Definition: packagecheckmessages.h:441
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:446
virtual ~MsgMissingPackageOutline() noexcept
Definition: packagecheckmessages.h:443
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:451
The MsgOverlappingPads class.
Definition: packagecheckmessages.h:461
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:480
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition: packagecheckmessages.h:483
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition: packagecheckmessages.h:484
virtual ~MsgOverlappingPads() noexcept
Definition: packagecheckmessages.h:477
MsgOverlappingPads(const MsgOverlappingPads &other) noexcept
Definition: packagecheckmessages.h:472
std::shared_ptr< const FootprintPad > mPad1
Definition: packagecheckmessages.h:488
std::shared_ptr< const FootprintPad > mPad2
Definition: packagecheckmessages.h:489
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:487
The MsgPadAnnularRingViolation class.
Definition: packagecheckmessages.h:499
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:514
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:521
MsgPadAnnularRingViolation(const MsgPadAnnularRingViolation &other) noexcept
Definition: packagecheckmessages.h:509
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:517
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:520
virtual ~MsgPadAnnularRingViolation() noexcept
Definition: packagecheckmessages.h:511
The MsgPadClearanceViolation class.
Definition: packagecheckmessages.h:531
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:551
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition: packagecheckmessages.h:554
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition: packagecheckmessages.h:555
virtual ~MsgPadClearanceViolation() noexcept
Definition: packagecheckmessages.h:548
MsgPadClearanceViolation(const MsgPadClearanceViolation &other) noexcept
Definition: packagecheckmessages.h:543
std::shared_ptr< const FootprintPad > mPad1
Definition: packagecheckmessages.h:559
std::shared_ptr< const FootprintPad > mPad2
Definition: packagecheckmessages.h:560
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:558
The MsgPadHoleOutsideCopper class.
Definition: packagecheckmessages.h:570
MsgPadHoleOutsideCopper(const MsgPadHoleOutsideCopper &other) noexcept
Definition: packagecheckmessages.h:579
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:584
virtual ~MsgPadHoleOutsideCopper() noexcept
Definition: packagecheckmessages.h:581
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:591
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:587
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:590
The MsgPadOriginOutsideCopper class.
Definition: packagecheckmessages.h:601
MsgPadOriginOutsideCopper(const MsgPadOriginOutsideCopper &other) noexcept
Definition: packagecheckmessages.h:610
virtual ~MsgPadOriginOutsideCopper() noexcept
Definition: packagecheckmessages.h:612
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:615
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:622
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:618
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:621
The MsgPadOverlapsWithLegend class.
Definition: packagecheckmessages.h:632
MsgPadOverlapsWithLegend(const MsgPadOverlapsWithLegend &other) noexcept
Definition: packagecheckmessages.h:642
virtual ~MsgPadOverlapsWithLegend() noexcept
Definition: packagecheckmessages.h:644
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:647
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:654
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:650
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:653
The MsgPadStopMaskOff class.
Definition: packagecheckmessages.h:664
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:678
virtual ~MsgPadStopMaskOff() noexcept
Definition: packagecheckmessages.h:675
MsgPadStopMaskOff(const MsgPadStopMaskOff &other) noexcept
Definition: packagecheckmessages.h:673
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:685
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:681
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:684
The MsgPadWithCopperClearance class.
Definition: packagecheckmessages.h:695
MsgPadWithCopperClearance(const MsgPadWithCopperClearance &other) noexcept
Definition: packagecheckmessages.h:704
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:709
virtual ~MsgPadWithCopperClearance() noexcept
Definition: packagecheckmessages.h:706
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:716
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:712
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:715
The MsgSmtPadWithSolderPaste class.
Definition: packagecheckmessages.h:726
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:740
virtual ~MsgSmtPadWithSolderPaste() noexcept
Definition: packagecheckmessages.h:737
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:747
MsgSmtPadWithSolderPaste(const MsgSmtPadWithSolderPaste &other) noexcept
Definition: packagecheckmessages.h:735
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:743
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:746
The MsgSmtPadWithoutSolderPaste class.
Definition: packagecheckmessages.h:757
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:771
virtual ~MsgSmtPadWithoutSolderPaste() noexcept
Definition: packagecheckmessages.h:768
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:778
MsgSmtPadWithoutSolderPaste(const MsgSmtPadWithoutSolderPaste &other) noexcept
Definition: packagecheckmessages.h:766
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:774
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:777
The MsgSuspiciousAssemblyType class.
Definition: packagecheckmessages.h:71
virtual ~MsgSuspiciousAssemblyType() noexcept
Definition: packagecheckmessages.h:79
MsgSuspiciousAssemblyType(const MsgSuspiciousAssemblyType &other) noexcept
Definition: packagecheckmessages.h:77
MsgSuspiciousAssemblyType() noexcept
Definition: packagecheckmessages.cpp:51
The MsgSuspiciousPadFunction class.
Definition: packagecheckmessages.h:788
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:801
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:808
MsgSuspiciousPadFunction(const MsgSuspiciousPadFunction &other) noexcept
Definition: packagecheckmessages.h:796
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:804
virtual ~MsgSuspiciousPadFunction() noexcept
Definition: packagecheckmessages.h:798
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:807
The MsgThtPadWithSolderPaste class.
Definition: packagecheckmessages.h:818
virtual ~MsgThtPadWithSolderPaste() noexcept
Definition: packagecheckmessages.h:829
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:832
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:839
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:835
MsgThtPadWithSolderPaste(const MsgThtPadWithSolderPaste &other) noexcept
Definition: packagecheckmessages.h:827
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:838
The MsgUnspecifiedPadFunction class.
Definition: packagecheckmessages.h:849
virtual ~MsgUnspecifiedPadFunction() noexcept
Definition: packagecheckmessages.h:859
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:862
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:869
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:865
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:868
MsgUnspecifiedPadFunction(const MsgUnspecifiedPadFunction &other) noexcept
Definition: packagecheckmessages.h:857
The MsgUnusedCustomPadOutline class.
Definition: packagecheckmessages.h:879
virtual ~MsgUnusedCustomPadOutline() noexcept
Definition: packagecheckmessages.h:890
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:893
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:900
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:896
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:899
MsgUnusedCustomPadOutline(const MsgUnusedCustomPadOutline &other) noexcept
Definition: packagecheckmessages.h:888
The MsgUselessZone class.
Definition: packagecheckmessages.h:910
MsgUselessZone(const MsgUselessZone &other) noexcept
Definition: packagecheckmessages.h:918
std::shared_ptr< const Zone > getZone() const noexcept
Definition: packagecheckmessages.h:928
std::shared_ptr< const Zone > mZone
Definition: packagecheckmessages.h:932
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:925
virtual ~MsgUselessZone() noexcept
Definition: packagecheckmessages.h:922
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:931
The MsgWrongFootprintTextLayer class.
Definition: packagecheckmessages.h:942
std::shared_ptr< const StrokeText > mText
Definition: packagecheckmessages.h:967
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:959
std::shared_ptr< const StrokeText > getText() const noexcept
Definition: packagecheckmessages.h:962
const Layer & getExpectedLayer() const noexcept
Definition: packagecheckmessages.h:963
virtual ~MsgWrongFootprintTextLayer() noexcept
Definition: packagecheckmessages.h:956
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:966
const Layer * mExpectedLayer
Definition: packagecheckmessages.h:968
MsgWrongFootprintTextLayer(const MsgWrongFootprintTextLayer &other) noexcept
Definition: packagecheckmessages.h:951
The PackagePad class represents one logical pad of a package.
Definition: packagepad.h:47
The Polygon class.
Definition: polygon.h:45
The RuleCheckMessage class.
Definition: rulecheckmessage.h:45
const QString & getMessage() const noexcept
Definition: rulecheckmessage.h:63
The StrokeText class.
Definition: stroketext.h:51
Definition: occmodel.cpp:77