|
ITK Function Reference
(V10000.1.0.60_20160308.00) |
#include <validationrule.h>
Data Fields | |
| validation_expression_t * | attributes |
| char * | checker_name |
| tag_t | checker_obj |
| char ** | dataset_types |
| validation_events_t * | events |
| int | num_attrs |
| int | num_dataset_types |
| int | num_paras |
| validation_expression_t * | parameters |
| logical | required |
Validation Rule structure defines a rule parsed from rule file. It may be a rule that selected according to current event or a rule that defined with event class clause. A rule defined with event class clause is called an unresolved rule and must be resolved before checking validation results. One of ways to resolve an unresolved rule is to test the rule events list by target revision attribute value (defined by class clause) as current event. To ignore a rule, set checker_name[0] == '-'; To mark a rule as a resolved rule, set events = NULL and free up the memories allocated for event variable.
Definition at line 190 of file validationrule.h.
| validation_expression_t* validation_rule_s::attributes |
List of checker attributes for future enhancement
Definition at line 196 of file validationrule.h.
| char* validation_rule_s::checker_name |
When checker_name[0] == '-', the rule is marked to be ignored.
Definition at line 192 of file validationrule.h.
| tag_t validation_rule_s::checker_obj |
Validation Data object (checker)
Definition at line 191 of file validationrule.h.
| char** validation_rule_s::dataset_types |
list of dataset types
Definition at line 193 of file validationrule.h.
| validation_events_t* validation_rule_s::events |
When events != NULL, attribute class clause defined. The rule is
unresolved.
Definition at line 198 of file validationrule.h.
| int validation_rule_s::num_attrs |
Definition at line 201 of file validationrule.h.
| int validation_rule_s::num_dataset_types |
Definition at line 200 of file validationrule.h.
| int validation_rule_s::num_paras |
Definition at line 202 of file validationrule.h.
| validation_expression_t* validation_rule_s::parameters |
List of checker parameters
Definition at line 197 of file validationrule.h.
| logical validation_rule_s::required |
true: mandatory check. Pass status is expected; false: optional.
Result status ignored.
Definition at line 194 of file validationrule.h.