public VectorDescriptor(VectorDescriptor other) : this(PapillonPINVOKE.new_VectorDescriptor__SWIG_1(VectorDescriptor.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public VectorDescriptorEnumerator(VectorDescriptor collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VectorDescriptor values) { PapillonPINVOKE.VectorDescriptor_SetRange(swigCPtr, index, VectorDescriptor.getCPtr(values)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public static VectorDescriptor Repeat(PDescriptor value, int count) { global::System.IntPtr cPtr = PapillonPINVOKE.VectorDescriptor_Repeat(PDescriptor.getCPtr(value), count); VectorDescriptor ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorDescriptor(cPtr, true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VectorDescriptor GetRange(int index, int count) { global::System.IntPtr cPtr = PapillonPINVOKE.VectorDescriptor_GetRange(swigCPtr, index, count); VectorDescriptor ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorDescriptor(cPtr, true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorDescriptor obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }