LibrePCB Developers Documentation
SymbolCheck Class Reference

The SymbolCheck class. More...

#include <symbolcheck.h>

+ Inheritance diagram for SymbolCheck:
+ Collaboration diagram for SymbolCheck:

Public Member Functions

 SymbolCheck ()=delete
 
 SymbolCheck (const SymbolCheck &other)=delete
 
 SymbolCheck (const Symbol &symbol) noexcept
 
virtual ~SymbolCheck () noexcept
 
virtual RuleCheckMessageList runChecks () const override
 
SymbolCheckoperator= (const SymbolCheck &rhs)=delete
 
- Public Member Functions inherited from LibraryElementCheck
 LibraryElementCheck ()=delete
 
 LibraryElementCheck (const LibraryElementCheck &other)=delete
 
 LibraryElementCheck (const LibraryElement &element) noexcept
 
virtual ~LibraryElementCheck () noexcept
 
virtual RuleCheckMessageList runChecks () const override
 
LibraryElementCheckoperator= (const LibraryElementCheck &rhs)=delete
 
- Public Member Functions inherited from LibraryBaseElementCheck
 LibraryBaseElementCheck ()=delete
 
 LibraryBaseElementCheck (const LibraryBaseElementCheck &other)=delete
 
 LibraryBaseElementCheck (const LibraryBaseElement &element) noexcept
 
virtual ~LibraryBaseElementCheck () noexcept
 
virtual RuleCheckMessageList runChecks () const
 
LibraryBaseElementCheckoperator= (const LibraryBaseElementCheck &rhs)=delete
 

Protected Member Functions

void checkDuplicatePinNames (MsgList &msgs) const
 
void checkPinNamesInversionSign (MsgList &msgs) const
 
void checkOffTheGridPins (MsgList &msgs) const
 
void checkOverlappingPins (MsgList &msgs) const
 
void checkMissingTexts (MsgList &msgs) const
 
void checkWrongTextLayers (MsgList &msgs) const
 
void checkOriginInCenter (MsgList &msgs) const
 
- Protected Member Functions inherited from LibraryElementCheck
void checkMissingCategories (MsgList &msgs) const
 
- Protected Member Functions inherited from LibraryBaseElementCheck
void checkDefaultNameTitleCase (MsgList &msgs) const
 
void checkMissingAuthor (MsgList &msgs) const
 

Private Attributes

const SymbolmSymbol
 

Additional Inherited Members

- Protected Types inherited from LibraryBaseElementCheck
typedef RuleCheckMessageList MsgList
 

Detailed Description

The SymbolCheck class.

Constructor & Destructor Documentation

◆ SymbolCheck() [1/3]

SymbolCheck ( )
delete

◆ SymbolCheck() [2/3]

SymbolCheck ( const SymbolCheck other)
delete

◆ SymbolCheck() [3/3]

SymbolCheck ( const Symbol symbol)
explicitnoexcept

◆ ~SymbolCheck()

~SymbolCheck ( )
virtualnoexcept

Member Function Documentation

◆ runChecks()

RuleCheckMessageList runChecks ( ) const
overridevirtual

Reimplemented from LibraryElementCheck.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

SymbolCheck & operator= ( const SymbolCheck rhs)
delete

◆ checkDuplicatePinNames()

void checkDuplicatePinNames ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkPinNamesInversionSign()

void checkPinNamesInversionSign ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkOffTheGridPins()

void checkOffTheGridPins ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkOverlappingPins()

void checkOverlappingPins ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkMissingTexts()

void checkMissingTexts ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkWrongTextLayers()

void checkWrongTextLayers ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkOriginInCenter()

void checkOriginInCenter ( MsgList msgs) const
protected
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mSymbol

const Symbol& mSymbol
private

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