public vector_MCPCalibTabElm(vector_MCPCalibTabElm other) : this(VisionLabPINVOKE.new_vector_MCPCalibTabElm__SWIG_1(vector_MCPCalibTabElm.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_MCPCalibTabElmEnumerator(vector_MCPCalibTabElm collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_MCPCalibTabElm values)
 {
     VisionLabPINVOKE.vector_MCPCalibTabElm_SetRange(swigCPtr, index, vector_MCPCalibTabElm.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public vector_MCPCalibTabElm GetCalibTab()
    {
        vector_MCPCalibTabElm ret = new vector_MCPCalibTabElm(VisionLabPINVOKE.MCPCalib_GetCalibTab(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public static vector_MCPCalibTabElm Repeat(MCPCalibTabElm value, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_MCPCalibTabElm_Repeat(MCPCalibTabElm.getCPtr(value), count);
        vector_MCPCalibTabElm ret = (cPtr == IntPtr.Zero) ? null : new vector_MCPCalibTabElm(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_MCPCalibTabElm GetRange(int index, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_MCPCalibTabElm_GetRange(swigCPtr, index, count);
        vector_MCPCalibTabElm ret = (cPtr == IntPtr.Zero) ? null : new vector_MCPCalibTabElm(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_MCPCalibTabElm StrToMCPCalibTab(string str) {
   vector_MCPCalibTabElm ret = new vector_MCPCalibTabElm(VisionLabPINVOKE.StrToMCPCalibTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string MCPCalibTabToStr(vector_MCPCalibTabElm tab) {
   string ret = VisionLabPINVOKE.MCPCalibTabToStr(vector_MCPCalibTabElm.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Пример #9
0
 public vector_MCPCalibTabElm GetCalibTab() {
   vector_MCPCalibTabElm ret = new vector_MCPCalibTabElm(VisionLabPINVOKE.MCPCalib_GetCalibTab(swigCPtr), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(vector_MCPCalibTabElm obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_MCPCalibTabElm obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }