API Reference > OdDAI Namespace > Classes > RequiredExplicitAttrsAssignedValidationTask Class > RequiredExplicitAttrsAssignedValidationTask Methods > RequiredExplicitAttrsAssignedValidationTask::validate Method
RequiredExplicitAttrsAssignedValidationTask::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 Attribute instances which are unset for the application instance. 

True if all mandatory attributes of an instance are set; the method returns False if at least one mandatory attribute of an instance is unset.

Checks whether the instance has unset mandatory attributes and retrieves the list of such attributes.

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