コード例 #1
0
 public BytesCollection(BytesCollection other) : this(msclPINVOKE.new_BytesCollection__SWIG_1(BytesCollection.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public BytesCollectionEnumerator(BytesCollection collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public MipCommandBytes(MipTypes.Command _id, BytesCollection _cmds) : this(msclPINVOKE.new_MipCommandBytes__SWIG_3((int)_id, BytesCollection.getCPtr(_cmds)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void SetRange(int index, BytesCollection values)
 {
     msclPINVOKE.BytesCollection_SetRange(swigCPtr, index, BytesCollection.getCPtr(values));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
        public static BytesCollection Repeat(Bytes value, int count)
        {
            global::System.IntPtr cPtr = msclPINVOKE.BytesCollection_Repeat(Bytes.getCPtr(value), count);
            BytesCollection       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BytesCollection(cPtr, true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public BytesCollection GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = msclPINVOKE.BytesCollection_GetRange(swigCPtr, index, count);
            BytesCollection       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BytesCollection(cPtr, true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BytesCollection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }