API Reference > OdDAI Namespace > Classes > Logical Class
Logical Class
OdDAI__Logical
Syntax
C++
class Logical;

daiPrimitive.h

A class that represents the SDAI primitive Boolean data type.

This is the overview for the Logical constructor overload. 
A constant that implements the False value for the Logical data type. 
True 
A constant that implements the True value for the Logical data type. 
A constant that implements the value Unknown for the Logical data type. 
A constant that implements the undefined (unset) value for the Logical data type. 
Checks whether the Logical object has a defined value (whether the value is set).  
Flashes the Logical object to the undefined (unset) value. After calling this method the exists() method returns 0. 
! 
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.
 
!= 
 
&& 
An intersection ("AND") operator for the Logical data type.  
^ 
A "XOR" operator for the Logical data type.  
|| 
A union ("OR") operator for the Logical data type.  
= 
This is the overview for the = operator overload. 
== 
An equality operator for the Logical data type.  
Casts the Logical object's value to the value of the Logical_ enumeration value. 
Casts the Logical object's value to an ANSI string
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.