示例#1
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;
 }
示例#2
0
        public static Storable CreateObject(StoredObjectType eType)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.CreateObject((int)eType);
            Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);

            return(ret);
        }
示例#3
0
        public static Storable Create(StoredObjectType eType, PackType thePackType)
        {
            IntPtr   cPtr = otapiPINVOKE.Storable_Create((int)eType, (int)thePackType);
            Storable ret  = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, false);

            return(ret);
        }
示例#4
0
 public Storable DecodeObject(StoredObjectType theObjectType, string strInput)
 {
     global::System.IntPtr cPtr = otapiPINVOKE.Storage_DecodeObject(swigCPtr, (int)theObjectType, strInput);
     Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
示例#5
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);
        }
示例#6
0
        public static Storable DecodeObject(StoredObjectType theObjectType, string strInput)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.DecodeObject((int)theObjectType, strInput);
            Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
        public static Storable QueryObject(StoredObjectType theObjectType, string strFolder, string oneStr)
        {
            global::System.IntPtr cPtr = otapiPINVOKE.QueryObject__SWIG_2((int)theObjectType, strFolder, oneStr);
            Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);

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

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#9
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);
        }
示例#10
0
 public static Storable CreateObject(StoredObjectType eType)
 {
     IntPtr cPtr = otapiPINVOKE.CreateObject((int)eType);
     Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, true);
     return ret;
 }
示例#11
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;
 }
示例#12
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;
 }
示例#13
0
 public static Storable Create(StoredObjectType eType, PackType thePackType)
 {
     IntPtr cPtr = otapiPINVOKE.Storable_Create((int)eType, (int)thePackType);
     Storable ret = (cPtr == IntPtr.Zero) ? null : new Storable(cPtr, false);
     return ret;
 }
 public Storable CreateObject(StoredObjectType eType) {
   global::System.IntPtr cPtr = otapiPINVOKE.Storage_CreateObject(swigCPtr, (int)eType);
   Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
   return ret;
 }
示例#15
0
 public static Storable QueryObject(StoredObjectType theObjectType, string strFolder, string oneStr, string twoStr, string threeStr)
 {
     global::System.IntPtr cPtr = otapiPINVOKE.QueryObject__SWIG_0((int)theObjectType, strFolder, oneStr, twoStr, threeStr);
     Storable ret = (cPtr == global::System.IntPtr.Zero) ? null : new Storable(cPtr, true);
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }