Class VectorOfVectorOfMat
Wrapped class of the C++ standard vector of VectorOfMat.
public class VectorOfVectorOfMat : UnmanagedVector, IDisposable, IAsyncDisposable
- Inheritance
-
VectorOfVectorOfMat
- Implements
- Inherited Members
Constructors
VectorOfVectorOfMat()
Create an empty standard vector of VectorOfMat
public VectorOfVectorOfMat()
VectorOfVectorOfMat(params VectorOfMat[])
Create an standard vector of VectorOfMat with the initial values
public VectorOfVectorOfMat(params VectorOfMat[] values)
Parameters
values
VectorOfMat[]The initial values
VectorOfVectorOfMat(int)
Create an standard vector of VectorOfMat of the specific size
public VectorOfVectorOfMat(int size)
Parameters
size
intThe size of the vector
Properties
this[int]
Get the item in the specific index
public VectorOfMat this[int index] { get; }
Parameters
index
intThe index
Property Value
- VectorOfMat
The item in the specific index
Length
The size of memory in bytes, that is needed to hold all the items in this vector
public override long Length { get; }
Property Value
Size
Get the size of the vector
public override int Size { get; }
Property Value
SizeOfItemInBytes
The size of the item in this Vector, counted as size in bytes.
public static int SizeOfItemInBytes { get; }
Property Value
StartAddress
The pointer to the first element on the vector. In case of an empty vector, IntPtr.Zero will be returned.
public override nint StartAddress { get; }
Property Value
Methods
Clear()
Clear the vector
public void Clear()
DisposeObject()
Release the standard vector
protected override void DisposeObject()
Push(VectorOfMat)
Push a value into the standard vector
public void Push(VectorOfMat value)
Parameters
value
VectorOfMatThe value to be pushed to the vector
Push(VectorOfMat[])
Push multiple values into the standard vector
public void Push(VectorOfMat[] values)
Parameters
values
VectorOfMat[]The values to be pushed to the vector
Push(VectorOfVectorOfMat)
Push multiple values from the other vector into this vector
public void Push(VectorOfVectorOfMat other)
Parameters
other
VectorOfVectorOfMatThe other vector, from which the values will be pushed to the current vector