コード例 #1
0
ファイル: OffsetPair.cs プロジェクト: cmears/adaptagrams
 public OffsetPair(OffsetPair p) : this(colaPINVOKE.new_OffsetPair__SWIG_2(OffsetPair.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: OffsetList.cs プロジェクト: cmears/adaptagrams
 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
ファイル: OffsetList.cs プロジェクト: cmears/adaptagrams
 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
ファイル: OffsetList.cs プロジェクト: cmears/adaptagrams
 public void Add(OffsetPair x)
 {
     colaPINVOKE.OffsetList_Add(swigCPtr, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
ファイル: OffsetList.cs プロジェクト: cmears/adaptagrams
        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
ファイル: OffsetList.cs プロジェクト: cmears/adaptagrams
        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
ファイル: OffsetPair.cs プロジェクト: amolenaar/adaptagrams
 internal static HandleRef getCPtr(OffsetPair obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #8
0
ファイル: OffsetPair.cs プロジェクト: amolenaar/adaptagrams
 public OffsetPair(OffsetPair p)
     : this(colaPINVOKE.new_OffsetPair__SWIG_2(OffsetPair.getCPtr(p)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #9
0
ファイル: OffsetPair.cs プロジェクト: cmears/adaptagrams
 internal static HandleRef getCPtr(OffsetPair obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #10
0
ファイル: OffsetList.cs プロジェクト: amolenaar/adaptagrams
 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
ファイル: OffsetList.cs プロジェクト: amolenaar/adaptagrams
 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
ファイル: OffsetList.cs プロジェクト: amolenaar/adaptagrams
 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
ファイル: OffsetList.cs プロジェクト: amolenaar/adaptagrams
 public void Add(OffsetPair x)
 {
     colaPINVOKE.OffsetList_Add(swigCPtr, OffsetPair.getCPtr(x));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #14
0
ファイル: OffsetList.cs プロジェクト: amolenaar/adaptagrams
 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;
 }