public vector_ParamsError(vector_ParamsError other) : this(VisionLabPINVOKE.new_vector_ParamsError__SWIG_1(vector_ParamsError.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_ParamsErrorEnumerator(vector_ParamsError collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_ParamsError values)
 {
     VisionLabPINVOKE.vector_ParamsError_SetRange(swigCPtr, index, vector_ParamsError.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public virtual void Execute(vector_ParamsError p, double maxError)
 {
     VisionLabPINVOKE.FitnessAllCmd_Execute(swigCPtr, vector_ParamsError.getCPtr(p), maxError);
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_ParamsError Repeat(ParamsError value, int count)
    {
        IntPtr             cPtr = VisionLabPINVOKE.vector_ParamsError_Repeat(ParamsError.getCPtr(value), count);
        vector_ParamsError ret  = (cPtr == IntPtr.Zero) ? null : new vector_ParamsError(cPtr, true);

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

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(vector_ParamsError obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Ejemplo n.º 8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_ParamsError obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public virtual void Execute(vector_ParamsError p, double maxError) {
   VisionLabPINVOKE.FitnessAllCmd_Execute(swigCPtr, vector_ParamsError.getCPtr(p), maxError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }