示例#1
0
 public OffsetPair(OffsetPair p) : this(colaPINVOKE.new_OffsetPair__SWIG_2(OffsetPair.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public void Insert(int index, OffsetPair x)
 {
     colaPINVOKE.OffsetList_Insert(swigCPtr, index, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 private void setitem(int index, OffsetPair val)
 {
     colaPINVOKE.OffsetList_setitem(swigCPtr, index, OffsetPair.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void Add(OffsetPair x)
 {
     colaPINVOKE.OffsetList_Add(swigCPtr, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        private OffsetPair getitem(int index)
        {
            OffsetPair ret = new OffsetPair(colaPINVOKE.OffsetList_getitem(swigCPtr, index), false);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public static OffsetList Repeat(OffsetPair value, int count)
        {
            IntPtr     cPtr = colaPINVOKE.OffsetList_Repeat(OffsetPair.getCPtr(value), count);
            OffsetList ret  = (cPtr == IntPtr.Zero) ? null : new OffsetList(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
 internal static HandleRef getCPtr(OffsetPair obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#8
0
 public OffsetPair(OffsetPair p)
     : this(colaPINVOKE.new_OffsetPair__SWIG_2(OffsetPair.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#9
0
 internal static HandleRef getCPtr(OffsetPair obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#10
0
 private void setitem(int index, OffsetPair val)
 {
     colaPINVOKE.OffsetList_setitem(swigCPtr, index, OffsetPair.getCPtr(val));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#11
0
 private OffsetPair getitemcopy(int index)
 {
     OffsetPair ret = new OffsetPair(colaPINVOKE.OffsetList_getitemcopy(swigCPtr, index), true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#12
0
 public void Insert(int index, OffsetPair x)
 {
     colaPINVOKE.OffsetList_Insert(swigCPtr, index, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#13
0
 public void Add(OffsetPair x)
 {
     colaPINVOKE.OffsetList_Add(swigCPtr, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#14
0
 public static OffsetList Repeat(OffsetPair value, int count)
 {
     IntPtr cPtr = colaPINVOKE.OffsetList_Repeat(OffsetPair.getCPtr(value), count);
     OffsetList ret = (cPtr == IntPtr.Zero) ? null : new OffsetList(cPtr, true);
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }