Close

Relief for ODA Team in Ukraine

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

Checks whether a specified entity instance attributes meet Where-Rule constraints.

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 entity instance attributes that violate Where-Rule constraints and Where-Rule constraints theirselves.
  • True if the validation is passed. It means that there is no attributes in the specified entity instance that violates any Where-Rule constraint.
  • False if at least one entity instance attribute violaltes at least one Where-Rule constraint.
  • 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.