예제 #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);
 }