예제 #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
 public bool AddBitcoinAcct(BitcoinAcct disownObject)
 {
     bool ret = otapiPINVOKE.WalletData_AddBitcoinAcct(swigCPtr, BitcoinAcct.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #5
0
 internal static HandleRef getCPtr(BitcoinAcct obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #6
0
 internal static HandleRef getCPtr(BitcoinAcct obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }