LibrePCB Developers Documentation
ComponentCheck Class Reference

The ComponentCheck class. More...

#include <componentcheck.h>

+ Inheritance diagram for ComponentCheck:
+ Collaboration diagram for ComponentCheck:

Public Member Functions

 ComponentCheck ()=delete
 
 ComponentCheck (const ComponentCheck &other)=delete
 
 ComponentCheck (const Component &component) noexcept
 
virtual ~ComponentCheck () noexcept
 
virtual LibraryElementCheckMessageList runChecks () const override
 
ComponentCheckoperator= (const ComponentCheck &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 checkMissingPrefix (MsgList &msgs) const
 
void checkMissingDefaultValue (MsgList &msgs) const
 
void checkDuplicateSignalNames (MsgList &msgs) const
 
void checkMissingSymbolVariants (MsgList &msgs) const
 
void checkMissingSymbolVariantItems (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 ComponentmComponent
 

Additional Inherited Members

- Protected Types inherited from LibraryBaseElementCheck
typedef LibraryElementCheckMessageList MsgList
 

Detailed Description

The ComponentCheck class.

Constructor & Destructor Documentation

◆ ComponentCheck() [1/3]

ComponentCheck ( )
delete

◆ ComponentCheck() [2/3]

ComponentCheck ( const ComponentCheck other)
delete

◆ ComponentCheck() [3/3]

ComponentCheck ( const Component component)
explicitnoexcept

◆ ~ComponentCheck()

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

ComponentCheck& operator= ( const ComponentCheck rhs)
delete

◆ checkMissingPrefix()

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

◆ checkMissingDefaultValue()

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

◆ checkDuplicateSignalNames()

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

◆ checkMissingSymbolVariants()

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

◆ checkMissingSymbolVariantItems()

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

Member Data Documentation

◆ mComponent

const Component& mComponent
private

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