Example #1
0
 public OffsetPair(OffsetPair p) : this(colaPINVOKE.new_OffsetPair__SWIG_2(OffsetPair.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #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();
     }
 }
Example #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();
     }
 }
Example #4
0
 public void Add(OffsetPair x)
 {
     colaPINVOKE.OffsetList_Add(swigCPtr, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
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);
        }