Example #1
0
 public event_column_vector(event_column_vector other) : this(c_csharp_tablePINVOKE.new_event_column_vector__SWIG_1(event_column_vector.getCPtr(other)), true)
 {
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public event_column_vectorEnumerator(event_column_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public static void create_event_table_columns(run_metrics metrics, event_column_vector columns)
 {
     c_csharp_tablePINVOKE.create_event_table_columns__SWIG_1(run_metrics.getCPtr(metrics), event_column_vector.getCPtr(columns));
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public static void populate_column_offsets(event_column_vector columns)
 {
     c_csharp_tablePINVOKE.populate_column_offsets__SWIG_1(event_column_vector.getCPtr(columns));
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 public void set_data(uint rows, event_column_vector cols, ulong_vector data)
 {
     c_csharp_tablePINVOKE.event_table_set_data(swigCPtr, rows, event_column_vector.getCPtr(cols), ulong_vector.getCPtr(data));
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 public void SetRange(int index, event_column_vector values)
 {
     c_csharp_tablePINVOKE.event_column_vector_SetRange(swigCPtr, index, event_column_vector.getCPtr(values));
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #7
0
        public static uint count_table_columns(event_column_vector columns)
        {
            uint ret = c_csharp_tablePINVOKE.count_table_columns__SWIG_1(event_column_vector.getCPtr(columns));

            if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        public static event_column_vector Repeat(event_column value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_tablePINVOKE.event_column_vector_Repeat(event_column.getCPtr(value), count);
            event_column_vector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new event_column_vector(cPtr, true);

            if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #9
0
        public event_column_vector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = c_csharp_tablePINVOKE.event_column_vector_GetRange(swigCPtr, index, count);
            event_column_vector   ret  = (cPtr == global::System.IntPtr.Zero) ? null : new event_column_vector(cPtr, true);

            if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
 public static void populate_event_table_data(run_metrics metrics, event_column_vector columns, map_id_offset row_offset, ulong[] data_beg, uint n)
 {
     unsafe
     {
         fixed(ulong *swig_ptrTo_data_beg = data_beg)
         {
             {
                 c_csharp_tablePINVOKE.populate_event_table_data(run_metrics.getCPtr(metrics), event_column_vector.getCPtr(columns), map_id_offset.getCPtr(row_offset), (global::System.IntPtr)swig_ptrTo_data_beg, n);
                 if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
                 {
                     throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
                 }
             }
         }
     }
 }
Example #11
0
        public event_column_vector columns()
        {
            event_column_vector ret = new event_column_vector(c_csharp_tablePINVOKE.event_table_columns(swigCPtr), false);

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