API Reference > OdDAI Namespace > Classes > WhereRulesEntitiesValidationTask Class > WhereRulesEntitiesValidationTask Methods > WhereRulesEntitiesValidationTask::validate Method
WhereRulesEntitiesValidationTask::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.  
OdSharedPtr<InvalidValidationParamsBase>& invalidParams 
[out] The struct with an array of pointers to WhereRule instances which values are violationg where rules of their entity instances.  

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

Checks application instance against where rules of its entity type.

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