Пример #1
0
        public new static MarketList ot_dynamic_cast(Storable pObject)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.MarketList_ot_dynamic_cast(Storable.getCPtr(pObject));
            MarketList            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MarketList(cPtr, false);

            return(ret);
        }
Пример #2
0
    public new static Blob ot_dynamic_cast(Storable pObject)
    {
        IntPtr cPtr = otapiPINVOKE.Blob_ot_dynamic_cast(Storable.getCPtr(pObject));
        Blob   ret  = (cPtr == IntPtr.Zero) ? null : new Blob(cPtr, false);

        return(ret);
    }
Пример #3
0
        public new static BitcoinAcct ot_dynamic_cast(Storable pObject)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.BitcoinAcct_ot_dynamic_cast(Storable.getCPtr(pObject));
            BitcoinAcct           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BitcoinAcct(cPtr, false);

            return(ret);
        }
Пример #4
0
    public new static Contact ot_dynamic_cast(Storable pObject)
    {
        IntPtr  cPtr = otapiPINVOKE.Contact_ot_dynamic_cast(Storable.getCPtr(pObject));
        Contact ret  = (cPtr == IntPtr.Zero) ? null : new Contact(cPtr, false);

        return(ret);
    }
Пример #5
0
    public new static BitcoinServer ot_dynamic_cast(Storable pObject)
    {
        IntPtr        cPtr = otapiPINVOKE.BitcoinServer_ot_dynamic_cast(Storable.getCPtr(pObject));
        BitcoinServer ret  = (cPtr == IntPtr.Zero) ? null : new BitcoinServer(cPtr, false);

        return(ret);
    }
        public new static WalletData ot_dynamic_cast(Storable pObject)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.WalletData_ot_dynamic_cast(Storable.getCPtr(pObject));
            WalletData            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new WalletData(cPtr, false);

            return(ret);
        }
Пример #7
0
        public static string EncodeObject(Storable theContents)
        {
            string ret = otapiPINVOKE.EncodeObject(Storable.getCPtr(theContents));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #8
0
        public static bool StoreObject(Storable theContents, string strFolder)
        {
            bool ret = otapiPINVOKE.StoreObject__SWIG_3(Storable.getCPtr(theContents), strFolder);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public bool StoreObject(Storable theContents, string strFolder, string oneStr, string twoStr)
        {
            bool ret = otapiPINVOKE.Storage_StoreObject__SWIG_1(swigCPtr, Storable.getCPtr(theContents), strFolder, oneStr, twoStr);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #10
0
 public bool StoreObject(Storable theContents, string strFolder) {
   bool ret = otapiPINVOKE.Storage_StoreObject__SWIG_3(swigCPtr, Storable.getCPtr(theContents), strFolder);
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }