public VectorDescription(VectorDescription other) : this(PapillonPINVOKE.new_VectorDescription__SWIG_1(VectorDescription.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public VectorDescriptionEnumerator(VectorDescription collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, VectorDescription values) { PapillonPINVOKE.VectorDescription_SetRange(swigCPtr, index, VectorDescription.getCPtr(values)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public static VectorDescription Repeat(PDescription value, int count) { global::System.IntPtr cPtr = PapillonPINVOKE.VectorDescription_Repeat(PDescription.getCPtr(value), count); VectorDescription ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorDescription(cPtr, true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VectorDescription GetRange(int index, int count) { global::System.IntPtr cPtr = PapillonPINVOKE.VectorDescription_GetRange(swigCPtr, index, count); VectorDescription ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorDescription(cPtr, true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(VectorDescription obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }