Beispiel #1
0
 public RelinkableCapFloorTermVolatilityStructureHandle(CapFloorTermVolatilityStructure arg0) : this(NQuantLibcPINVOKE.new_RelinkableCapFloorTermVolatilityStructureHandle__SWIG_0(CapFloorTermVolatilityStructure.getCPtr(arg0)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void linkTo(CapFloorTermVolatilityStructure arg0)
 {
     NQuantLibcPINVOKE.RelinkableCapFloorTermVolatilityStructureHandle_linkTo(swigCPtr, CapFloorTermVolatilityStructure.getCPtr(arg0));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public CapFloorTermVolatilityStructure __deref__()
        {
            CapFloorTermVolatilityStructure ret = new CapFloorTermVolatilityStructure(NQuantLibcPINVOKE.CapFloorTermVolatilityStructureHandle___deref__(swigCPtr), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public CapFloorTermVolatilityStructure __deref__()
        {
            global::System.IntPtr           cPtr = NQuantLibcPINVOKE.CapFloorTermVolatilityStructureHandle___deref__(swigCPtr);
            CapFloorTermVolatilityStructure ret  = (cPtr == global::System.IntPtr.Zero) ? null : new CapFloorTermVolatilityStructure(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CapFloorTermVolatilityStructure obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public CapFloorTermVolatilityStructure __deref__() {
   CapFloorTermVolatilityStructure ret = new CapFloorTermVolatilityStructure(NQuantLibcPINVOKE.CapFloorTermVolatilityStructureHandle___deref__(swigCPtr), true);
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public CapFloorTermVolatilityStructureHandle(CapFloorTermVolatilityStructure arg0) : this(NQuantLibcPINVOKE.new_CapFloorTermVolatilityStructureHandle__SWIG_0(CapFloorTermVolatilityStructure.getCPtr(arg0)), true) {
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CapFloorTermVolatilityStructure obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public void linkTo(CapFloorTermVolatilityStructure arg0) {
   NQuantLibcPINVOKE.RelinkableCapFloorTermVolatilityStructureHandle_linkTo(swigCPtr, CapFloorTermVolatilityStructure.getCPtr(arg0));
   if (NQuantLibcPINVOKE.SWIGPendingException.Pending) throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
 }