Пример #1
0
 public vecinfo(vecinfo other) : this(stfuncsPINVOKE.new_vecinfo__SWIG_1(vecinfo.getCPtr(other)), true)
 {
     if (stfuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw stfuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public vecinfoEnumerator(vecinfo collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, vecinfo values)
 {
     stfuncsPINVOKE.vecinfo_SetRange(swigCPtr, index, vecinfo.getCPtr(values));
     if (stfuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw stfuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public void AddRange(vecinfo values)
 {
     stfuncsPINVOKE.vecinfo_AddRange(swigCPtr, vecinfo.getCPtr(values));
     if (stfuncsPINVOKE.SWIGPendingException.Pending)
     {
         throw stfuncsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
        public static vecinfo Repeat(t_ExcDevInfoPacket value, int count)
        {
            IntPtr  cPtr = stfuncsPINVOKE.vecinfo_Repeat(t_ExcDevInfoPacket.getCPtr(value), count);
            vecinfo ret  = (cPtr == IntPtr.Zero) ? null : new vecinfo(cPtr, true);

            if (stfuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw stfuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
        public vecinfo GetRange(int index, int count)
        {
            IntPtr  cPtr = stfuncsPINVOKE.vecinfo_GetRange(swigCPtr, index, count);
            vecinfo ret  = (cPtr == IntPtr.Zero) ? null : new vecinfo(cPtr, true);

            if (stfuncsPINVOKE.SWIGPendingException.Pending)
            {
                throw stfuncsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #7
0
        public static int GetDevInfos(vecinfo pvDevInfos)
        {
            int ret = stfuncsPINVOKE.GetDevInfos(vecinfo.getCPtr(pvDevInfos));

            return(ret);
        }
Пример #8
0
 internal static HandleRef getCPtr(vecinfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }