Close
Relief for ODA Team in Ukraine
Learn more
ODA IFC SDK
API Reference
>
OdDAI Namespace
>
Classes
>
GlobalRulesValidationTask Class
>
GlobalRulesValidationTask Methods
>
GlobalRulesValidationTask::validate Method
GlobalRulesValidationTask::validate Method
Syntax
C++
OdDAI::Logical
validate
(
OdDAI::ValidationContext
*
pCtx
, OdSharedPtr<
InvalidValidationParamsBase
>&
invalidParams
) final;
Description
Checks a model's global rules and forms a list of violated rules.
Parameters
Parameters
Description
pCtx
[in] A raw pointer to the
validation context
object that contains a model to be validated.
invalidParams
[out] A shared pointer to an
InvalidValidationParamsBase
object. After method execution, it contains a list of global rules that are violated.
Returns
True
if the validation passes.
False
if any global rule constraint is violated.
Unknown
if the constraint expression is unknown or is not defined.
Links
GlobalRulesValidationTask 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!