KiCad PCB EDA Suite
Loading...
Searching...
No Matches
VALIDATION_RESULT Struct Reference

Result of a validation operation. More...

#include <drc_rule_editor_enums.h>

Public Member Functions

void AddError (const wxString &aError)
 
void Merge (const VALIDATION_RESULT &aOther)
 

Public Attributes

bool isValid = true
 
std::vector< wxString > errors
 

Detailed Description

Result of a validation operation.

Used by constraint data classes to report validation errors without GUI dependencies.

Definition at line 35 of file drc_rule_editor_enums.h.

Member Function Documentation

◆ AddError()

◆ Merge()

void VALIDATION_RESULT::Merge ( const VALIDATION_RESULT & aOther)
inline

Definition at line 46 of file drc_rule_editor_enums.h.

References errors, and isValid.

Member Data Documentation

◆ errors

◆ isValid


The documentation for this struct was generated from the following file: