getCPtr() 정적인 개인적인 메소드

static private getCPtr ( Storable obj ) : HandleRef
obj Storable
리턴 System.Runtime.InteropServices.HandleRef
예제 #1
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);
        }
예제 #2
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);
        }
예제 #3
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);
        }
예제 #4
0
        public new static TradeListNym ot_dynamic_cast(Storable pObject)
        {
            IntPtr       cPtr = otapiPINVOKE.TradeListNym_ot_dynamic_cast(Storable.getCPtr(pObject));
            TradeListNym ret  = (cPtr == IntPtr.Zero) ? null : new TradeListNym(cPtr, false);

            return(ret);
        }
예제 #5
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);
        }
예제 #6
0
        public static string EncodeObject(Storable theContents)
        {
            string ret = otapiPINVOKE.EncodeObject(Storable.getCPtr(theContents));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
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);
        }
예제 #8
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);
        }