LibrePCB Developers Documentation
MsgSymbolOriginNotInCenter Class Referencefinal

The MsgSymbolOriginNotInCenter class. More...

#include <symbolcheckmessages.h>

+ Inheritance diagram for MsgSymbolOriginNotInCenter:
+ Collaboration diagram for MsgSymbolOriginNotInCenter:

Public Member Functions

 MsgSymbolOriginNotInCenter ()=delete
 
 MsgSymbolOriginNotInCenter (const Point &center) noexcept
 
 MsgSymbolOriginNotInCenter (const MsgSymbolOriginNotInCenter &other) noexcept
 
virtual ~MsgSymbolOriginNotInCenter () noexcept
 
const PointgetCenter () const 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
 

Private Attributes

const Point mCenter
 

Additional Inherited Members

- Public Types inherited from RuleCheckMessage
enum class  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

◆ MsgSymbolOriginNotInCenter() [1/3]

◆ MsgSymbolOriginNotInCenter() [2/3]

MsgSymbolOriginNotInCenter ( const Point center)
explicitnoexcept

◆ MsgSymbolOriginNotInCenter() [3/3]

MsgSymbolOriginNotInCenter ( const MsgSymbolOriginNotInCenter other)
inlinenoexcept

◆ ~MsgSymbolOriginNotInCenter()

virtual ~MsgSymbolOriginNotInCenter ( )
inlinevirtualnoexcept

Member Function Documentation

◆ getCenter()

const Point & getCenter ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mCenter

const Point mCenter
private

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