Exemple #1
0
 public bool_vector(bool_vector other) : this(c_csharp_runPINVOKE.new_bool_vector__SWIG_1(bool_vector.getCPtr(other)), true)
 {
     if (c_csharp_runPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public bool_vectorEnumerator(bool_vector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemple #3
0
 public void SetRange(int index, bool_vector values)
 {
     c_csharp_runPINVOKE.bool_vector_SetRange(swigCPtr, index, bool_vector.getCPtr(values));
     if (c_csharp_runPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #4
0
 public static void create_imaging_table_columns(string_vector channels, bool_vector filled, imaging_column_vector columns, uint registration_sub_region_count, layout_type fiducial_layout)
 {
     c_csharp_tablePINVOKE.create_imaging_table_columns__SWIG_0(string_vector.getCPtr(channels), bool_vector.getCPtr(filled), imaging_column_vector.getCPtr(columns), registration_sub_region_count, (int)fiducial_layout);
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #5
0
        public static bool_vector Repeat(bool value, int count)
        {
            global::System.IntPtr cPtr = c_csharp_runPINVOKE.bool_vector_Repeat(value, count);
            bool_vector           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new bool_vector(cPtr, true);

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

            if (c_csharp_runPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #7
0
        public void Test_invalid_column_type()
        {
            string_vector         channels = new string_vector();
            bool_vector           filled   = new bool_vector();
            imaging_column_vector columns  = new imaging_column_vector();

            try{
                c_csharp_table.create_imaging_table_columns(channels, filled, columns);
                Assert.Fail("No exception thrown!");
            }catch (Illumina.InterOp.Table.invalid_column_type) {}
        }
Exemple #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(bool_vector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #9
0
 public static void create_run_diagnostics_table_columns(run_diagnostics_column_vector columns, bool_vector filled)
 {
     c_csharp_tablePINVOKE.create_run_diagnostics_table_columns__SWIG_0(run_diagnostics_column_vector.getCPtr(columns), bool_vector.getCPtr(filled));
     if (c_csharp_tablePINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_tablePINVOKE.SWIGPendingException.Retrieve();
     }
 }