public SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t locate(double optionTime, double swapLength) { SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t ret = new SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t(NQuantLibcPINVOKE.SwaptionVolatilityMatrix_locate__SWIG_1(swigCPtr, optionTime, swapLength), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t locate(Date optionDate, Period swapTenor) { SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t ret = new SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t(NQuantLibcPINVOKE.SwaptionVolatilityMatrix_locate__SWIG_0(swigCPtr, Date.getCPtr(optionDate), Period.getCPtr(swapTenor)), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__pairT_std__size_t_std__size_t_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }