API Reference > OdDAI Namespace > Classes > Validator Class
Validator Class
OdDAI__Validator
Syntax
C++
class Validator : public OdRxObject;

daiValidator.h

A class which implements functionality for working with validation classes.

details Creates a new validator with default parameters. 
Defines which validation results will be show by notifier classes. 
Defines which validation types will be checked. 
Adds extent validation task to list of validation tasks.  
Adds instanse validation task to list of validation tasks.  
Adds model validation task to list of validation tasks.  
Adds model validation notifier to list of notifiers.  
Adds instance, extent or model validation task to tasks list.  
Removes all extent validation tasks. 
Removes all instance validation tasks. 
Removes all model validation tasks. 
Removes all notifiers. 
Removes all instance and model validation tasks. 
details Creates a new validator definition with a specified Model.  
Retrieves the count of extent validation tasks in validator.  
Retrieves the count of instance validation tasks in validator.  
Retrieves is validation errors healing enable.  
Retrieves the count of model validation tasks in validator.  
run 
Starts execution of validation tasks which assigned to validator. 
Sets the list of extent validation tasks for validation.  
Sets the healing errors after validation.  
Sets new validation context for all instances and extents validations.  
Sets the list of instance validation tasks for validation.  
Sets a new Model for the validator class.  
Sets new validation context for all model validations.  
Sets the list of model validation tasks for validation.  
Sets the list of model validation notifiers.  
Sets type of validation result which will be show by notifier classe.  
Sets a new progress meter for the validator class.  
Sets which will be checked on run.  
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.