Example #1
0
 public ZeroInflationTermStructureHandle(ZeroInflationTermStructure arg0) : this(NQuantLibcPINVOKE.new_ZeroInflationTermStructureHandle__SWIG_0(ZeroInflationTermStructure.getCPtr(arg0)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void linkTo(ZeroInflationTermStructure arg0)
 {
     NQuantLibcPINVOKE.RelinkableZeroInflationTermStructureHandle_linkTo(swigCPtr, ZeroInflationTermStructure.getCPtr(arg0));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public ZeroInflationTermStructure __deref__()
        {
            ZeroInflationTermStructure ret = new ZeroInflationTermStructure(NQuantLibcPINVOKE.ZeroInflationTermStructureHandle___deref__(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #4
0
        public ZeroInflationTermStructure __deref__()
        {
            global::System.IntPtr      cPtr = NQuantLibcPINVOKE.ZeroInflationTermStructureHandle___deref__(swigCPtr);
            ZeroInflationTermStructure ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ZeroInflationTermStructure(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ZeroInflationTermStructure obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public void linkTo(ZeroInflationTermStructure arg0) {
   NQuantLibcPINVOKE.RelinkableZeroInflationTermStructureHandle_linkTo(swigCPtr, ZeroInflationTermStructure.getCPtr(arg0));
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
 public RelinkableZeroInflationTermStructureHandle(ZeroInflationTermStructure arg0) : this(NQuantLibcPINVOKE.new_RelinkableZeroInflationTermStructureHandle__SWIG_0(ZeroInflationTermStructure.getCPtr(arg0)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ZeroInflationTermStructure obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public ZeroInflationTermStructure __deref__() {
   ZeroInflationTermStructure ret = new ZeroInflationTermStructure(NQuantLibcPINVOKE.ZeroInflationTermStructureHandle___deref__(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }