Close

Relief for ODA Team in Ukraine

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

Checks whether a specified entity instance attributes meet Where-Rule constraints of the Defined type attribute.

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 the method execution this object contains the list of Where-Rule constraints which are violated by the specified entity instance.
  • True if the validation is passed. It means that there is no violated Where-Rule constraints within a specified application instance.
  • False if at least one Where-Rule constraint is violated within the specified application instance.
  • Unknown if the expression of one or more Where-Rule constraints are unknown or are not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.