LibrePCB Developers Documentation
DrcMsgForbiddenSlot Class Referencefinal

The DrcMsgForbiddenSlot class. More...

#include <boarddesignrulecheckmessages.h>

+ Inheritance diagram for DrcMsgForbiddenSlot:
+ Collaboration diagram for DrcMsgForbiddenSlot:

Public Member Functions

 DrcMsgForbiddenSlot ()=delete
 
 DrcMsgForbiddenSlot (const BI_Hole &hole, const QVector< Path > &locations) noexcept
 
 DrcMsgForbiddenSlot (const BI_Device &device, const Hole &hole, const QVector< Path > &locations) noexcept
 
 DrcMsgForbiddenSlot (const BI_FootprintPad &pad, const PadHole &padHole, const QVector< Path > &locations) noexcept
 
 DrcMsgForbiddenSlot (const DrcMsgForbiddenSlot &other) noexcept
 
virtual ~DrcMsgForbiddenSlot () noexcept
 
- Public Member Functions inherited from RuleCheckMessage
 RuleCheckMessage ()=delete
 
Severity getSeverity () const noexcept
 
QString getSeverityTr () const noexcept
 
const QIcon & getSeverityIcon () const noexcept
 
const QString & getMessage () const noexcept
 
const QString & getDescription () const noexcept
 
const SExpressiongetApproval () const noexcept
 
const QVector< Path > & getLocations () const noexcept
 
template<typename T >
T * as () noexcept
 
template<typename T >
const T * as () const noexcept
 
bool operator== (const RuleCheckMessage &rhs) const noexcept
 
bool operator!= (const RuleCheckMessage &rhs) const noexcept
 

Static Private Member Functions

static QString determineMessage (const NonEmptyPath &path) noexcept
 
static QString determineDescription (const NonEmptyPath &path) noexcept
 

Additional Inherited Members

- Public Types inherited from RuleCheckMessage
enum  Severity
 Message severity type (higher number = higher severity) More...
 
- Static Public Member Functions inherited from RuleCheckMessage
static QString getSeverityTr (Severity severity) noexcept
 
static const QIcon & getSeverityIcon (Severity severity) noexcept
 
static QSet< SExpressiongetAllApprovals (const QVector< std::shared_ptr< const RuleCheckMessage >> &messages) noexcept
 
- Protected Member Functions inherited from RuleCheckMessage
 RuleCheckMessage (const RuleCheckMessage &other) noexcept
 
 RuleCheckMessage (Severity severity, const QString &msg, const QString &description, const QString &approvalName, const QVector< Path > &locations={}) noexcept
 
virtual ~RuleCheckMessage () noexcept
 
- Protected Attributes inherited from RuleCheckMessage
Severity mSeverity
 
QString mMessage
 
QString mDescription
 
std::unique_ptr< SExpressionmApproval
 
QVector< PathmLocations
 

Detailed Description

Constructor & Destructor Documentation

◆ DrcMsgForbiddenSlot() [1/5]

DrcMsgForbiddenSlot ( )
delete

◆ DrcMsgForbiddenSlot() [2/5]

DrcMsgForbiddenSlot ( const BI_Hole hole,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgForbiddenSlot() [3/5]

DrcMsgForbiddenSlot ( const BI_Device device,
const Hole hole,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgForbiddenSlot() [4/5]

DrcMsgForbiddenSlot ( const BI_FootprintPad pad,
const PadHole padHole,
const QVector< Path > &  locations 
)
noexcept

◆ DrcMsgForbiddenSlot() [5/5]

DrcMsgForbiddenSlot ( const DrcMsgForbiddenSlot other)
inlinenoexcept

◆ ~DrcMsgForbiddenSlot()

virtual ~DrcMsgForbiddenSlot ( )
inlinevirtualnoexcept

Member Function Documentation

◆ determineMessage()

QString determineMessage ( const NonEmptyPath path)
staticprivatenoexcept

◆ determineDescription()

QString determineDescription ( const NonEmptyPath path)
staticprivatenoexcept

The documentation for this class was generated from the following files: