Example #1
0
        public LoomServer GetLoomServer(uint nIndex)
        {
            IntPtr     cPtr = otapiPINVOKE.WalletData_GetLoomServer(swigCPtr, nIndex);
            LoomServer ret  = (cPtr == IntPtr.Zero) ? null : new LoomServer(cPtr, false);

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

            return(ret);
        }
Example #3
0
        public bool AddLoomServer(LoomServer disownObject)
        {
            bool ret = otapiPINVOKE.WalletData_AddLoomServer(swigCPtr, LoomServer.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public bool AddLoomServer(LoomServer disownObject)
 {
     bool ret = otapiPINVOKE.WalletData_AddLoomServer(swigCPtr, LoomServer.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 internal static HandleRef getCPtr(LoomServer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(LoomServer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }