コード例 #1
0
 public index_info_vector(index_info_vector other) : this(c_csharp_metricsPINVOKE.new_index_info_vector__SWIG_1(index_info_vector.getCPtr(other)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public index_info_vectorEnumerator(index_info_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
 public index_metric(uint lane, uint tile, uint read, index_info_vector indices) : this(c_csharp_metricsPINVOKE.new_index_metric__SWIG_2(lane, tile, read, index_info_vector.getCPtr(indices)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void SetRange(int index, index_info_vector values)
 {
     c_csharp_metricsPINVOKE.index_info_vector_SetRange(swigCPtr, index, index_info_vector.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
        public static index_info_vector Repeat(index_info value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.index_info_vector_Repeat(index_info.getCPtr(value), count);
            index_info_vector     ret  = (cPtr == global::System.IntPtr.Zero) ? null : new index_info_vector(cPtr, true);

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

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

            return(ret);
        }