TFPOrderingOperation class
Internally used class for ordering comparison operations
Declaration
TFPOrderingOperation = class(TFPBooleanResultOperation)Inheritance
- TFPOrderingOperation
- TFPBooleanResultOperation
- TFPBinaryOperation
- TFPExprNode
- TObject
Descends from it: TFPGreaterThanOperation TFPLessThanOperation
Description
The TFPOrderingOperation class is the base class for comparison operations that determine the ordering relationship between two values.
It extends TFPBooleanResultOperation to provide the foundation for less-than, greater-than, and related comparison operations.
The class handles the common aspects of ordering comparisons such as type checking and ensuring that the operands can be meaningfully compared. It provides the framework for operations that determine relative order rather than equality.
Derived classes implement specific ordering operations like <, >, <=, and >= while leveraging the common ordering infrastructure for validation and type management.
This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.
See also
Methods
Check | public | Validate the ordering operation for correctness |
Inherited
From TFPBooleanResultOperation (1)
From TFPBinaryOperation (8)
CheckSameNodeTypes Create Destroy HasAggregate InitAggregate left Right UpdateAggregate
From TFPExprNode (5)
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.
