52    void GetValue( wxVariant& aVariant, wxDataViewItem 
const& aItem,
 
   53                   unsigned int aCol ) 
const override;
 
 
   63    static std::shared_ptr<ERC_ITEM> 
Create( 
int aErrorCode );
 
   65    static std::shared_ptr<ERC_ITEM> 
Create( 
const wxString& aErrorKey )
 
   69            if( aErrorKey == item.GetSettingsKey() )
 
   70                return std::make_shared<ERC_ITEM>( 
static_cast<const ERC_ITEM&
>( item ) );
 
 
   78        static std::vector<std::reference_wrapper<RC_ITEM>> itemsWithSeverities;
 
   80        if( itemsWithSeverities.empty() )
 
   87                itemsWithSeverities.push_back( item );
 
   91        return itemsWithSeverities;
 
 
  182    ERC_ITEM( 
int aErrorCode = 0, 
const wxString& aTitle = 
"", 
const wxString& aSettingsKey = 
"" )
 
 
 
The base class for create windows for drawing purpose.
 
static ERC_ITEM differentUnitValue
 
std::optional< SCH_SHEET_PATH > m_mainItemSheet
 
static ERC_ITEM busToBusConflict
 
static ERC_ITEM labelMultipleWires
 
static ERC_ITEM pinTableWarning
 
static std::shared_ptr< ERC_ITEM > Create(const wxString &aErrorKey)
 
static ERC_ITEM footprintLinkIssues
 
const SCH_SHEET_PATH & GetSpecificSheetPath() const
Gets the SCH_SHEET_PATH this ERC item is bound to.
 
static ERC_ITEM unresolvedVariable
 
static ERC_ITEM duplicateSheetName
 
static ERC_ITEM noConnectDangling
 
static ERC_ITEM busDefinitionConflict
 
static ERC_ITEM fourWayJunction
 
static ERC_ITEM genericError
 
static ERC_ITEM libSymbolIssues
 
SCH_SHEET_PATH & GetMainItemSheetPath()
Gets the SCH_SHEET_PATH of the main item causing this ERC violation.
 
static ERC_ITEM pinNotDriven
 
static ERC_ITEM undefinedNetclass
 
static ERC_ITEM extraUnits
 
bool AuxItemHasSheetPath()
Determines whether the auxiliary item causing this ERC violation has a specific SCH_SHEET_PATH bindin...
 
static ERC_ITEM heading_conflicts
 
void SetSheetSpecificPath(const SCH_SHEET_PATH &aSpecificSheet)
Sets the SCH_SHEET_PATH this ERC item is bound to.
 
static std::shared_ptr< ERC_ITEM > Create(int aErrorCode)
Constructs an ERC_ITEM for the given error code.
 
static ERC_ITEM noConnectConnected
 
static ERC_ITEM heading_misc
 
static ERC_ITEM endpointOffGrid
 
static ERC_ITEM isolatedPinLabel
 
static ERC_ITEM busToNetConflict
 
static ERC_ITEM differentUnitFootprint
 
bool MainItemHasSheetPath()
Determines whether the main item causing this ERC violation has a specific SCH_SHEET_PATH binding.
 
static ERC_ITEM sameLocalGlobalLabel
 
static ERC_ITEM hierLabelMismatch
 
static ERC_ITEM heading_connections
 
static ERC_ITEM missingUnits
 
static ERC_ITEM similarLabels
 
static ERC_ITEM unconnectedWireEndpoint
 
static ERC_ITEM heading_internal
 
static std::vector< std::reference_wrapper< RC_ITEM > > allItemTypes
A list of all ERC_ITEM types which are valid error codes.
 
void SetItemsSheetPaths(const SCH_SHEET_PATH &mainItemSheet)
Sets the SCH_SHEET_PATH of the main item causing this ERC violation to (e.g.
 
static std::vector< std::reference_wrapper< RC_ITEM > > GetItemsWithSeverities()
 
static ERC_ITEM labelDangling
 
static ERC_ITEM differentUnitNet
 
static ERC_ITEM pinTableError
 
static ERC_ITEM similarLabelAndPower
 
static ERC_ITEM groundPinNotGround
 
static ERC_ITEM genericWarning
 
static ERC_ITEM footprintFilters
 
static ERC_ITEM netNotBusMember
 
static ERC_ITEM wireDangling
 
ERC_ITEM(int aErrorCode=0, const wxString &aTitle="", const wxString &aSettingsKey="")
 
static ERC_ITEM powerpinNotDriven
 
static ERC_ITEM missingPowerInputPin
 
std::optional< SCH_SHEET_PATH > m_sheetSpecificPath
True if this item is specific to a sheet instance (as opposed to applying to all instances)
 
static ERC_ITEM missingBidiPin
 
bool IsSheetSpecific() const
Determines whether the ERC item is bound to a specific sheet, or is common across multiple sheets (e....
 
static ERC_ITEM unannotated
 
void SetItemsSheetPaths(const SCH_SHEET_PATH &mainItemSheet, const SCH_SHEET_PATH &auxItemSheet)
Set the SCH_SHEET PATHs of the main and auxiliary items causing this ERC violation to (e....
 
static ERC_ITEM missingInputPin
 
static ERC_ITEM singleGlobalLabel
 
static ERC_ITEM busEntryNeeded
 
static ERC_ITEM simulationModelIssues
 
std::optional< SCH_SHEET_PATH > m_auxItemSheet
 
SCH_SHEET_PATH & GetAuxItemSheetPath()
Gets the SCH_SHEET_PATH of the auxiliary item causing this ERC violation.
 
static ERC_ITEM multipleNetNames
 
static ERC_ITEM similarPower
 
static ERC_ITEM pinNotConnected
 
static ERC_ITEM stackedPinName
 
static ERC_ITEM libSymbolMismatch
 
static ERC_ITEM duplicateReference
 
static ERC_ITEM duplicatePinError
 
ERC_TREE_MODEL(EDA_DRAW_FRAME *aParentFrame, wxDataViewCtrl *aView)
 
void GetValue(wxVariant &aVariant, wxDataViewItem const &aItem, unsigned int aCol) const override
Override of RC_TREE_MODEL::GetValue which returns item descriptions in a specific SCH_SHEET_PATH cont...
 
wxString m_settingsKey
The key used to describe this type of error in settings.
 
int m_errorCode
The error code's numeric value.
 
wxString m_errorTitle
The string describing the type of error.
 
RC_TREE_MODEL(EDA_DRAW_FRAME *aParentFrame, wxDataViewCtrl *aView)
 
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
 
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.