LibrePCB Developers Documentation
PackageCheck Class Reference

The PackageCheck class. More...

#include <packagecheck.h>

+ Inheritance diagram for PackageCheck:
+ Collaboration diagram for PackageCheck:

Public Member Functions

 PackageCheck ()=delete
 
 PackageCheck (const PackageCheck &other)=delete
 
 PackageCheck (const Package &package) noexcept
 
virtual ~PackageCheck () noexcept
 
virtual RuleCheckMessageList runChecks () const override
 
PackageCheckoperator= (const PackageCheck &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 checkAssemblyType (MsgList &msgs) const
 
void checkDuplicatePadNames (MsgList &msgs) const
 
void checkMissingFootprint (MsgList &msgs) const
 
void checkMissingTexts (MsgList &msgs) const
 
void checkWrongTextLayers (MsgList &msgs) const
 
void checkPackageOutlines (MsgList &msgs) const
 
void checkCourtyards (MsgList &msgs) const
 
void checkPadsPackagePadUuid (MsgList &msgs) const
 
void checkPadsClearanceToPads (MsgList &msgs) const
 
void checkPadsClearanceToLegend (MsgList &msgs) const
 
void checkPadsAnnularRing (MsgList &msgs) const
 
void checkPadsConnectionPoint (MsgList &msgs) const
 
void checkCustomPadOutline (MsgList &msgs) const
 
void checkStopMaskOnPads (MsgList &msgs) const
 
void checkSolderPasteOnPads (MsgList &msgs) const
 
void checkCopperClearanceOnPads (MsgList &msgs) const
 
void checkPadFunctions (MsgList &msgs) const
 
void checkHolesStopMask (MsgList &msgs) const
 
void checkZones (MsgList &msgs) const
 
void checkFootprintModels (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 PackagemPackage
 

Additional Inherited Members

- Protected Types inherited from LibraryBaseElementCheck
typedef RuleCheckMessageList MsgList
 

Detailed Description

The PackageCheck class.

Constructor & Destructor Documentation

◆ PackageCheck() [1/3]

PackageCheck ( )
delete

◆ PackageCheck() [2/3]

PackageCheck ( const PackageCheck other)
delete

◆ PackageCheck() [3/3]

PackageCheck ( const Package package)
explicitnoexcept

◆ ~PackageCheck()

~PackageCheck ( )
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=()

PackageCheck & operator= ( const PackageCheck rhs)
delete

◆ checkAssemblyType()

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

◆ checkDuplicatePadNames()

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

◆ checkMissingFootprint()

void checkMissingFootprint ( 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:

◆ checkPackageOutlines()

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

◆ checkCourtyards()

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

◆ checkPadsPackagePadUuid()

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

◆ checkPadsClearanceToPads()

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

◆ checkPadsClearanceToLegend()

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

◆ checkPadsAnnularRing()

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

◆ checkPadsConnectionPoint()

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

◆ checkCustomPadOutline()

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

◆ checkStopMaskOnPads()

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

◆ checkSolderPasteOnPads()

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

◆ checkCopperClearanceOnPads()

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

◆ checkPadFunctions()

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

◆ checkHolesStopMask()

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

◆ checkZones()

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

◆ checkFootprintModels()

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

Member Data Documentation

◆ mPackage

const Package& mPackage
private

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