Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
RequiredExplicitAttrsAssignedValidationTask::validate Method
Syntax
C++
OdDAI::Logical validate(OdDAI::InstanceValidationContext* pInstanceCtx, OdSharedPtr<InvalidValidationParamsBase>& invalidParams) final;

Checks whether a specified instance has mandatory attributes with unset values and forms a list of such attributes, if any.

Parameters
Description
pInstanceCtx
[in] A raw pointer to the instance validation context object that contains an entity instance to be validated.
invalidParams
[out] A shared pointer to an InvalidValidationParamsBase object. After method execution, this object contains a list of the instance's mandatory attributes that have unset values.
  • True if the validation passes. This means that all the instance's mandatory attributes have a value.
  • False if the value of at least one of the instance's mandatory attributes is not set.
Copyright © 2002-2022. Open Design Alliance All rights reserved.