|
KiCad PCB EDA Suite
|
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 |
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.
|
inline |
Definition at line 40 of file drc_rule_editor_enums.h.
References errors, and isValid.
Referenced by DRC_RULE_EDITOR_UTILS::ValidateAtLeastOneSelected(), DRC_RULE_EDITOR_UTILS::ValidateMinMax(), DRC_RULE_EDITOR_UTILS::ValidateMinPreferredMax(), DRC_RULE_EDITOR_UTILS::ValidateNumericString(), DRC_RULE_EDITOR_UTILS::ValidateNumericValue(), and DRC_RULE_EDITOR_UTILS::ValidateSelection().
|
inline |
Definition at line 46 of file drc_rule_editor_enums.h.
| std::vector<wxString> VALIDATION_RESULT::errors |
Definition at line 38 of file drc_rule_editor_enums.h.
Referenced by AddError(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and Merge().
| bool VALIDATION_RESULT::isValid = true |
Definition at line 37 of file drc_rule_editor_enums.h.
Referenced by AddError(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and Merge().