Interface IEvalResult
Unit
Neslib.Clang
Declaration
type IEvalResult = interface(IInterface)
Description
Evaluation result of a cursor
Attributes
- GUID['{B7FB1524-EE99-4FCF-BD70-D8FEB39D8D64}']
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
function GetAsInt: Integer; |
|
 |
function GetAsInt64: Int64; |
|
 |
function GetIsUnsignedInt: Boolean; |
|
 |
function GetAsUnsigned: UInt64; |
|
 |
function GetAsDouble: Double; |
|
 |
function GetAsString: String; |
|
 |
function GetHandle: TCXEvalResult; |
|
Properties
 |
property AsInt: Integer read GetAsInt; |
The evaluation result as integer if the Kind is Int.
|
 |
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.
|
 |
property IsUnsignedInt: Boolean read GetIsUnsignedInt; |
Whether the Kind is Int and the evaluation result resulted in an unsigned integer.
|
 |
property AsDouble: Double read GetAsDouble; |
The evaluation result as double if the Kind is Float.
|
 |
property AsString: String read GetAsString; |
The evaluation result as a constant string if the Kind is other than Int or Float.
|
 |
property Handle: TCXEvalResult read GetHandle; |
Internal handle to C API
|
Generated by PasDocEx, based on PasDoc 0.14.0.
|