Close

Relief for ODA Team in Ukraine

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

Checks whether the instance has attributes of with right reference types and forms a list of violated rules.

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 constraints that are violated and a list of attributes that violate constraints.
  • True if the validation passes.
  • False if any constraint is violated.
  • Unknown if the constraint expression is unknown or is not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.