Interface IEvalResult

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type IEvalResult = interface(IInterface)

Description

Evaluation result of a cursor

Attributes
GUID['{B7FB1524-EE99-4FCF-BD70-D8FEB39D8D64}']

Hierarchy

  • IInterface
  • IEvalResult

Overview

Methods

Public function GetKind: TEvalResultKind;
Public function GetAsInt: Integer;
Public function GetAsInt64: Int64;
Public function GetIsUnsignedInt: Boolean;
Public function GetAsUnsigned: UInt64;
Public function GetAsDouble: Double;
Public function GetAsString: String;
Public function GetHandle: TCXEvalResult;

Properties

Public property Kind: TEvalResultKind read GetKind;
Public property AsInt: Integer read GetAsInt;
Public property AsInt64: Int64 read GetAsInt64;
Public property IsUnsignedInt: Boolean read GetIsUnsignedInt;
Public property AsUnsigned: UInt64 read GetAsUnsigned;
Public property AsDouble: Double read GetAsDouble;
Public property AsString: String read GetAsString;
Public property Handle: TCXEvalResult read GetHandle;

Description

Methods

Public function GetKind: TEvalResultKind;
 
Public function GetAsInt: Integer;
 
Public function GetAsInt64: Int64;
 
Public function GetIsUnsignedInt: Boolean;
 
Public function GetAsUnsigned: UInt64;
 
Public function GetAsDouble: Double;
 
Public function GetAsString: String;
 
Public function GetHandle: TCXEvalResult;
 

Properties

Public property Kind: TEvalResultKind read GetKind;

The kind of the evaluated result.

Public property AsInt: Integer read GetAsInt;

The evaluation result as integer if the Kind is Int.

Public property AsInt64: Int64 read GetAsInt64;

Returns the evaluation result as an Int64 if the Kind is Int. This prevents overflows that may happen if the result is returned with AsInt.

Public property IsUnsignedInt: Boolean read GetIsUnsignedInt;

Whether the Kind is Int and the evaluation result resulted in an unsigned integer.

Public property AsUnsigned: UInt64 read GetAsUnsigned;

The evaluation result as an unsigned integer if the Kind is Int and IsUnsignedInt is True.

Public property AsDouble: Double read GetAsDouble;

The evaluation result as double if the Kind is Float.

Public property AsString: String read GetAsString;

The evaluation result as a constant string if the Kind is other than Int or Float.

Public property Handle: TCXEvalResult read GetHandle;

Internal handle to C API


Generated by PasDocEx, based on PasDoc 0.14.0.