TFPBinaryXOrOperation class
Internally used class for binary XOR logical operation
Declaration
TFPBinaryXOrOperation = class(TFPBooleanOperation)Inheritance
- TFPBinaryXOrOperation
- TFPBooleanOperation
- TFPBinaryOperation
- TFPExprNode
- TObject
Description
The TFPBinaryXOrOperation class implements the logical XOR (exclusive OR) operation between two boolean operands.
It extends TFPBooleanOperation to provide XOR-specific functionality that evaluates to True when exactly one operand is True.
The XOR operation returns True only when the operands have different boolean values (True XOR False or False XOR True), and returns False when both operands have the same value (True XOR True or False XOR False).
Unlike AND and OR operations, XOR requires evaluation of both operands since both values are needed to determine the result.
See also
Methods
GetNodeValue | protected | |
AsString | public | Get string representation of XOR operation |
Inherited
From TFPBinaryOperation (8)
CheckSameNodeTypes Create Destroy HasAggregate InitAggregate left Right UpdateAggregate
From TFPExprNode (3)
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
