public SWIGTYPE_p_boost__shared_ptrT_Swaption_t swaption() { SWIGTYPE_p_boost__shared_ptrT_Swaption_t ret = new SWIGTYPE_p_boost__shared_ptrT_Swaption_t(NQuantLibcPINVOKE.SwaptionHelper_swaption(swigCPtr), true); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_boost__shared_ptrT_Swaption_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }