public DoublePairVector(DoublePairVector other) : this(NQuantLibcPINVOKE.new_DoublePairVector__SWIG_1(DoublePairVector.getCPtr(other)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public DoublePairVectorEnumerator(DoublePairVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, DoublePairVector values)
 {
     NQuantLibcPINVOKE.DoublePairVector_SetRange(swigCPtr, index, DoublePairVector.getCPtr(values));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public static DoublePairVector Repeat(DoublePair value, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.DoublePairVector_Repeat(DoublePair.getCPtr(value), count);
            DoublePairVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DoublePairVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public DoublePairVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = NQuantLibcPINVOKE.DoublePairVector_GetRange(swigCPtr, index, count);
            DoublePairVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DoublePairVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DoublePairVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public FdSimpleExtOUJumpSwingEngine(ExtOUWithJumpsProcess process, YieldTermStructure rTS, uint tGrid, uint xGrid, uint yGrid, DoublePairVector shape) : this(NQuantLibcPINVOKE.new_FdSimpleExtOUJumpSwingEngine__SWIG_1(ExtOUWithJumpsProcess.getCPtr(process), YieldTermStructure.getCPtr(rTS), tGrid, xGrid, yGrid, DoublePairVector.getCPtr(shape)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }