Description | Hierarchy | Fields | Methods | Properties |
type TConstant = class(TObject)
TConstant
defines storage for a constant value such as "Abc", 1, 2.5, or True
.
![]() |
FResultString: string; |
![]() |
FResult: Pointer; |
![]() |
FResultType: TRbwDataType; |
![]() |
procedure SetResultString(const Value: string); |
![]() |
constructor Create(const DataType: TRbwDataType); overload; |
![]() |
procedure MakeDiagram(List: TStringList; Level: integer); virtual; |
![]() |
function ValueToString: string; |
![]() |
constructor Create(Value: string); overload; |
![]() |
constructor Create(const Value: Boolean); overload; |
![]() |
constructor Create(const Value: integer); overload; |
![]() |
constructor Create(const Value: double); overload; |
![]() |
destructor Destroy; override; |
![]() |
function StringResult: string; |
![]() |
function BooleanResult: boolean; |
![]() |
function IntegerResult: Integer; |
![]() |
function DoubleResult: double; |
![]() |
function Decompile: string; virtual; |
![]() |
function DecompileDisplay: string; virtual; |
![]() |
property ResultString: string read FResultString write SetResultString; |
![]() |
property ResultType: TRbwDataType read FResultType; |
![]() |
FResultString: string; |
|
![]() |
FResult: Pointer; |
|
![]() |
FResultType: TRbwDataType; |
|
![]() |
procedure SetResultString(const Value: string); |
See ResultString. |
![]() |
constructor Create(const DataType: TRbwDataType); overload; |
Create a TConstant and specify FResultType. |
![]() |
procedure MakeDiagram(List: TStringList; Level: integer); virtual; |
|
![]() |
function ValueToString: string; |
Convert the result to a string. |
![]() |
constructor Create(Value: string); overload; |
|
![]() |
constructor Create(const Value: Boolean); overload; |
|
![]() |
constructor Create(const Value: integer); overload; |
|
![]() |
constructor Create(const Value: double); overload; |
|
![]() |
destructor Destroy; override; |
|
![]() |
function StringResult: string; |
|
![]() |
function BooleanResult: boolean; |
|
![]() |
function IntegerResult: Integer; |
|
![]() |
function DoubleResult: double; |
|
![]() |
function Decompile: string; virtual; |
|
![]() |
function DecompileDisplay: string; virtual; |
![]() |
property ResultString: string read FResultString write SetResultString; |
if FResultType is rdtString, ResultString is the string that is stored. |
![]() |
property ResultType: TRbwDataType read FResultType; |
|