API Reference > OdDAI Namespace > Classes > InstanceLoader Class > InstanceLoader Methods > InstanceLoader::testAttr Method
InstanceLoader::testAttr Method
Syntax
C++
bool testAttr(const char* attrName) const;
Parameters 
Description 
explicitAttrName 
[in] An ANSI string that contains the attribute name.  

Returns true if the attribute has a value; otherwise, the method returns false (it means that the attribute value is not set).

Retrieves whether the attribute value is set or is unset.

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