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 std::string &aError)
 
void Merge (const VALIDATION_RESULT &aOther)
 

Public Attributes

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

Detailed Description

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.

Member Function Documentation

◆ AddError()

◆ Merge()

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

Definition at line 47 of file drc_rule_editor_enums.h.

References errors, and isValid.

Member Data Documentation

◆ errors

std::vector<std::string> VALIDATION_RESULT::errors

◆ isValid


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