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

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

Retrieves whether the attribute value is set or is unset.

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