VectorInt.Implicit Operator

Overload List

#SignatureDescription
1class operator Implicit(const AValue: VectorInt): TMtxVecBase;Implicit type conversion from VectorInt to TMtxVecBase.
2class operator Implicit(const AValue: VectorInt): TMtxVecInt;Implicit type conversion from VectorInt to TMtxVecInt.
3class operator Implicit(const AValue: VectorInt): TVecInt;Implicit type conversion from VectorInt to TVecInt.
4class operator Implicit(const a: VectorInt): Byte};Implicit conversion from VectorInt to Span<Byte>.
5class operator Implicit(const a: VectorInt): Int16};Implicit conversion from VectorInt to Span<SmallInt>.
6class operator Implicit(const a: VectorInt): Int32};Implicit conversion from VectorInt to Span<Integer>.
7class operator Implicit(const AValue: TIntegerArray): VectorInt;Implicit type conversion from an array of integer to VectorInt.
8class operator Implicit(const AValue: Int32}): VectorInt;Implicit type conversion from Span to VectorInt.

Overload 1: class operator Implicit(const AValue: VectorInt): TMtxVecBase;

Implicit type conversion from VectorInt to TMtxVecBase.

#NameTypeDescription
1AValueVectorInt

Returns: TMtxVecBase

Remarks:

Returns a pointer to the internal TVecInt object.

Overload 2: class operator Implicit(const AValue: VectorInt): TMtxVecInt;

Implicit type conversion from VectorInt to TMtxVecInt.

#NameTypeDescription
1AValueVectorInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Returns a pointer to the internal TVecInt object.

Overload 3: class operator Implicit(const AValue: VectorInt): TVecInt;

Implicit type conversion from VectorInt to TVecInt.

#NameTypeDescription
1AValueVectorInt

Result: stored in self (calling object), returns self for chaining

Remarks:

Returns a pointer to the internal TVecInt object.

Overload 4: class operator Implicit(const a: VectorInt): Byte};

Implicit conversion from VectorInt to Span<Byte>.

#NameTypeDescription
1aVectorInt

Returns: Byte}

Overload 5: class operator Implicit(const a: VectorInt): Int16};

Implicit conversion from VectorInt to Span<SmallInt>.

#NameTypeDescription
1aVectorInt

Returns: Int16}

Overload 6: class operator Implicit(const a: VectorInt): Int32};

Implicit conversion from VectorInt to Span<Integer>.

#NameTypeDescription
1aVectorInt

Returns: Int32}

Overload 7: class operator Implicit(const AValue: TIntegerArray): VectorInt;

Implicit type conversion from an array of integer to VectorInt.

#NameTypeDescription
1AValueTIntegerArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Copies array and resizes resulting vector. Example of usage in Delphi XE7 and newer:

var a: VectorInt;
begin
a := [1,2,3,4,5];
a := [1,2,3,4] + [1,2]; //the + here is "column concatenation" a := [1,2,3,4] + a; //operator not applicable (it wont compile) end;

Overload 8: class operator Implicit(const AValue: Int32}): VectorInt;

Implicit type conversion from Span to VectorInt.

#NameTypeDescription
1AValueInt32}

Result: stored in self (calling object), returns self for chaining