Query enabled status of an icet feature.
#include <IceT.h>
IceTBoolean icetIsEnabled( | IceTEnum | pname | ); |
---|
Returns ICET_TRUE if the feature associated with pname is enabled, ICET_FALSE $(= 0)$ if the feature is disabled.
ICET_INVALID_VALUE
If pname is not a feature to be enabled or disabled.
None.
The check for a valid pname is not thorough, and thus the ICET_INVALID_VALUE error may not always be raised.
A list of valid values for pname is given in the documentation for icetEnable.
Copyright (C)2003 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This source code is released under the New BSD License.