Exemple #1
0
 public metric_type_description_vector(metric_type_description_vector other) : this(c_csharp_metricsPINVOKE.new_metric_type_description_vector__SWIG_1(metric_type_description_vector.getCPtr(other)), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public metric_type_description_vectorEnumerator(metric_type_description_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, metric_type_description_vector values)
 {
     c_csharp_metricsPINVOKE.metric_type_description_vector_SetRange(swigCPtr, index, metric_type_description_vector.getCPtr(values));
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
        public static metric_type_description_vector Repeat(metric_type_description value, int count)
        {
            global::System.IntPtr          cPtr = c_csharp_metricsPINVOKE.metric_type_description_vector_Repeat(metric_type_description.getCPtr(value), count);
            metric_type_description_vector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new metric_type_description_vector(cPtr, true);

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

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