Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
UniquenessRule::validate Method (const OdRxValue &, OdDAI::Schema *)
Syntax
C++
OdDAI::Logical validate(const OdRxValue & val, OdDAI::Schema * schema) const;

Checks the Uniqueness Rule within a specified schema for a specified value.

Parameters
Description
val
[in] An OdRxValue object that contains the attribute value to be validated within the specified schema.
schema
[in] A raw pointer to the schema.
  • True if the validation has been completed successfully.
  • False if any violation of the Uniqueness Rule occurs.
  • Unknown when the Uniqueness Rule expression is not defined or is incorrect or other error occurs.
Copyright © 2002-2022. Open Design Alliance All rights reserved.