Close

Relief for ODA Team in Ukraine

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

Checks whether a specified instance has string attributes with incorrect widths and forms a list of such attributes.

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, this object contains an array of pointers to attributes that have incorrect widths.
  • True if the validation passes. This means that all string attributes have correct widths or the specified instance doesn't have string attributes.
  • False if any string attribute width is incorrect.
  • Unknown if the expression of any string width constraint is unknown or is not defined.
Copyright © 2002-2022. Open Design Alliance All rights reserved.