|
KiCad PCB EDA Suite
|
Result of a validation operation. More...
#include <drc_rule_editor_enums.h>
Public Member Functions | |
| void | AddError (const std::string &aError) |
| void | Merge (const VALIDATION_RESULT &aOther) |
Public Attributes | |
| bool | isValid = true |
| std::vector< std::string > | errors |
Result of a validation operation.
Used by constraint data classes to report validation errors without GUI dependencies.
Definition at line 36 of file drc_rule_editor_enums.h.
|
inline |
Definition at line 41 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 47 of file drc_rule_editor_enums.h.
| std::vector<std::string> VALIDATION_RESULT::errors |
Definition at line 39 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 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().