コード例 #1
0
    public BitcoinAcct GetBitcoinAcct(uint nIndex)
    {
        IntPtr      cPtr = otapiPINVOKE.WalletData_GetBitcoinAcct(swigCPtr, nIndex);
        BitcoinAcct ret  = (cPtr == IntPtr.Zero) ? null : new BitcoinAcct(cPtr, false);

        return(ret);
    }
コード例 #2
0
    public new static BitcoinAcct ot_dynamic_cast(Storable pObject)
    {
        IntPtr      cPtr = otapiPINVOKE.BitcoinAcct_ot_dynamic_cast(Storable.getCPtr(pObject));
        BitcoinAcct ret  = (cPtr == IntPtr.Zero) ? null : new BitcoinAcct(cPtr, false);

        return(ret);
    }
コード例 #3
0
    public bool AddBitcoinAcct(BitcoinAcct disownObject)
    {
        bool ret = otapiPINVOKE.WalletData_AddBitcoinAcct(swigCPtr, BitcoinAcct.getCPtr(disownObject));

        if (otapiPINVOKE.SWIGPendingException.Pending)
        {
            throw otapiPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
コード例 #4
0
 internal static HandleRef getCPtr(BitcoinAcct obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #5
0
 public bool AddBitcoinAcct(BitcoinAcct disownObject)
 {
     bool ret = otapiPINVOKE.WalletData_AddBitcoinAcct(swigCPtr, BitcoinAcct.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BitcoinAcct obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #7
0
 internal static HandleRef getCPtr(BitcoinAcct obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BitcoinAcct obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }