37 static std::shared_ptr<ERC_ITEM>
Create(
int aErrorCode );
39 static std::shared_ptr<ERC_ITEM>
Create(
const wxString& aErrorKey )
43 if( aErrorKey == item.GetSettingsKey() )
44 return std::make_shared<ERC_ITEM>( static_cast<const ERC_ITEM&>( item ) );
59 ERC_ITEM(
int aErrorCode = 0,
const wxString& aTitle =
"",
const wxString& aSettingsKey =
"" )
static ERC_ITEM unannotated
static ERC_ITEM busToNetConflict
static ERC_ITEM pinTableError
static ERC_ITEM noConnectConnected
wxString m_settingsKey
The key used to describe this type of error in settings.
bool m_sheetSpecific
True if this item is specific to a sheet instance (as opposed to applying to all instances)
static std::vector< std::reference_wrapper< RC_ITEM > > GetItemsWithSeverities()
static std::shared_ptr< ERC_ITEM > Create(int aErrorCode)
Constructs an ERC_ITEM for the given error code.
A holder for a rule check item, DRC in Pcbnew or ERC in Eeschema.
static ERC_ITEM differentUnitNet
static ERC_ITEM busLabelSyntax
static ERC_ITEM heading_conflicts
static ERC_ITEM similarLabels
static ERC_ITEM duplicateReference
static ERC_ITEM heading_connections
static ERC_ITEM heading_misc
int m_errorCode
The error code's numeric value.
static ERC_ITEM multipleNetNames
static ERC_ITEM labelDangling
static ERC_ITEM noConnectDangling
static ERC_ITEM pinTableWarning
static ERC_ITEM unresolvedVariable
void SetIsSheetSpecific(bool aSpecific=true)
static ERC_ITEM extraUnits
static ERC_ITEM pinNotDriven
static std::shared_ptr< ERC_ITEM > Create(const wxString &aErrorKey)
static ERC_ITEM duplicateSheetName
static ERC_ITEM busDefinitionConflict
static ERC_ITEM netNotBusMember
static ERC_ITEM libSymbolIssues
static ERC_ITEM powerpinNotDriven
static std::vector< std::reference_wrapper< RC_ITEM > > allItemTypes
A list of all ERC_ITEM types which are valid error codes.
static ERC_ITEM pinNotConnected
bool IsSheetSpecific() const
static ERC_ITEM differentUnitFootprint
static ERC_ITEM busToBusConflict
static ERC_ITEM hierLabelMismatch
static ERC_ITEM globalLabelDangling
static ERC_ITEM wireDangling
ERC_ITEM(int aErrorCode=0, const wxString &aTitle="", const wxString &aSettingsKey="")
static ERC_ITEM differentUnitValue
wxString m_errorTitle
The string describing the type of error.