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 MsgFootprintOriginNotInCenter
456 ******************************************************************************/
457
462 Q_DECLARE_TR_FUNCTIONS(MsgFootprintOriginNotInCenter)
463
464public:
465 // Constructors / Destructor
467 MsgFootprintOriginNotInCenter(std::shared_ptr<const Footprint> footprint,
468 const Point& center) noexcept;
470 const MsgFootprintOriginNotInCenter& other) noexcept
471 : RuleCheckMessage(other),
472 mFootprint(other.mFootprint),
473 mCenter(other.mCenter) {}
474 virtual ~MsgFootprintOriginNotInCenter() noexcept {}
475
476 // Getters
477 std::shared_ptr<const Footprint> getFootprint() const noexcept {
478 return mFootprint;
479 }
480 const Point& getCenter() const noexcept { return mCenter; }
481
482private:
483 std::shared_ptr<const Footprint> mFootprint;
485};
486
487/*******************************************************************************
488 * Class MsgOverlappingPads
489 ******************************************************************************/
490
495 Q_DECLARE_TR_FUNCTIONS(MsgOverlappingPads)
496
497public:
498 // Constructors / Destructor
500 MsgOverlappingPads(std::shared_ptr<const Footprint> footprint,
501 std::shared_ptr<const FootprintPad> pad1,
502 const QString& pkgPad1Name,
503 std::shared_ptr<const FootprintPad> pad2,
504 const QString& pkgPad2Name) noexcept;
506 : RuleCheckMessage(other),
507 mFootprint(other.mFootprint),
508 mPad1(other.mPad1),
509 mPad2(other.mPad2) {}
510 virtual ~MsgOverlappingPads() noexcept {}
511
512 // Getters
513 std::shared_ptr<const Footprint> getFootprint() const noexcept {
514 return mFootprint;
515 }
516 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
517 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
518
519private:
520 std::shared_ptr<const Footprint> mFootprint;
521 std::shared_ptr<const FootprintPad> mPad1;
522 std::shared_ptr<const FootprintPad> mPad2;
523};
524
525/*******************************************************************************
526 * Class MsgPadAnnularRingViolation
527 ******************************************************************************/
528
533 Q_DECLARE_TR_FUNCTIONS(MsgPadAnnularRingViolation)
534
535public:
536 // Constructors / Destructor
538 MsgPadAnnularRingViolation(std::shared_ptr<const Footprint> footprint,
539 std::shared_ptr<const FootprintPad> pad,
540 const QString& pkgPadName,
541 const Length& annularRing) noexcept;
543 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
544 virtual ~MsgPadAnnularRingViolation() noexcept {}
545
546 // Getters
547 std::shared_ptr<const Footprint> getFootprint() const noexcept {
548 return mFootprint;
549 }
550 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
551
552private:
553 std::shared_ptr<const Footprint> mFootprint;
554 std::shared_ptr<const FootprintPad> mPad;
555};
556
557/*******************************************************************************
558 * Class MsgPadClearanceViolation
559 ******************************************************************************/
560
565 Q_DECLARE_TR_FUNCTIONS(MsgPadClearanceViolation)
566
567public:
568 // Constructors / Destructor
570 MsgPadClearanceViolation(std::shared_ptr<const Footprint> footprint,
571 std::shared_ptr<const FootprintPad> pad1,
572 const QString& pkgPad1Name,
573 std::shared_ptr<const FootprintPad> pad2,
574 const QString& pkgPad2Name,
575 const Length& clearance) noexcept;
577 : RuleCheckMessage(other),
578 mFootprint(other.mFootprint),
579 mPad1(other.mPad1),
580 mPad2(other.mPad2) {}
581 virtual ~MsgPadClearanceViolation() noexcept {}
582
583 // Getters
584 std::shared_ptr<const Footprint> getFootprint() const noexcept {
585 return mFootprint;
586 }
587 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
588 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
589
590private:
591 std::shared_ptr<const Footprint> mFootprint;
592 std::shared_ptr<const FootprintPad> mPad1;
593 std::shared_ptr<const FootprintPad> mPad2;
594};
595
596/*******************************************************************************
597 * Class MsgPadHoleOutsideCopper
598 ******************************************************************************/
599
604 Q_DECLARE_TR_FUNCTIONS(MsgPadHoleOutsideCopper)
605
606public:
607 // Constructors / Destructor
609 MsgPadHoleOutsideCopper(std::shared_ptr<const Footprint> footprint,
610 std::shared_ptr<const FootprintPad> pad,
611 const QString& pkgPadName) noexcept;
613 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
614 virtual ~MsgPadHoleOutsideCopper() noexcept {}
615
616 // Getters
617 std::shared_ptr<const Footprint> getFootprint() const noexcept {
618 return mFootprint;
619 }
620 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
621
622private:
623 std::shared_ptr<const Footprint> mFootprint;
624 std::shared_ptr<const FootprintPad> mPad;
625};
626
627/*******************************************************************************
628 * Class MsgPadOriginOutsideCopper
629 ******************************************************************************/
630
635 Q_DECLARE_TR_FUNCTIONS(MsgPadOriginOutsideCopper)
636
637public:
638 // Constructors / Destructor
640 MsgPadOriginOutsideCopper(std::shared_ptr<const Footprint> footprint,
641 std::shared_ptr<const FootprintPad> pad,
642 const QString& pkgPadName) noexcept;
644 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
645 virtual ~MsgPadOriginOutsideCopper() noexcept {}
646
647 // Getters
648 std::shared_ptr<const Footprint> getFootprint() const noexcept {
649 return mFootprint;
650 }
651 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
652
653private:
654 std::shared_ptr<const Footprint> mFootprint;
655 std::shared_ptr<const FootprintPad> mPad;
656};
657
658/*******************************************************************************
659 * Class MsgPadOverlapsWithLegend
660 ******************************************************************************/
661
666 Q_DECLARE_TR_FUNCTIONS(MsgPadOverlapsWithLegend)
667
668public:
669 // Constructors / Destructor
671 MsgPadOverlapsWithLegend(std::shared_ptr<const Footprint> footprint,
672 std::shared_ptr<const FootprintPad> pad,
673 const QString& pkgPadName,
674 const Length& clearance) noexcept;
676 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
677 virtual ~MsgPadOverlapsWithLegend() noexcept {}
678
679 // Getters
680 std::shared_ptr<const Footprint> getFootprint() const noexcept {
681 return mFootprint;
682 }
683 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
684
685private:
686 std::shared_ptr<const Footprint> mFootprint;
687 std::shared_ptr<const FootprintPad> mPad;
688};
689
690/*******************************************************************************
691 * Class MsgPadStopMaskOff
692 ******************************************************************************/
693
698 Q_DECLARE_TR_FUNCTIONS(MsgPadStopMaskOff)
699
700public:
701 // Constructors / Destructor
703 MsgPadStopMaskOff(std::shared_ptr<const Footprint> footprint,
704 std::shared_ptr<const FootprintPad> pad,
705 const QString& pkgPadName) noexcept;
707 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
708 virtual ~MsgPadStopMaskOff() noexcept {}
709
710 // Getters
711 std::shared_ptr<const Footprint> getFootprint() const noexcept {
712 return mFootprint;
713 }
714 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
715
716private:
717 std::shared_ptr<const Footprint> mFootprint;
718 std::shared_ptr<const FootprintPad> mPad;
719};
720
721/*******************************************************************************
722 * Class MsgPadWithCopperClearance
723 ******************************************************************************/
724
729 Q_DECLARE_TR_FUNCTIONS(MsgPadWithCopperClearance)
730
731public:
732 // Constructors / Destructor
734 MsgPadWithCopperClearance(std::shared_ptr<const Footprint> footprint,
735 std::shared_ptr<const FootprintPad> pad,
736 const QString& pkgPadName) noexcept;
738 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
739 virtual ~MsgPadWithCopperClearance() noexcept {}
740
741 // Getters
742 std::shared_ptr<const Footprint> getFootprint() const noexcept {
743 return mFootprint;
744 }
745 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
746
747private:
748 std::shared_ptr<const Footprint> mFootprint;
749 std::shared_ptr<const FootprintPad> mPad;
750};
751
752/*******************************************************************************
753 * Class MsgSmtPadWithSolderPaste
754 ******************************************************************************/
755
760 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithSolderPaste)
761
762public:
763 // Constructors / Destructor
765 MsgSmtPadWithSolderPaste(std::shared_ptr<const Footprint> footprint,
766 std::shared_ptr<const FootprintPad> pad,
767 const QString& pkgPadName) noexcept;
769 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
770 virtual ~MsgSmtPadWithSolderPaste() noexcept {}
771
772 // Getters
773 std::shared_ptr<const Footprint> getFootprint() const noexcept {
774 return mFootprint;
775 }
776 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
777
778private:
779 std::shared_ptr<const Footprint> mFootprint;
780 std::shared_ptr<const FootprintPad> mPad;
781};
782
783/*******************************************************************************
784 * Class MsgSmtPadWithoutSolderPaste
785 ******************************************************************************/
786
791 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithoutSolderPaste)
792
793public:
794 // Constructors / Destructor
796 MsgSmtPadWithoutSolderPaste(std::shared_ptr<const Footprint> footprint,
797 std::shared_ptr<const FootprintPad> pad,
798 const QString& pkgPadName) noexcept;
800 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
801 virtual ~MsgSmtPadWithoutSolderPaste() noexcept {}
802
803 // Getters
804 std::shared_ptr<const Footprint> getFootprint() const noexcept {
805 return mFootprint;
806 }
807 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
808
809private:
810 std::shared_ptr<const Footprint> mFootprint;
811 std::shared_ptr<const FootprintPad> mPad;
812};
813
814/*******************************************************************************
815 * Class MsgSuspiciousPadFunction
816 ******************************************************************************/
817
822 Q_DECLARE_TR_FUNCTIONS(MsgSuspiciousPadFunction)
823
824public:
825 // Constructors / Destructor
826 MsgSuspiciousPadFunction(std::shared_ptr<const Footprint> footprint,
827 std::shared_ptr<const FootprintPad> pad,
828 const QString& pkgPadName) noexcept;
830 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
831 virtual ~MsgSuspiciousPadFunction() noexcept {}
832
833 // Getters
834 std::shared_ptr<const Footprint> getFootprint() const noexcept {
835 return mFootprint;
836 }
837 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
838
839private:
840 std::shared_ptr<const Footprint> mFootprint;
841 std::shared_ptr<const FootprintPad> mPad;
842};
843
844/*******************************************************************************
845 * Class MsgThtPadWithSolderPaste
846 ******************************************************************************/
847
852 Q_DECLARE_TR_FUNCTIONS(MsgThtPadWithSolderPaste)
853
854public:
855 // Constructors / Destructor
857 MsgThtPadWithSolderPaste(std::shared_ptr<const Footprint> footprint,
858 std::shared_ptr<const FootprintPad> pad,
859 const QString& pkgPadName) noexcept;
861 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
862 virtual ~MsgThtPadWithSolderPaste() noexcept {}
863
864 // Getters
865 std::shared_ptr<const Footprint> getFootprint() const noexcept {
866 return mFootprint;
867 }
868 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
869
870private:
871 std::shared_ptr<const Footprint> mFootprint;
872 std::shared_ptr<const FootprintPad> mPad;
873};
874
875/*******************************************************************************
876 * Class MsgUnspecifiedPadFunction
877 ******************************************************************************/
878
883 Q_DECLARE_TR_FUNCTIONS(MsgUnspecifiedPadFunction)
884
885public:
886 // Constructors / Destructor
887 MsgUnspecifiedPadFunction(std::shared_ptr<const Footprint> footprint,
888 std::shared_ptr<const FootprintPad> pad,
889 const QString& pkgPadName) noexcept;
891 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
892 virtual ~MsgUnspecifiedPadFunction() noexcept {}
893
894 // Getters
895 std::shared_ptr<const Footprint> getFootprint() const noexcept {
896 return mFootprint;
897 }
898 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
899
900private:
901 std::shared_ptr<const Footprint> mFootprint;
902 std::shared_ptr<const FootprintPad> mPad;
903};
904
905/*******************************************************************************
906 * Class MsgUnusedCustomPadOutline
907 ******************************************************************************/
908
913 Q_DECLARE_TR_FUNCTIONS(MsgUnusedCustomPadOutline)
914
915public:
916 // Constructors / Destructor
918 MsgUnusedCustomPadOutline(std::shared_ptr<const Footprint> footprint,
919 std::shared_ptr<const FootprintPad> pad,
920 const QString& pkgPadName) noexcept;
922 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
923 virtual ~MsgUnusedCustomPadOutline() noexcept {}
924
925 // Getters
926 std::shared_ptr<const Footprint> getFootprint() const noexcept {
927 return mFootprint;
928 }
929 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
930
931private:
932 std::shared_ptr<const Footprint> mFootprint;
933 std::shared_ptr<const FootprintPad> mPad;
934};
935
936/*******************************************************************************
937 * Class MsgUselessZone
938 ******************************************************************************/
939
943class MsgUselessZone final : public RuleCheckMessage {
944 Q_DECLARE_TR_FUNCTIONS(MsgUselessZone)
945
946public:
947 // Constructors / Destructor
948 MsgUselessZone() = delete;
949 MsgUselessZone(std::shared_ptr<const Footprint> footprint,
950 std::shared_ptr<const Zone> zone) noexcept;
951 MsgUselessZone(const MsgUselessZone& other) noexcept
952 : RuleCheckMessage(other),
953 mFootprint(other.mFootprint),
954 mZone(other.mZone) {}
955 virtual ~MsgUselessZone() noexcept {}
956
957 // Getters
958 std::shared_ptr<const Footprint> getFootprint() const noexcept {
959 return mFootprint;
960 }
961 std::shared_ptr<const Zone> getZone() const noexcept { return mZone; }
962
963private:
964 std::shared_ptr<const Footprint> mFootprint;
965 std::shared_ptr<const Zone> mZone;
966};
967
968/*******************************************************************************
969 * Class MsgWrongFootprintTextLayer
970 ******************************************************************************/
971
976 Q_DECLARE_TR_FUNCTIONS(MsgWrongFootprintTextLayer)
977
978public:
979 // Constructors / Destructor
981 MsgWrongFootprintTextLayer(std::shared_ptr<const Footprint> footprint,
982 std::shared_ptr<const StrokeText> text,
983 const Layer& expectedLayer) noexcept;
985 : RuleCheckMessage(other),
986 mFootprint(other.mFootprint),
987 mText(other.mText),
988 mExpectedLayer(other.mExpectedLayer) {}
989 virtual ~MsgWrongFootprintTextLayer() noexcept {}
990
991 // Getters
992 std::shared_ptr<const Footprint> getFootprint() const noexcept {
993 return mFootprint;
994 }
995 std::shared_ptr<const StrokeText> getText() const noexcept { return mText; }
996 const Layer& getExpectedLayer() const noexcept { return *mExpectedLayer; }
997
998private:
999 std::shared_ptr<const Footprint> mFootprint;
1000 std::shared_ptr<const StrokeText> mText;
1002};
1003
1004/*******************************************************************************
1005 * End of File
1006 ******************************************************************************/
1007
1008} // namespace librepcb
1009
1010#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:42
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 MsgFootprintOriginNotInCenter class.
Definition: packagecheckmessages.h:461
const Point mCenter
Definition: packagecheckmessages.h:484
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:477
virtual ~MsgFootprintOriginNotInCenter() noexcept
Definition: packagecheckmessages.h:474
const Point & getCenter() const noexcept
Definition: packagecheckmessages.h:480
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:483
MsgFootprintOriginNotInCenter(const MsgFootprintOriginNotInCenter &other) noexcept
Definition: packagecheckmessages.h:469
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:494
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:513
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition: packagecheckmessages.h:516
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition: packagecheckmessages.h:517
virtual ~MsgOverlappingPads() noexcept
Definition: packagecheckmessages.h:510
MsgOverlappingPads(const MsgOverlappingPads &other) noexcept
Definition: packagecheckmessages.h:505
std::shared_ptr< const FootprintPad > mPad1
Definition: packagecheckmessages.h:521
std::shared_ptr< const FootprintPad > mPad2
Definition: packagecheckmessages.h:522
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:520
The MsgPadAnnularRingViolation class.
Definition: packagecheckmessages.h:532
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:547
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:554
MsgPadAnnularRingViolation(const MsgPadAnnularRingViolation &other) noexcept
Definition: packagecheckmessages.h:542
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:550
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:553
virtual ~MsgPadAnnularRingViolation() noexcept
Definition: packagecheckmessages.h:544
The MsgPadClearanceViolation class.
Definition: packagecheckmessages.h:564
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:584
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition: packagecheckmessages.h:587
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition: packagecheckmessages.h:588
virtual ~MsgPadClearanceViolation() noexcept
Definition: packagecheckmessages.h:581
MsgPadClearanceViolation(const MsgPadClearanceViolation &other) noexcept
Definition: packagecheckmessages.h:576
std::shared_ptr< const FootprintPad > mPad1
Definition: packagecheckmessages.h:592
std::shared_ptr< const FootprintPad > mPad2
Definition: packagecheckmessages.h:593
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:591
The MsgPadHoleOutsideCopper class.
Definition: packagecheckmessages.h:603
MsgPadHoleOutsideCopper(const MsgPadHoleOutsideCopper &other) noexcept
Definition: packagecheckmessages.h:612
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:617
virtual ~MsgPadHoleOutsideCopper() noexcept
Definition: packagecheckmessages.h:614
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:624
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:620
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:623
The MsgPadOriginOutsideCopper class.
Definition: packagecheckmessages.h:634
MsgPadOriginOutsideCopper(const MsgPadOriginOutsideCopper &other) noexcept
Definition: packagecheckmessages.h:643
virtual ~MsgPadOriginOutsideCopper() noexcept
Definition: packagecheckmessages.h:645
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:648
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:655
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:651
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:654
The MsgPadOverlapsWithLegend class.
Definition: packagecheckmessages.h:665
MsgPadOverlapsWithLegend(const MsgPadOverlapsWithLegend &other) noexcept
Definition: packagecheckmessages.h:675
virtual ~MsgPadOverlapsWithLegend() noexcept
Definition: packagecheckmessages.h:677
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:680
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:687
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:683
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:686
The MsgPadStopMaskOff class.
Definition: packagecheckmessages.h:697
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:711
virtual ~MsgPadStopMaskOff() noexcept
Definition: packagecheckmessages.h:708
MsgPadStopMaskOff(const MsgPadStopMaskOff &other) noexcept
Definition: packagecheckmessages.h:706
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:718
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:714
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:717
The MsgPadWithCopperClearance class.
Definition: packagecheckmessages.h:728
MsgPadWithCopperClearance(const MsgPadWithCopperClearance &other) noexcept
Definition: packagecheckmessages.h:737
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:742
virtual ~MsgPadWithCopperClearance() noexcept
Definition: packagecheckmessages.h:739
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:749
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:745
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:748
The MsgSmtPadWithSolderPaste class.
Definition: packagecheckmessages.h:759
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:773
virtual ~MsgSmtPadWithSolderPaste() noexcept
Definition: packagecheckmessages.h:770
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:780
MsgSmtPadWithSolderPaste(const MsgSmtPadWithSolderPaste &other) noexcept
Definition: packagecheckmessages.h:768
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:776
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:779
The MsgSmtPadWithoutSolderPaste class.
Definition: packagecheckmessages.h:790
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:804
virtual ~MsgSmtPadWithoutSolderPaste() noexcept
Definition: packagecheckmessages.h:801
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:811
MsgSmtPadWithoutSolderPaste(const MsgSmtPadWithoutSolderPaste &other) noexcept
Definition: packagecheckmessages.h:799
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:807
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:810
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:821
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:834
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:841
MsgSuspiciousPadFunction(const MsgSuspiciousPadFunction &other) noexcept
Definition: packagecheckmessages.h:829
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:837
virtual ~MsgSuspiciousPadFunction() noexcept
Definition: packagecheckmessages.h:831
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:840
The MsgThtPadWithSolderPaste class.
Definition: packagecheckmessages.h:851
virtual ~MsgThtPadWithSolderPaste() noexcept
Definition: packagecheckmessages.h:862
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:865
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:872
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:868
MsgThtPadWithSolderPaste(const MsgThtPadWithSolderPaste &other) noexcept
Definition: packagecheckmessages.h:860
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:871
The MsgUnspecifiedPadFunction class.
Definition: packagecheckmessages.h:882
virtual ~MsgUnspecifiedPadFunction() noexcept
Definition: packagecheckmessages.h:892
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:895
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:902
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:898
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:901
MsgUnspecifiedPadFunction(const MsgUnspecifiedPadFunction &other) noexcept
Definition: packagecheckmessages.h:890
The MsgUnusedCustomPadOutline class.
Definition: packagecheckmessages.h:912
virtual ~MsgUnusedCustomPadOutline() noexcept
Definition: packagecheckmessages.h:923
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:926
std::shared_ptr< const FootprintPad > mPad
Definition: packagecheckmessages.h:933
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition: packagecheckmessages.h:929
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:932
MsgUnusedCustomPadOutline(const MsgUnusedCustomPadOutline &other) noexcept
Definition: packagecheckmessages.h:921
The MsgUselessZone class.
Definition: packagecheckmessages.h:943
MsgUselessZone(const MsgUselessZone &other) noexcept
Definition: packagecheckmessages.h:951
std::shared_ptr< const Zone > getZone() const noexcept
Definition: packagecheckmessages.h:961
std::shared_ptr< const Zone > mZone
Definition: packagecheckmessages.h:965
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:958
virtual ~MsgUselessZone() noexcept
Definition: packagecheckmessages.h:955
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:964
The MsgWrongFootprintTextLayer class.
Definition: packagecheckmessages.h:975
std::shared_ptr< const StrokeText > mText
Definition: packagecheckmessages.h:1000
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition: packagecheckmessages.h:992
std::shared_ptr< const StrokeText > getText() const noexcept
Definition: packagecheckmessages.h:995
const Layer & getExpectedLayer() const noexcept
Definition: packagecheckmessages.h:996
virtual ~MsgWrongFootprintTextLayer() noexcept
Definition: packagecheckmessages.h:989
std::shared_ptr< const Footprint > mFootprint
Definition: packagecheckmessages.h:999
const Layer * mExpectedLayer
Definition: packagecheckmessages.h:1001
MsgWrongFootprintTextLayer(const MsgWrongFootprintTextLayer &other) noexcept
Definition: packagecheckmessages.h:984
The PackagePad class represents one logical pad of a package.
Definition: packagepad.h:47
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition: point.h:79
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