Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
sdaiValidateAttrTypes Function
Syntax
C++
DAI_EXPORT SdaiLogical sdaiValidateAttrTypes(SdaiAppInstance instance, SdaiNPL list);

Validate explicit attributes references whether all of the entity instances that are values of attributes of the specified application instance are of a valid entity data type for those attributes. Retrieves the non-persistent list of those attributes that does not conform to the validation.

Parameters
Description
instance
[in] Identifier of the application instance to be validated.
list
[out] An identifier of a pre-existing NPL to which the SdaiAttr identifiers of those attributes are appended that do not conform to the validation.
  • sdaiTRUE if all entity-valued attributes have instance values of a correct type;
  • sdaiFALSE if any entity-valued attribute has an instance value of an incorrect type;
  • sdaiUNKNOWN if any required explicit attribute value is unset that could reference an entity instance;

File: sdai.h

Copyright © 2002-2022. Open Design Alliance All rights reserved.