Close
Relief for ODA Team in Ukraine
Learn more
ODA IFC SDK
API Reference
>
OdDAI Namespace
>
Classes
>
UniquenessRule Class
>
UniquenessRule Methods
>
validate Method
>
UniquenessRule::validate Method (const OdRxValue &, OdDAI::Schema *)
UniquenessRule::validate Method (const OdRxValue &, OdDAI::Schema *)
Syntax
C++
OdDAI::Logical
validate
(
const
OdRxValue &
val
,
OdDAI::Schema
*
schema
)
const
;
Description
Checks the Uniqueness Rule within a specified
schema
for a specified value.
Parameters
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
.
Returns
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.
Links
UniquenessRule Class
OdDAI Namespace
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!