Esempio n. 1
0
 public metric_type_vector(metric_type_vector other) : this(c_csharp_metricsPINVOKE.new_metric_type_vector__SWIG_1(metric_type_vector.getCPtr(other)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public metric_type_vectorEnumerator(metric_type_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, metric_type_vector values)
 {
     c_csharp_metricsPINVOKE.metric_type_vector_SetRange(swigCPtr, index, metric_type_vector.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        public static metric_type_vector Repeat(metric_type value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.metric_type_vector_Repeat((int)value, count);
            metric_type_vector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new metric_type_vector(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public metric_type_vector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = c_csharp_metricsPINVOKE.metric_type_vector_GetRange(swigCPtr, index, count);
            metric_type_vector    ret  = (cPtr == global::System.IntPtr.Zero) ? null : new metric_type_vector(cPtr, true);

            if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(metric_type_vector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }