示例#1
0
 public void AddRange(vector_index_metrics values)
 {
     c_csharp_metricsPINVOKE.vector_index_metrics_AddRange(swigCPtr, vector_index_metrics.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
        public static vector_index_metrics Repeat(index_metric value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.vector_index_metrics_Repeat(index_metric.getCPtr(value), count);
            vector_index_metrics  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_index_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
        public vector_index_metrics GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.vector_index_metrics_GetRange(swigCPtr, index, count);
            vector_index_metrics  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_index_metrics(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
        public vector_index_metrics metrics()
        {
            vector_index_metrics ret = new vector_index_metrics(c_csharp_metricsPINVOKE.base_index_metrics_metrics(swigCPtr), false);

            return(ret);
        }
示例#5
0
        public vector_index_metrics metrics_for_cycle(uint cycle)
        {
            vector_index_metrics ret = new vector_index_metrics(c_csharp_metricsPINVOKE.base_index_metrics_metrics_for_cycle(swigCPtr, cycle), true);

            return(ret);
        }
示例#6
0
        public vector_index_metrics metrics_for_lane(uint lane)
        {
            vector_index_metrics ret = new vector_index_metrics(c_csharp_metricsPINVOKE.base_index_metrics_metrics_for_lane__SWIG_0(swigCPtr, lane), true);

            return(ret);
        }
示例#7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_index_metrics obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }