ProcPtrValue
Overview
A proc ptr value is a pointer to a method. Generally used as a parameter to a delegate call.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Values
- Ancestry: Value | ProcPtrValue
constructor
Create a new instance of this class
constructor
ProcPtrValue()
init()
ProcPtrValue()
Sub New()
Create a new instance of this class
Parameters:
- aSelf: Self value for this proc pointer. Could be a StaticValue or instance value.
- aMethod: Method to refer to
Create a new instance of this class
Parameters:
- aSelf: Self value for this proc pointer. Could be a StaticValue or instance value.
- aName: Method name to refer to
Binary (declared in Value)
Creates a binary value
method Binary(aOp: BinaryOperator; aOther: Value): Value
Value Binary(BinaryOperator aOp, Value aOther)
func Binary(_ aOp: BinaryOperator, _ aOther: Value) -> Value
Value Binary(BinaryOperator aOp, Value aOther)
Function Binary(aOp As BinaryOperator, aOther As Value) As Value
Parameters:
- aOp: Operator
- aOther: Right side value
creates an identifier value
Parameters:
- aName: Name of the value
creates an identifier value
Parameters:
- aName: Name of the value
- aArgs: Generic arguments.
Kind
Value kind; use this for a fast way of determining what kind of sub class a Value object is
property Kind: ValueKind read;
ValueKind Kind { get; }
var Kind: ValueKind { get{} }
ValueKind Kind { __get; }
ReadOnly Property Kind() As ValueKind
Length (declared in Value)
Creates a length value
method Length: Value
Value Length()
func Length() -> Value
Value Length()
Function Length() As Value
Method
Field is used.
property Method: IMethod read write;
IMethod Method { get; set; }
var Method: IMethod { get{} set{} }
IMethod Method { __get; __set; }
Property Method() As IMethod
Name
Gets or sets the name of the method to get the pointer of
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
NotNil (declared in Value)
Creates a not nil value
method NotNil: Value
Value NotNil()
func NotNil() -> Value
Value NotNil()
Function NotNil() As Value
Position (declared in Value)
Position this value is defined at (if not set, it will be at the aspects position)
property Position: IPosition read write;
IPosition Position { get; set; }
var Position: IPosition { get{} set{} }
IPosition Position { __get; __set; }
Property Position() As IPosition
Creates a call value
Parameters:
- aName: Method name
- aGP: Generic parameters to pass
- aArgs: Arguments for this call
Creates a call value
Parameters:
- aName: Method name
- aArgs: Arguments for this call
Self
Gets or sets the instance to get this pointer of
property Self: Value read write;
Value Self { get; set; }
var Self: Value { get{} set{} }
Value Self { __get; __set; }
Property Self() As Value
SubArray (declared in Value)
Creates an array/property element access value
Parameters:
- aArgs: Arguments for element access
ToProcValue
Parameters:
- Arguments:
ToString
Returns the string value of this value
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary (declared in Value)
Creates a unary value
method Unary(aOp: UnaryOperator): Value
Value Unary(UnaryOperator aOp)
func Unary(_ aOp: UnaryOperator) -> Value
Value Unary(UnaryOperator aOp)
Function Unary(aOp As UnaryOperator) As Value
Parameters:
- aOp: Operator
Kind
Value kind; use this for a fast way of determining what kind of sub class a Value object is
property Kind: ValueKind read;
ValueKind Kind { get; }
var Kind: ValueKind { get{} }
ValueKind Kind { __get; }
ReadOnly Property Kind() As ValueKind
Method
Field is used.
property Method: IMethod read write;
IMethod Method { get; set; }
var Method: IMethod { get{} set{} }
IMethod Method { __get; __set; }
Property Method() As IMethod
Name
Gets or sets the name of the method to get the pointer of
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Position (declared in Value)
Position this value is defined at (if not set, it will be at the aspects position)
property Position: IPosition read write;
IPosition Position { get; set; }
var Position: IPosition { get{} set{} }
IPosition Position { __get; __set; }
Property Position() As IPosition
Self
Gets or sets the instance to get this pointer of
constructor
Create a new instance of this class
constructor
ProcPtrValue()
init()
ProcPtrValue()
Sub New()
Create a new instance of this class
Parameters:
- aSelf: Self value for this proc pointer. Could be a StaticValue or instance value.
- aMethod: Method to refer to
Create a new instance of this class
Parameters:
- aSelf: Self value for this proc pointer. Could be a StaticValue or instance value.
- aName: Method name to refer to
Binary (declared in Value)
Creates a binary value
method Binary(aOp: BinaryOperator; aOther: Value): Value
Value Binary(BinaryOperator aOp, Value aOther)
func Binary(_ aOp: BinaryOperator, _ aOther: Value) -> Value
Value Binary(BinaryOperator aOp, Value aOther)
Function Binary(aOp As BinaryOperator, aOther As Value) As Value
Parameters:
- aOp: Operator
- aOther: Right side value
creates an identifier value
Parameters:
- aName: Name of the value
creates an identifier value
Parameters:
- aName: Name of the value
- aArgs: Generic arguments.
Length (declared in Value)
Creates a length value
method Length: Value
Value Length()
func Length() -> Value
Value Length()
Function Length() As Value
NotNil (declared in Value)
Creates a not nil value
method NotNil: Value
Value NotNil()
func NotNil() -> Value
Value NotNil()
Function NotNil() As Value
Creates a call value
Parameters:
- aName: Method name
- aGP: Generic parameters to pass
- aArgs: Arguments for this call
Creates a call value
Parameters:
- aName: Method name
- aArgs: Arguments for this call
SubArray (declared in Value)
Creates an array/property element access value
Parameters:
- aArgs: Arguments for element access
ToProcValue
Parameters:
- Arguments:
ToString
Returns the string value of this value
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Unary (declared in Value)
Creates a unary value
method Unary(aOp: UnaryOperator): Value
Value Unary(UnaryOperator aOp)
func Unary(_ aOp: UnaryOperator) -> Value
Value Unary(UnaryOperator aOp)
Function Unary(aOp As UnaryOperator) As Value
Parameters:
- aOp: Operator