Table of Contents

Class VectorOfCvString

Namespace
Emgu.CV.Util
Assembly
Emgu.CV.dll

Wrapped class of the C++ standard vector of CvString.

public class VectorOfCvString : UnmanagedVector, IAsyncDisposable, IInputOutputArray, IInputArrayOfArrays, IOutputArrayOfArrays, IOutputArray, IInputArray, IDisposable
Inheritance
VectorOfCvString
Implements
Inherited Members
Extension Methods

Constructors

VectorOfCvString()

Create an empty standard vector of CvString

public VectorOfCvString()

VectorOfCvString(params CvString[])

Create an standard vector of CvString with the initial values

public VectorOfCvString(params CvString[] values)

Parameters

values CvString[]

The initial values

VectorOfCvString(int)

Create an standard vector of CvString of the specific size

public VectorOfCvString(int size)

Parameters

size int

The size of the vector

VectorOfCvString(string[])

Create a VectorOfCvString object from an array of String

public VectorOfCvString(string[] strings)

Parameters

strings string[]

The strings to be placed in this VectorOfCvString

Properties

this[int]

Get the item in the specific index

public CvString this[int index] { get; }

Parameters

index int

The index

Property Value

CvString

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

long

Size

Get the size of the vector

public override int Size { get; }

Property Value

int

SizeOfItemInBytes

The size of the item in this Vector, counted as size in bytes.

public static int SizeOfItemInBytes { get; }

Property Value

int

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

nint

Methods

Clear()

Clear the vector

public void Clear()

DisposeObject()

Release the standard vector

protected override void DisposeObject()

GetInputArray()

Get the pointer to cv::_InputArray

public InputArray GetInputArray()

Returns

InputArray

The input array

GetInputOutputArray()

Get the pointer to cv::_InputOutputArray

public InputOutputArray GetInputOutputArray()

Returns

InputOutputArray

The input output array

GetOutputArray()

Get the pointer to cv::_OutputArray

public OutputArray GetOutputArray()

Returns

OutputArray

The output array

Push(CvString)

Push a value into the standard vector

public void Push(CvString value)

Parameters

value CvString

The value to be pushed to the vector

Push(CvString[])

Push multiple values into the standard vector

public void Push(CvString[] values)

Parameters

values CvString[]

The values to be pushed to the vector

Push(VectorOfCvString)

Push multiple values from the other vector into this vector

public void Push(VectorOfCvString other)

Parameters

other VectorOfCvString

The other vector, from which the values will be pushed to the current vector

ToArray()

Convert the standard vector to an array of String

public string[] ToArray()

Returns

string[]

An array of String