API Reference > OdDAI Namespace > Classes > Logical Class > Logical Operators > Logical::! Operator
Logical::! Operator
Syntax
C++
Logical operator !() const;

The Logical object that has the inverted value.

A negation ("NOT") operator for the Logical data type. Inverts the Logical object value:

  • from True into False.
  • from False into True
  • in all other cases the operator returns the Unknown value.

Implementation according to the ISO 10303-11, 12.4.1.

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