LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
if_ercmsgprovider.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IF_ErcMsgProvider
 The IF_ErcMsgProvider class. More...
 

Namespaces

 librepcb
 
 librepcb::project
 

Macros

#define DECLARE_ERC_MSG_CLASS_NAME(msgOwnerClassName)
 

Macro Definition Documentation

#define DECLARE_ERC_MSG_CLASS_NAME (   msgOwnerClassName)
Value:
public: \
virtual const char* getErcMsgOwnerClassName() const noexcept override { \
return #msgOwnerClassName; \
} \
\
private:
Note
The specified class name should be unique only in the namespace #project, so we won't use the namespace as a prefix. Simple use the class name.
Warning
Do not change the name of an existing class if you don't know what you're doing!