Esempio n. 1
0
 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();
     }
 }
Esempio n. 2
0
 public DescriptorBufferListEnumerator(DescriptorBufferList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 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();
     }
 }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
        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);
        }
Esempio n. 6
0
 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);
 }