Inheritance: IDisposable
Example #1
0
        public new static Displayable ot_dynamic_cast(Storable pObject)
        {
            IntPtr      cPtr = otapiPINVOKE.Displayable_ot_dynamic_cast(Storable.getCPtr(pObject));
            Displayable ret  = (cPtr == IntPtr.Zero) ? null : new Displayable(cPtr, false);

            return(ret);
        }
Example #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);
        }
Example #3
0
        public Storable CreateObject(StoredObjectType eType)
        {
            IntPtr   cPtr = otapiPINVOKE.Storage_CreateObject(swigCPtr, (int)eType);
            Storable ret  = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);

            return(ret);
        }
Example #4
0
        public new static TradeDataMarket ot_dynamic_cast(Storable pObject)
        {
            IntPtr          cPtr = otapiPINVOKE.TradeDataMarket_ot_dynamic_cast(Storable.getCPtr(pObject));
            TradeDataMarket ret  = (cPtr == IntPtr.Zero) ? null : new TradeDataMarket(cPtr, false);

            return(ret);
        }
Example #5
0
        public new static Acct ot_dynamic_cast(Storable pObject)
        {
            IntPtr cPtr = otapiPINVOKE.Acct_ot_dynamic_cast(Storable.getCPtr(pObject));
            Acct   ret  = (cPtr == IntPtr.Zero) ? null : new Acct(cPtr, false);

            return(ret);
        }
Example #6
0
        public new static StringMap ot_dynamic_cast(Storable pObject)
        {
            IntPtr    cPtr = otapiPINVOKE.StringMap_ot_dynamic_cast(Storable.getCPtr(pObject));
            StringMap ret  = (cPtr == IntPtr.Zero) ? null : new StringMap(cPtr, false);

            return(ret);
        }
Example #7
0
        public new static Server ot_dynamic_cast(Storable pObject)
        {
            IntPtr cPtr = otapiPINVOKE.Server_ot_dynamic_cast(Storable.getCPtr(pObject));
            Server ret  = (cPtr == IntPtr.Zero) ? null : new Server(cPtr, false);

            return(ret);
        }
Example #8
0
        public new static OfferListNym ot_dynamic_cast(Storable pObject)
        {
            IntPtr       cPtr = otapiPINVOKE.OfferListNym_ot_dynamic_cast(Storable.getCPtr(pObject));
            OfferListNym ret  = (cPtr == IntPtr.Zero) ? null : new OfferListNym(cPtr, false);

            return(ret);
        }
Example #9
0
        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);
        }
Example #10
0
        public static string EncodeObject(Storable theContents)
        {
            string ret = otapiPINVOKE.EncodeObject(Storable.getCPtr(theContents));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #11
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);
        }
Example #12
0
        public static Storable QueryObject(StoredObjectType theObjectType, string strFolder)
        {
            IntPtr   cPtr = otapiPINVOKE.QueryObject__SWIG_3((int)theObjectType, strFolder);
            Storable ret  = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #13
0
        public static Storable DecodeObject(StoredObjectType theObjectType, string strInput)
        {
            IntPtr   cPtr = otapiPINVOKE.DecodeObject((int)theObjectType, strInput);
            Storable ret  = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #14
0
        public Storable QueryObject(StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr)
        {
            IntPtr   cPtr = otapiPINVOKE.Storage_QueryObject__SWIG_1(swigCPtr, (int)theObjectType, strFolder, oneStr, twoStr);
            Storable ret  = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public static new AddressBook ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.AddressBook_ot_dynamic_cast(Storable.getCPtr(pObject));
     AddressBook ret = (cPtr == IntPtr.Zero) ? null : new AddressBook(cPtr, false);
     return ret;
 }
 public static new OTDBString ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.OTDBString_ot_dynamic_cast(Storable.getCPtr(pObject));
     OTDBString ret = (cPtr == IntPtr.Zero) ? null : new OTDBString(cPtr, false);
     return ret;
 }
Example #17
0
 public string EncodeObject(Storable theContents) {
   string ret = otapiPINVOKE.Storage_EncodeObject(swigCPtr, Storable.getCPtr(theContents));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Example #18
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;
 }
Example #19
0
 public static bool StoreObject(Storable theContents, string strFolder, string oneStr)
 {
     bool ret = otapiPINVOKE.StoreObject__SWIG_2(Storable.getCPtr(theContents), strFolder, oneStr);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Example #20
0
 public new static MarketList ot_dynamic_cast(Storable pObject) {
   IntPtr cPtr = otapiPINVOKE.MarketList_ot_dynamic_cast(Storable.getCPtr(pObject));
   MarketList ret = (cPtr == IntPtr.Zero) ? null : new MarketList(cPtr, false);
   return ret;
 }
 public static new WalletData ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.WalletData_ot_dynamic_cast(Storable.getCPtr(pObject));
     WalletData ret = (cPtr == IntPtr.Zero) ? null : new WalletData(cPtr, false);
     return ret;
 }
 public static new TradeListMarket ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.TradeListMarket_ot_dynamic_cast(Storable.getCPtr(pObject));
     TradeListMarket ret = (cPtr == IntPtr.Zero) ? null : new TradeListMarket(cPtr, false);
     return ret;
 }
Example #23
0
 internal static HandleRef getCPtr(Storable obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public static new StringMap ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.StringMap_ot_dynamic_cast(Storable.getCPtr(pObject));
     StringMap ret = (cPtr == IntPtr.Zero) ? null : new StringMap(cPtr, false);
     return ret;
 }
Example #25
0
 public static new Acct ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Acct_ot_dynamic_cast(Storable.getCPtr(pObject));
     Acct ret = (cPtr == IntPtr.Zero) ? null : new Acct(cPtr, false);
     return ret;
 }
 public new static OfferDataNym ot_dynamic_cast(Storable pObject) {
   IntPtr cPtr = otapiPINVOKE.OfferDataNym_ot_dynamic_cast(Storable.getCPtr(pObject));
   OfferDataNym ret = (cPtr == IntPtr.Zero) ? null : new OfferDataNym(cPtr, false);
   return ret;
 }
Example #27
0
 public static new 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;
 }
Example #28
0
 public new static ServerInfo ot_dynamic_cast(Storable pObject) {
   IntPtr cPtr = otapiPINVOKE.ServerInfo_ot_dynamic_cast(Storable.getCPtr(pObject));
   ServerInfo ret = (cPtr == IntPtr.Zero) ? null : new ServerInfo(cPtr, false);
   return ret;
 }
Example #29
0
 public static new 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;
 }
Example #30
0
 internal static HandleRef getCPtr(Storable obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static new ContactNym ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.ContactNym_ot_dynamic_cast(Storable.getCPtr(pObject));
     ContactNym ret = (cPtr == IntPtr.Zero) ? null : new ContactNym(cPtr, false);
     return ret;
 }
Example #32
0
 public static new Displayable ot_dynamic_cast(Storable pObject)
 {
     IntPtr cPtr = otapiPINVOKE.Displayable_ot_dynamic_cast(Storable.getCPtr(pObject));
     Displayable ret = (cPtr == IntPtr.Zero) ? null : new Displayable(cPtr, false);
     return ret;
 }