LibrePCB Developers Documentation
Loading...
Searching...
No Matches
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 MsgAmbiguousFootprintTags
48 ******************************************************************************/
49
54 Q_DECLARE_TR_FUNCTIONS(MsgAmbiguousFootprintTags)
55
56public:
57 // Constructors / Destructor
61 virtual ~MsgAmbiguousFootprintTags() noexcept {}
62};
63
64/*******************************************************************************
65 * Class MsgDeprecatedAssemblyType
66 ******************************************************************************/
67
72 Q_DECLARE_TR_FUNCTIONS(MsgDeprecatedAssemblyType)
73
74public:
75 // Constructors / Destructor
79 virtual ~MsgDeprecatedAssemblyType() noexcept {}
80};
81
82/*******************************************************************************
83 * Class MsgSuspiciousAssemblyType
84 ******************************************************************************/
85
90 Q_DECLARE_TR_FUNCTIONS(MsgSuspiciousAssemblyType)
91
92public:
93 // Constructors / Destructor
97 virtual ~MsgSuspiciousAssemblyType() noexcept {}
98};
99
100/*******************************************************************************
101 * Class MsgDuplicatePadName
102 ******************************************************************************/
103
108 Q_DECLARE_TR_FUNCTIONS(MsgDuplicatePadName)
109
110public:
111 // Constructors / Destructor
113 explicit MsgDuplicatePadName(const PackagePad& pad) noexcept;
115 : RuleCheckMessage(other) {}
116 virtual ~MsgDuplicatePadName() noexcept {}
117};
118
119/*******************************************************************************
120 * Class MsgFiducialClearanceLessThanStopMask
121 ******************************************************************************/
122
127 Q_DECLARE_TR_FUNCTIONS(MsgFiducialClearanceLessThanStopMask)
128
129public:
130 // Constructors / Destructor
133 std::shared_ptr<const Footprint> footprint,
134 std::shared_ptr<const FootprintPad> pad) noexcept;
136 const MsgFiducialClearanceLessThanStopMask& other) noexcept
137 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
139
140 // Getters
141 std::shared_ptr<const Footprint> getFootprint() const noexcept {
142 return mFootprint;
143 }
144 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
145
146private:
147 std::shared_ptr<const Footprint> mFootprint;
148 std::shared_ptr<const FootprintPad> mPad;
149};
150
151/*******************************************************************************
152 * Class MsgFiducialStopMaskNotSet
153 ******************************************************************************/
154
159 Q_DECLARE_TR_FUNCTIONS(MsgFiducialStopMaskNotSet)
160
161public:
162 // Constructors / Destructor
164 MsgFiducialStopMaskNotSet(std::shared_ptr<const Footprint> footprint,
165 std::shared_ptr<const FootprintPad> pad) noexcept;
167 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
168 virtual ~MsgFiducialStopMaskNotSet() noexcept {}
169
170 // Getters
171 std::shared_ptr<const Footprint> getFootprint() const noexcept {
172 return mFootprint;
173 }
174 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
175
176private:
177 std::shared_ptr<const Footprint> mFootprint;
178 std::shared_ptr<const FootprintPad> mPad;
179};
180
181/*******************************************************************************
182 * Class MsgHoleWithoutStopMask
183 ******************************************************************************/
184
189 Q_DECLARE_TR_FUNCTIONS(MsgHoleWithoutStopMask)
190
191public:
192 // Constructors / Destructor
194 MsgHoleWithoutStopMask(std::shared_ptr<const Footprint> footprint,
195 std::shared_ptr<const Hole> hole) noexcept;
197 : RuleCheckMessage(other),
198 mFootprint(other.mFootprint),
199 mHole(other.mHole) {}
200 virtual ~MsgHoleWithoutStopMask() noexcept {}
201
202 // Getters
203 std::shared_ptr<const Footprint> getFootprint() const noexcept {
204 return mFootprint;
205 }
206 std::shared_ptr<const Hole> getHole() const noexcept { return mHole; }
207
208private:
209 std::shared_ptr<const Footprint> mFootprint;
210 std::shared_ptr<const Hole> mHole;
211};
212
213/*******************************************************************************
214 * Class MsgInvalidCustomPadOutline
215 ******************************************************************************/
216
221 Q_DECLARE_TR_FUNCTIONS(MsgInvalidCustomPadOutline)
222
223public:
224 // Constructors / Destructor
226 MsgInvalidCustomPadOutline(std::shared_ptr<const Footprint> footprint,
227 std::shared_ptr<const FootprintPad> pad,
228 const QString& pkgPadName) noexcept;
230 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
231 virtual ~MsgInvalidCustomPadOutline() noexcept {}
232
233 // Getters
234 std::shared_ptr<const Footprint> getFootprint() const noexcept {
235 return mFootprint;
236 }
237 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
238
239private:
240 std::shared_ptr<const Footprint> mFootprint;
241 std::shared_ptr<const FootprintPad> mPad;
242};
243
244/*******************************************************************************
245 * Class MsgInvalidPadConnection
246 ******************************************************************************/
247
252 Q_DECLARE_TR_FUNCTIONS(MsgInvalidPadConnection)
253
254public:
255 // Constructors / Destructor
257 MsgInvalidPadConnection(std::shared_ptr<const Footprint> footprint,
258 std::shared_ptr<const FootprintPad> pad) noexcept;
260 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
261 virtual ~MsgInvalidPadConnection() noexcept {}
262
263 // Getters
264 std::shared_ptr<const Footprint> getFootprint() const noexcept {
265 return mFootprint;
266 }
267 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
268
269private:
270 std::shared_ptr<const Footprint> mFootprint;
271 std::shared_ptr<const FootprintPad> mPad;
272};
273
274/*******************************************************************************
275 * Class MsgMinimumWidthViolation
276 ******************************************************************************/
277
282 Q_DECLARE_TR_FUNCTIONS(MsgMinimumWidthViolation)
283
284public:
285 // Constructors / Destructor
287 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
288 std::shared_ptr<const Polygon> polygon,
289 const Length& minWidth) noexcept;
290 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
291 std::shared_ptr<const Circle> circle,
292 const Length& minWidth) noexcept;
293 MsgMinimumWidthViolation(std::shared_ptr<const Footprint> footprint,
294 std::shared_ptr<const StrokeText> text,
295 const Length& minWidth) noexcept;
297 : RuleCheckMessage(other),
298 mFootprint(other.mFootprint),
299 mPolygon(other.mPolygon),
300 mCircle(other.mCircle),
301 mStrokeText(other.mStrokeText) {}
302 virtual ~MsgMinimumWidthViolation() noexcept {}
303
304 // Getters
305 std::shared_ptr<const Footprint> getFootprint() const noexcept {
306 return mFootprint;
307 }
308 std::shared_ptr<const Polygon> getPolygon() const noexcept {
309 return mPolygon;
310 }
311 std::shared_ptr<const Circle> getCircle() const noexcept { return mCircle; }
312 std::shared_ptr<const StrokeText> getStrokeText() const noexcept {
313 return mStrokeText;
314 }
315
316private:
317 static QString getMessage(std::shared_ptr<const Footprint> footprint,
318 const Layer& layer) noexcept;
319 static QString getDescriptionAppendix() noexcept;
320
321 std::shared_ptr<const Footprint> mFootprint;
322 std::shared_ptr<const Polygon> mPolygon;
323 std::shared_ptr<const Circle> mCircle;
324 std::shared_ptr<const StrokeText> mStrokeText;
325};
326
327/*******************************************************************************
328 * Class MsgMissingCourtyard
329 ******************************************************************************/
330
335 Q_DECLARE_TR_FUNCTIONS(MsgMissingCourtyard)
336
337public:
338 // Constructors / Destructor
340 explicit MsgMissingCourtyard(
341 std::shared_ptr<const Footprint> footprint) noexcept;
343 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
344 virtual ~MsgMissingCourtyard() noexcept {}
345
346 // Getters
347 std::shared_ptr<const Footprint> getFootprint() const noexcept {
348 return mFootprint;
349 }
350
351private:
352 std::shared_ptr<const Footprint> mFootprint;
353};
354
355/*******************************************************************************
356 * Class MsgMissingFootprint
357 ******************************************************************************/
358
363 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprint)
364
365public:
366 // Constructors / Destructor
367 MsgMissingFootprint() noexcept;
369 : RuleCheckMessage(other) {}
370 virtual ~MsgMissingFootprint() noexcept {}
371};
372
373/*******************************************************************************
374 * Class MsgMissingFootprintModel
375 ******************************************************************************/
376
381 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintModel)
382
383public:
384 // Constructors / Destructor
386 MsgMissingFootprintModel(std::shared_ptr<const Footprint> footprint) noexcept;
388 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
389 virtual ~MsgMissingFootprintModel() noexcept {}
390
391 // Getters
392 std::shared_ptr<const Footprint> getFootprint() const noexcept {
393 return mFootprint;
394 }
395
396private:
397 std::shared_ptr<const Footprint> mFootprint;
398};
399
400/*******************************************************************************
401 * Class MsgMissingFootprintName
402 ******************************************************************************/
403
408 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintName)
409
410public:
411 // Constructors / Destructor
414 std::shared_ptr<const Footprint> footprint) noexcept;
416 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
417 virtual ~MsgMissingFootprintName() noexcept {}
418
419 // Getters
420 std::shared_ptr<const Footprint> getFootprint() const noexcept {
421 return mFootprint;
422 }
423
424private:
425 std::shared_ptr<const Footprint> mFootprint;
426};
427
428/*******************************************************************************
429 * Class MsgMissingFootprintValue
430 ******************************************************************************/
431
436 Q_DECLARE_TR_FUNCTIONS(MsgMissingFootprintValue)
437
438public:
439 // Constructors / Destructor
442 std::shared_ptr<const Footprint> footprint) noexcept;
444 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
445 virtual ~MsgMissingFootprintValue() noexcept {}
446
447 // Getters
448 std::shared_ptr<const Footprint> getFootprint() const noexcept {
449 return mFootprint;
450 }
451
452private:
453 std::shared_ptr<const Footprint> mFootprint;
454};
455
456/*******************************************************************************
457 * Class MsgMissingPackageOutline
458 ******************************************************************************/
459
464 Q_DECLARE_TR_FUNCTIONS(MsgMissingPackageOutline)
465
466public:
467 // Constructors / Destructor
470 std::shared_ptr<const Footprint> footprint) noexcept;
472 : RuleCheckMessage(other), mFootprint(other.mFootprint) {}
473 virtual ~MsgMissingPackageOutline() noexcept {}
474
475 // Getters
476 std::shared_ptr<const Footprint> getFootprint() const noexcept {
477 return mFootprint;
478 }
479
480private:
481 std::shared_ptr<const Footprint> mFootprint;
482};
483
484/*******************************************************************************
485 * Class MsgFootprintOriginNotInCenter
486 ******************************************************************************/
487
492 Q_DECLARE_TR_FUNCTIONS(MsgFootprintOriginNotInCenter)
493
494public:
495 // Constructors / Destructor
497 MsgFootprintOriginNotInCenter(std::shared_ptr<const Footprint> footprint,
498 const Point& center) noexcept;
500 const MsgFootprintOriginNotInCenter& other) noexcept
501 : RuleCheckMessage(other),
502 mFootprint(other.mFootprint),
503 mCenter(other.mCenter) {}
504 virtual ~MsgFootprintOriginNotInCenter() noexcept {}
505
506 // Getters
507 std::shared_ptr<const Footprint> getFootprint() const noexcept {
508 return mFootprint;
509 }
510 const Point& getCenter() const noexcept { return mCenter; }
511
512private:
513 std::shared_ptr<const Footprint> mFootprint;
515};
516
517/*******************************************************************************
518 * Class MsgOverlappingPads
519 ******************************************************************************/
520
525 Q_DECLARE_TR_FUNCTIONS(MsgOverlappingPads)
526
527public:
528 // Constructors / Destructor
530 MsgOverlappingPads(std::shared_ptr<const Footprint> footprint,
531 std::shared_ptr<const FootprintPad> pad1,
532 const QString& pkgPad1Name,
533 std::shared_ptr<const FootprintPad> pad2,
534 const QString& pkgPad2Name) noexcept;
536 : RuleCheckMessage(other),
537 mFootprint(other.mFootprint),
538 mPad1(other.mPad1),
539 mPad2(other.mPad2) {}
540 virtual ~MsgOverlappingPads() noexcept {}
541
542 // Getters
543 std::shared_ptr<const Footprint> getFootprint() const noexcept {
544 return mFootprint;
545 }
546 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
547 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
548
549private:
550 std::shared_ptr<const Footprint> mFootprint;
551 std::shared_ptr<const FootprintPad> mPad1;
552 std::shared_ptr<const FootprintPad> mPad2;
553};
554
555/*******************************************************************************
556 * Class MsgPadAnnularRingViolation
557 ******************************************************************************/
558
563 Q_DECLARE_TR_FUNCTIONS(MsgPadAnnularRingViolation)
564
565public:
566 // Constructors / Destructor
568 MsgPadAnnularRingViolation(std::shared_ptr<const Footprint> footprint,
569 std::shared_ptr<const FootprintPad> pad,
570 const QString& pkgPadName,
571 const Length& annularRing) noexcept;
573 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
574 virtual ~MsgPadAnnularRingViolation() noexcept {}
575
576 // Getters
577 std::shared_ptr<const Footprint> getFootprint() const noexcept {
578 return mFootprint;
579 }
580 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
581
582private:
583 std::shared_ptr<const Footprint> mFootprint;
584 std::shared_ptr<const FootprintPad> mPad;
585};
586
587/*******************************************************************************
588 * Class MsgPadClearanceViolation
589 ******************************************************************************/
590
595 Q_DECLARE_TR_FUNCTIONS(MsgPadClearanceViolation)
596
597public:
598 // Constructors / Destructor
600 MsgPadClearanceViolation(std::shared_ptr<const Footprint> footprint,
601 std::shared_ptr<const FootprintPad> pad1,
602 const QString& pkgPad1Name,
603 std::shared_ptr<const FootprintPad> pad2,
604 const QString& pkgPad2Name,
605 const Length& clearance) noexcept;
607 : RuleCheckMessage(other),
608 mFootprint(other.mFootprint),
609 mPad1(other.mPad1),
610 mPad2(other.mPad2) {}
611 virtual ~MsgPadClearanceViolation() noexcept {}
612
613 // Getters
614 std::shared_ptr<const Footprint> getFootprint() const noexcept {
615 return mFootprint;
616 }
617 std::shared_ptr<const FootprintPad> getPad1() const noexcept { return mPad1; }
618 std::shared_ptr<const FootprintPad> getPad2() const noexcept { return mPad2; }
619
620private:
621 std::shared_ptr<const Footprint> mFootprint;
622 std::shared_ptr<const FootprintPad> mPad1;
623 std::shared_ptr<const FootprintPad> mPad2;
624};
625
626/*******************************************************************************
627 * Class MsgPadHoleOutsideCopper
628 ******************************************************************************/
629
634 Q_DECLARE_TR_FUNCTIONS(MsgPadHoleOutsideCopper)
635
636public:
637 // Constructors / Destructor
639 MsgPadHoleOutsideCopper(std::shared_ptr<const Footprint> footprint,
640 std::shared_ptr<const FootprintPad> pad,
641 const QString& pkgPadName) noexcept;
643 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
644 virtual ~MsgPadHoleOutsideCopper() 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 MsgPadOriginOutsideCopper
659 ******************************************************************************/
660
665 Q_DECLARE_TR_FUNCTIONS(MsgPadOriginOutsideCopper)
666
667public:
668 // Constructors / Destructor
670 MsgPadOriginOutsideCopper(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 ~MsgPadOriginOutsideCopper() 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 MsgPadOverlapsWithLegend
690 ******************************************************************************/
691
696 Q_DECLARE_TR_FUNCTIONS(MsgPadOverlapsWithLegend)
697
698public:
699 // Constructors / Destructor
701 MsgPadOverlapsWithLegend(std::shared_ptr<const Footprint> footprint,
702 std::shared_ptr<const FootprintPad> pad,
703 const QString& pkgPadName,
704 const Length& clearance) noexcept;
706 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
707 virtual ~MsgPadOverlapsWithLegend() noexcept {}
708
709 // Getters
710 std::shared_ptr<const Footprint> getFootprint() const noexcept {
711 return mFootprint;
712 }
713 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
714
715private:
716 std::shared_ptr<const Footprint> mFootprint;
717 std::shared_ptr<const FootprintPad> mPad;
718};
719
720/*******************************************************************************
721 * Class MsgPadStopMaskOff
722 ******************************************************************************/
723
728 Q_DECLARE_TR_FUNCTIONS(MsgPadStopMaskOff)
729
730public:
731 // Constructors / Destructor
733 MsgPadStopMaskOff(std::shared_ptr<const Footprint> footprint,
734 std::shared_ptr<const FootprintPad> pad,
735 const QString& pkgPadName) noexcept;
737 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
738 virtual ~MsgPadStopMaskOff() noexcept {}
739
740 // Getters
741 std::shared_ptr<const Footprint> getFootprint() const noexcept {
742 return mFootprint;
743 }
744 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
745
746private:
747 std::shared_ptr<const Footprint> mFootprint;
748 std::shared_ptr<const FootprintPad> mPad;
749};
750
751/*******************************************************************************
752 * Class MsgPadWithCopperClearance
753 ******************************************************************************/
754
759 Q_DECLARE_TR_FUNCTIONS(MsgPadWithCopperClearance)
760
761public:
762 // Constructors / Destructor
764 MsgPadWithCopperClearance(std::shared_ptr<const Footprint> footprint,
765 std::shared_ptr<const FootprintPad> pad,
766 const QString& pkgPadName) noexcept;
768 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
769 virtual ~MsgPadWithCopperClearance() noexcept {}
770
771 // Getters
772 std::shared_ptr<const Footprint> getFootprint() const noexcept {
773 return mFootprint;
774 }
775 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
776
777private:
778 std::shared_ptr<const Footprint> mFootprint;
779 std::shared_ptr<const FootprintPad> mPad;
780};
781
782/*******************************************************************************
783 * Class MsgSmtPadWithSolderPaste
784 ******************************************************************************/
785
790 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithSolderPaste)
791
792public:
793 // Constructors / Destructor
795 MsgSmtPadWithSolderPaste(std::shared_ptr<const Footprint> footprint,
796 std::shared_ptr<const FootprintPad> pad,
797 const QString& pkgPadName) noexcept;
799 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
800 virtual ~MsgSmtPadWithSolderPaste() noexcept {}
801
802 // Getters
803 std::shared_ptr<const Footprint> getFootprint() const noexcept {
804 return mFootprint;
805 }
806 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
807
808private:
809 std::shared_ptr<const Footprint> mFootprint;
810 std::shared_ptr<const FootprintPad> mPad;
811};
812
813/*******************************************************************************
814 * Class MsgSmtPadWithoutSolderPaste
815 ******************************************************************************/
816
821 Q_DECLARE_TR_FUNCTIONS(MsgSmtPadWithoutSolderPaste)
822
823public:
824 // Constructors / Destructor
826 MsgSmtPadWithoutSolderPaste(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 ~MsgSmtPadWithoutSolderPaste() 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 MsgSuspiciousPadFunction
846 ******************************************************************************/
847
852 Q_DECLARE_TR_FUNCTIONS(MsgSuspiciousPadFunction)
853
854public:
855 // Constructors / Destructor
856 MsgSuspiciousPadFunction(std::shared_ptr<const Footprint> footprint,
857 std::shared_ptr<const FootprintPad> pad,
858 const QString& pkgPadName) noexcept;
860 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
861 virtual ~MsgSuspiciousPadFunction() noexcept {}
862
863 // Getters
864 std::shared_ptr<const Footprint> getFootprint() const noexcept {
865 return mFootprint;
866 }
867 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
868
869private:
870 std::shared_ptr<const Footprint> mFootprint;
871 std::shared_ptr<const FootprintPad> mPad;
872};
873
874/*******************************************************************************
875 * Class MsgThtPadWithSolderPaste
876 ******************************************************************************/
877
882 Q_DECLARE_TR_FUNCTIONS(MsgThtPadWithSolderPaste)
883
884public:
885 // Constructors / Destructor
887 MsgThtPadWithSolderPaste(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 ~MsgThtPadWithSolderPaste() 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 MsgUnspecifiedPadFunction
907 ******************************************************************************/
908
913 Q_DECLARE_TR_FUNCTIONS(MsgUnspecifiedPadFunction)
914
915public:
916 // Constructors / Destructor
917 MsgUnspecifiedPadFunction(std::shared_ptr<const Footprint> footprint,
918 std::shared_ptr<const FootprintPad> pad,
919 const QString& pkgPadName) noexcept;
921 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
922 virtual ~MsgUnspecifiedPadFunction() noexcept {}
923
924 // Getters
925 std::shared_ptr<const Footprint> getFootprint() const noexcept {
926 return mFootprint;
927 }
928 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
929
930private:
931 std::shared_ptr<const Footprint> mFootprint;
932 std::shared_ptr<const FootprintPad> mPad;
933};
934
935/*******************************************************************************
936 * Class MsgUnusedCustomPadOutline
937 ******************************************************************************/
938
943 Q_DECLARE_TR_FUNCTIONS(MsgUnusedCustomPadOutline)
944
945public:
946 // Constructors / Destructor
948 MsgUnusedCustomPadOutline(std::shared_ptr<const Footprint> footprint,
949 std::shared_ptr<const FootprintPad> pad,
950 const QString& pkgPadName) noexcept;
952 : RuleCheckMessage(other), mFootprint(other.mFootprint), mPad(other.mPad) {}
953 virtual ~MsgUnusedCustomPadOutline() noexcept {}
954
955 // Getters
956 std::shared_ptr<const Footprint> getFootprint() const noexcept {
957 return mFootprint;
958 }
959 std::shared_ptr<const FootprintPad> getPad() const noexcept { return mPad; }
960
961private:
962 std::shared_ptr<const Footprint> mFootprint;
963 std::shared_ptr<const FootprintPad> mPad;
964};
965
966/*******************************************************************************
967 * Class MsgUselessZone
968 ******************************************************************************/
969
973class MsgUselessZone final : public RuleCheckMessage {
974 Q_DECLARE_TR_FUNCTIONS(MsgUselessZone)
975
976public:
977 // Constructors / Destructor
978 MsgUselessZone() = delete;
979 MsgUselessZone(std::shared_ptr<const Footprint> footprint,
980 std::shared_ptr<const Zone> zone) noexcept;
981 MsgUselessZone(const MsgUselessZone& other) noexcept
982 : RuleCheckMessage(other),
983 mFootprint(other.mFootprint),
984 mZone(other.mZone) {}
985 virtual ~MsgUselessZone() noexcept {}
986
987 // Getters
988 std::shared_ptr<const Footprint> getFootprint() const noexcept {
989 return mFootprint;
990 }
991 std::shared_ptr<const Zone> getZone() const noexcept { return mZone; }
992
993private:
994 std::shared_ptr<const Footprint> mFootprint;
995 std::shared_ptr<const Zone> mZone;
996};
997
998/*******************************************************************************
999 * Class MsgWrongFootprintTextLayer
1000 ******************************************************************************/
1001
1006 Q_DECLARE_TR_FUNCTIONS(MsgWrongFootprintTextLayer)
1007
1008public:
1009 // Constructors / Destructor
1011 MsgWrongFootprintTextLayer(std::shared_ptr<const Footprint> footprint,
1012 std::shared_ptr<const StrokeText> text,
1013 const Layer& expectedLayer) noexcept;
1015 : RuleCheckMessage(other),
1016 mFootprint(other.mFootprint),
1017 mText(other.mText),
1018 mExpectedLayer(other.mExpectedLayer) {}
1019 virtual ~MsgWrongFootprintTextLayer() noexcept {}
1020
1021 // Getters
1022 std::shared_ptr<const Footprint> getFootprint() const noexcept {
1023 return mFootprint;
1024 }
1025 std::shared_ptr<const StrokeText> getText() const noexcept { return mText; }
1026 const Layer& getExpectedLayer() const noexcept { return *mExpectedLayer; }
1027
1028private:
1029 std::shared_ptr<const Footprint> mFootprint;
1030 std::shared_ptr<const StrokeText> mText;
1032};
1033
1034/*******************************************************************************
1035 * End of File
1036 ******************************************************************************/
1037
1038} // namespace librepcb
1039
1040#endif
The Circle class.
Definition circle.h:46
The Footprint class represents one footprint variant of a package.
Definition footprint.h:56
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:82
The MsgAmbiguousFootprintTags class.
Definition packagecheckmessages.h:53
MsgAmbiguousFootprintTags(const MsgAmbiguousFootprintTags &other) noexcept
Definition packagecheckmessages.h:59
virtual ~MsgAmbiguousFootprintTags() noexcept
Definition packagecheckmessages.h:61
MsgAmbiguousFootprintTags() noexcept
Definition packagecheckmessages.cpp:39
The MsgDeprecatedAssemblyType class.
Definition packagecheckmessages.h:71
MsgDeprecatedAssemblyType(const MsgDeprecatedAssemblyType &other) noexcept
Definition packagecheckmessages.h:77
MsgDeprecatedAssemblyType() noexcept
Definition packagecheckmessages.cpp:54
virtual ~MsgDeprecatedAssemblyType() noexcept
Definition packagecheckmessages.h:79
The MsgDuplicatePadName class.
Definition packagecheckmessages.h:107
virtual ~MsgDuplicatePadName() noexcept
Definition packagecheckmessages.h:116
MsgDuplicatePadName(const MsgDuplicatePadName &other) noexcept
Definition packagecheckmessages.h:114
The MsgFiducialClearanceLessThanStopMask class.
Definition packagecheckmessages.h:126
virtual ~MsgFiducialClearanceLessThanStopMask() noexcept
Definition packagecheckmessages.h:138
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:141
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:148
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:144
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:147
MsgFiducialClearanceLessThanStopMask(const MsgFiducialClearanceLessThanStopMask &other) noexcept
Definition packagecheckmessages.h:135
The MsgFiducialStopMaskNotSet class.
Definition packagecheckmessages.h:158
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:171
virtual ~MsgFiducialStopMaskNotSet() noexcept
Definition packagecheckmessages.h:168
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:178
MsgFiducialStopMaskNotSet(const MsgFiducialStopMaskNotSet &other) noexcept
Definition packagecheckmessages.h:166
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:174
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:177
The MsgFootprintOriginNotInCenter class.
Definition packagecheckmessages.h:491
const Point mCenter
Definition packagecheckmessages.h:514
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:507
virtual ~MsgFootprintOriginNotInCenter() noexcept
Definition packagecheckmessages.h:504
const Point & getCenter() const noexcept
Definition packagecheckmessages.h:510
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:513
MsgFootprintOriginNotInCenter(const MsgFootprintOriginNotInCenter &other) noexcept
Definition packagecheckmessages.h:499
The MsgHoleWithoutStopMask class.
Definition packagecheckmessages.h:188
std::shared_ptr< const Hole > mHole
Definition packagecheckmessages.h:210
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:203
virtual ~MsgHoleWithoutStopMask() noexcept
Definition packagecheckmessages.h:200
std::shared_ptr< const Hole > getHole() const noexcept
Definition packagecheckmessages.h:206
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:209
MsgHoleWithoutStopMask(const MsgHoleWithoutStopMask &other) noexcept
Definition packagecheckmessages.h:196
The MsgInvalidCustomPadOutline class.
Definition packagecheckmessages.h:220
MsgInvalidCustomPadOutline(const MsgInvalidCustomPadOutline &other) noexcept
Definition packagecheckmessages.h:229
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:234
virtual ~MsgInvalidCustomPadOutline() noexcept
Definition packagecheckmessages.h:231
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:241
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:237
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:240
The MsgInvalidPadConnection class.
Definition packagecheckmessages.h:251
MsgInvalidPadConnection(const MsgInvalidPadConnection &other) noexcept
Definition packagecheckmessages.h:259
virtual ~MsgInvalidPadConnection() noexcept
Definition packagecheckmessages.h:261
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:264
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:271
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:267
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:270
The MsgMinimumWidthViolation class.
Definition packagecheckmessages.h:281
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:305
std::shared_ptr< const Polygon > mPolygon
Definition packagecheckmessages.h:322
virtual ~MsgMinimumWidthViolation() noexcept
Definition packagecheckmessages.h:302
static QString getDescriptionAppendix() noexcept
Definition packagecheckmessages.cpp:286
std::shared_ptr< const Circle > getCircle() const noexcept
Definition packagecheckmessages.h:311
MsgMinimumWidthViolation(const MsgMinimumWidthViolation &other) noexcept
Definition packagecheckmessages.h:296
std::shared_ptr< const Polygon > getPolygon() const noexcept
Definition packagecheckmessages.h:308
std::shared_ptr< const Circle > mCircle
Definition packagecheckmessages.h:323
std::shared_ptr< const StrokeText > getStrokeText() const noexcept
Definition packagecheckmessages.h:312
std::shared_ptr< const StrokeText > mStrokeText
Definition packagecheckmessages.h:324
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:321
The MsgMissingCourtyard class.
Definition packagecheckmessages.h:334
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:347
virtual ~MsgMissingCourtyard() noexcept
Definition packagecheckmessages.h:344
MsgMissingCourtyard(const MsgMissingCourtyard &other) noexcept
Definition packagecheckmessages.h:342
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:352
The MsgMissingFootprint class.
Definition packagecheckmessages.h:362
MsgMissingFootprint(const MsgMissingFootprint &other) noexcept
Definition packagecheckmessages.h:368
virtual ~MsgMissingFootprint() noexcept
Definition packagecheckmessages.h:370
The MsgMissingFootprintModel class.
Definition packagecheckmessages.h:380
virtual ~MsgMissingFootprintModel() noexcept
Definition packagecheckmessages.h:389
MsgMissingFootprintModel(const MsgMissingFootprintModel &other) noexcept
Definition packagecheckmessages.h:387
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:392
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:397
The MsgMissingFootprintName class.
Definition packagecheckmessages.h:407
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:420
virtual ~MsgMissingFootprintName() noexcept
Definition packagecheckmessages.h:417
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:425
MsgMissingFootprintName(const MsgMissingFootprintName &other) noexcept
Definition packagecheckmessages.h:415
The MsgMissingFootprintValue class.
Definition packagecheckmessages.h:435
MsgMissingFootprintValue(const MsgMissingFootprintValue &other) noexcept
Definition packagecheckmessages.h:443
virtual ~MsgMissingFootprintValue() noexcept
Definition packagecheckmessages.h:445
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:448
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:453
The MsgMissingPackageOutline class.
Definition packagecheckmessages.h:463
MsgMissingPackageOutline(const MsgMissingPackageOutline &other) noexcept
Definition packagecheckmessages.h:471
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:476
virtual ~MsgMissingPackageOutline() noexcept
Definition packagecheckmessages.h:473
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:481
The MsgOverlappingPads class.
Definition packagecheckmessages.h:524
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:543
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition packagecheckmessages.h:546
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition packagecheckmessages.h:547
virtual ~MsgOverlappingPads() noexcept
Definition packagecheckmessages.h:540
MsgOverlappingPads(const MsgOverlappingPads &other) noexcept
Definition packagecheckmessages.h:535
std::shared_ptr< const FootprintPad > mPad1
Definition packagecheckmessages.h:551
std::shared_ptr< const FootprintPad > mPad2
Definition packagecheckmessages.h:552
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:550
The MsgPadAnnularRingViolation class.
Definition packagecheckmessages.h:562
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:577
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:584
MsgPadAnnularRingViolation(const MsgPadAnnularRingViolation &other) noexcept
Definition packagecheckmessages.h:572
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:580
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:583
virtual ~MsgPadAnnularRingViolation() noexcept
Definition packagecheckmessages.h:574
The MsgPadClearanceViolation class.
Definition packagecheckmessages.h:594
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:614
std::shared_ptr< const FootprintPad > getPad1() const noexcept
Definition packagecheckmessages.h:617
std::shared_ptr< const FootprintPad > getPad2() const noexcept
Definition packagecheckmessages.h:618
virtual ~MsgPadClearanceViolation() noexcept
Definition packagecheckmessages.h:611
MsgPadClearanceViolation(const MsgPadClearanceViolation &other) noexcept
Definition packagecheckmessages.h:606
std::shared_ptr< const FootprintPad > mPad1
Definition packagecheckmessages.h:622
std::shared_ptr< const FootprintPad > mPad2
Definition packagecheckmessages.h:623
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:621
The MsgPadHoleOutsideCopper class.
Definition packagecheckmessages.h:633
MsgPadHoleOutsideCopper(const MsgPadHoleOutsideCopper &other) noexcept
Definition packagecheckmessages.h:642
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:647
virtual ~MsgPadHoleOutsideCopper() noexcept
Definition packagecheckmessages.h:644
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 MsgPadOriginOutsideCopper class.
Definition packagecheckmessages.h:664
MsgPadOriginOutsideCopper(const MsgPadOriginOutsideCopper &other) noexcept
Definition packagecheckmessages.h:673
virtual ~MsgPadOriginOutsideCopper() noexcept
Definition packagecheckmessages.h:675
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:678
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 MsgPadOverlapsWithLegend class.
Definition packagecheckmessages.h:695
MsgPadOverlapsWithLegend(const MsgPadOverlapsWithLegend &other) noexcept
Definition packagecheckmessages.h:705
virtual ~MsgPadOverlapsWithLegend() noexcept
Definition packagecheckmessages.h:707
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:710
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:717
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:713
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:716
The MsgPadStopMaskOff class.
Definition packagecheckmessages.h:727
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:741
virtual ~MsgPadStopMaskOff() noexcept
Definition packagecheckmessages.h:738
MsgPadStopMaskOff(const MsgPadStopMaskOff &other) noexcept
Definition packagecheckmessages.h:736
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:748
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:744
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:747
The MsgPadWithCopperClearance class.
Definition packagecheckmessages.h:758
MsgPadWithCopperClearance(const MsgPadWithCopperClearance &other) noexcept
Definition packagecheckmessages.h:767
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:772
virtual ~MsgPadWithCopperClearance() noexcept
Definition packagecheckmessages.h:769
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:779
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:775
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:778
The MsgSmtPadWithSolderPaste class.
Definition packagecheckmessages.h:789
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:803
virtual ~MsgSmtPadWithSolderPaste() noexcept
Definition packagecheckmessages.h:800
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:810
MsgSmtPadWithSolderPaste(const MsgSmtPadWithSolderPaste &other) noexcept
Definition packagecheckmessages.h:798
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:806
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:809
The MsgSmtPadWithoutSolderPaste class.
Definition packagecheckmessages.h:820
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:834
virtual ~MsgSmtPadWithoutSolderPaste() noexcept
Definition packagecheckmessages.h:831
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:841
MsgSmtPadWithoutSolderPaste(const MsgSmtPadWithoutSolderPaste &other) noexcept
Definition packagecheckmessages.h:829
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:837
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:840
The MsgSuspiciousAssemblyType class.
Definition packagecheckmessages.h:89
virtual ~MsgSuspiciousAssemblyType() noexcept
Definition packagecheckmessages.h:97
MsgSuspiciousAssemblyType(const MsgSuspiciousAssemblyType &other) noexcept
Definition packagecheckmessages.h:95
MsgSuspiciousAssemblyType() noexcept
Definition packagecheckmessages.cpp:66
The MsgSuspiciousPadFunction class.
Definition packagecheckmessages.h:851
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:864
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:871
MsgSuspiciousPadFunction(const MsgSuspiciousPadFunction &other) noexcept
Definition packagecheckmessages.h:859
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:867
virtual ~MsgSuspiciousPadFunction() noexcept
Definition packagecheckmessages.h:861
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:870
The MsgThtPadWithSolderPaste class.
Definition packagecheckmessages.h:881
virtual ~MsgThtPadWithSolderPaste() 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
MsgThtPadWithSolderPaste(const MsgThtPadWithSolderPaste &other) noexcept
Definition packagecheckmessages.h:890
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:901
The MsgUnspecifiedPadFunction class.
Definition packagecheckmessages.h:912
virtual ~MsgUnspecifiedPadFunction() noexcept
Definition packagecheckmessages.h:922
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:925
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:932
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:928
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:931
MsgUnspecifiedPadFunction(const MsgUnspecifiedPadFunction &other) noexcept
Definition packagecheckmessages.h:920
The MsgUnusedCustomPadOutline class.
Definition packagecheckmessages.h:942
virtual ~MsgUnusedCustomPadOutline() noexcept
Definition packagecheckmessages.h:953
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:956
std::shared_ptr< const FootprintPad > mPad
Definition packagecheckmessages.h:963
std::shared_ptr< const FootprintPad > getPad() const noexcept
Definition packagecheckmessages.h:959
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:962
MsgUnusedCustomPadOutline(const MsgUnusedCustomPadOutline &other) noexcept
Definition packagecheckmessages.h:951
The MsgUselessZone class.
Definition packagecheckmessages.h:973
MsgUselessZone(const MsgUselessZone &other) noexcept
Definition packagecheckmessages.h:981
std::shared_ptr< const Zone > getZone() const noexcept
Definition packagecheckmessages.h:991
std::shared_ptr< const Zone > mZone
Definition packagecheckmessages.h:995
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:988
virtual ~MsgUselessZone() noexcept
Definition packagecheckmessages.h:985
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:994
The MsgWrongFootprintTextLayer class.
Definition packagecheckmessages.h:1005
std::shared_ptr< const StrokeText > mText
Definition packagecheckmessages.h:1030
std::shared_ptr< const Footprint > getFootprint() const noexcept
Definition packagecheckmessages.h:1022
std::shared_ptr< const StrokeText > getText() const noexcept
Definition packagecheckmessages.h:1025
const Layer & getExpectedLayer() const noexcept
Definition packagecheckmessages.h:1026
virtual ~MsgWrongFootprintTextLayer() noexcept
Definition packagecheckmessages.h:1019
std::shared_ptr< const Footprint > mFootprint
Definition packagecheckmessages.h:1029
const Layer * mExpectedLayer
Definition packagecheckmessages.h:1031
MsgWrongFootprintTextLayer(const MsgWrongFootprintTextLayer &other) noexcept
Definition packagecheckmessages.h:1014
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:78
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
Definition uuid.h:186