API Reference > OdDAI Namespace > Classes > WhereRulesAttrsValidationTask Class > WhereRulesAttrsValidationTask Methods > WhereRulesAttrsValidationTask::validate Method
WhereRulesAttrsValidationTask::validate Method
Syntax
C++
virtual OdDAI::Logical validate(OdDAI::OdBaseInstanceValidationContext* pInstanceCtx, OdSharedPtr<InvalidValidationParamsBase>& invalidParams) override;
Parameters 
Description 
OdDAI::OdBaseInstanceValidationContext* pInstanceCtx 
[in] A raw pointer to the validation context with validate entity instance.  
InvalidValidationParams 
[out] The struct with an array of pointers to Attribute instances and WhereRule instances which values are violationg where rules of their types.  

True if all attributes with where rules are satisfied; otherwise, the method returns False.

Checks entity instance against where rules of its attributes defined types.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.