API Reference > OdDAI Namespace > Classes > ExtentValidationTask Class > ExtentValidationTask Methods > ExtentValidationTask::validate Method
ExtentValidationTask::validate Method
Syntax
C++
virtual Logical validate(OdDAI::OdBaseInstanceValidationContext* pInstanceCtx, OdSharedPtr<InvalidValidationParamsBase>& invalidParams) = 0;
Parameters 
Description 
OdDAI::OdBaseInstanceValidationContext* pInstanceCtx 
[in] A raw pointer to the validation context with validate entity instance.  
OdSharedPtr<InvalidValidationParamsBase>& invalidParams 
[out] A pointer to InvalidValidationParamsBase which contains some information about validation problems and wrong Attribute instances.  

Result of validation.

Checks entity instance by some rules and retrieves the list of instances which are not satisfying them.

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