API Reference > Functions > SDAI > sdaiTestAttr Function
sdaiTestAttr Function
Syntax
C++
DAI_EXPORT SdaiBoolean sdaiTestAttr(SdaiInstance instance, SdaiAttr attribute);

sdai.h

Parameters 
Description 
SdaiInstance instance 
[in] An instance of the entity whose attribute is being tested.  
SdaiAttr attribute 
[in] An SdaiAttr instance from the SDAI dictionary.  

sdaiTRUE if the attribute has a value or sdaiFALSE if the attribute value is not set.

Determines whether the value of a specified attribute is unset.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.