/// <summary> /// Create the standard vector of VectorOfDMatch /// </summary> public VectorOfVectorOfDMatch(MDMatch[][] values) : this() { using (VectorOfDMatch v = new VectorOfDMatch()) { for (int i = 0; i < values.Length; i++) { v.Push(values[i]); Push(v); v.Clear(); } } }
/// <summary> /// Convert the standard vector to arrays of int /// </summary> /// <returns>Arrays of int</returns> public MDMatch[][] ToArrayOfArray() { int size = Size; MDMatch[][] res = new MDMatch[size][]; for (int i = 0; i < size; i++) { using (VectorOfDMatch v = this[i]) { res[i] = v.ToArray(); } } return res; }
public DebuggerProxy(VectorOfDMatch v) { _v = v; }
/// <summary> /// Push multiple values from the other vector into this vector /// </summary> /// <param name="other">The other vector, from which the values will be pushed to the current vector</param> public void Push(VectorOfDMatch other) { VectorOfDMatchPushVector(_ptr, other); }
/// <summary> /// Push a value into the standard vector /// </summary> /// <param name="value">The value to be pushed to the vector</param> public void Push(VectorOfDMatch value) { VectorOfVectorOfDMatchPush(_ptr, value.Ptr); }