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 LibraryElementCheckMessageList 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
 
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
 
LibraryBaseElementCheckoperator= (const LibraryBaseElementCheck &rhs)=delete
 

Protected Member Functions

void checkDuplicatePadNames (MsgList &msgs) const
 
void checkMissingFootprint (MsgList &msgs) const
 
void checkMissingTexts (MsgList &msgs) const
 
void checkWrongTextLayers (MsgList &msgs) const
 
void checkPadsOverlapWithPlacement (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 LibraryElementCheckMessageList 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()

LibraryElementCheckMessageList 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

◆ 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:

◆ checkPadsOverlapWithPlacement()

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