public DescriptorBufferList(DescriptorBufferList other) : this(solar_datastructurePINVOKE.new_DescriptorBufferList__SWIG_1(DescriptorBufferList.getCPtr(other)), true) { if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public DescriptorBufferListEnumerator(DescriptorBufferList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, DescriptorBufferList values) { solar_datastructurePINVOKE.DescriptorBufferList_SetRange(swigCPtr, index, DescriptorBufferList.getCPtr(values)); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public static DescriptorBufferList Repeat(DescriptorBuffer value, int count) { global::System.IntPtr cPtr = solar_datastructurePINVOKE.DescriptorBufferList_Repeat(DescriptorBuffer.getCPtr(value), count); DescriptorBufferList ret = (cPtr == global::System.IntPtr.Zero) ? null : new DescriptorBufferList(cPtr, true); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public DescriptorBufferList GetRange(int index, int count) { global::System.IntPtr cPtr = solar_datastructurePINVOKE.DescriptorBufferList_GetRange(swigCPtr, index, count); DescriptorBufferList ret = (cPtr == global::System.IntPtr.Zero) ? null : new DescriptorBufferList(cPtr, true); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DescriptorBufferList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }