Close
Relief for ODA Team in Ukraine
Learn more
ODA IFC SDK
API Reference
>
OdDAI Namespace
>
Classes
>
ExtentValidationTask Class
>
ExtentValidationTask Methods
>
ExtentValidationTask::validate Method
ExtentValidationTask::validate Method
Syntax
C++
virtual
Logical
validate
(
OdDAI::InstanceValidationContext
*
pInstanceCtx
, OdSharedPtr<
InvalidValidationParamsBase
>&
invalidParams
) = 0;
Description
Checks constraints for a specified entity instance and forms a list of violated constraints.
Parameters
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, it contains a list of constraints that are violated.
Returns
True
if the validation passes.
False
if any constraint is violated.
Unknown
if the constraint expression is unknown or is not defined.
Links
ExtentValidationTask 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!