Esempio n. 1
0
 public doubleVector(doubleVector other) : this(fanndoublePINVOKE.new_doubleVector__SWIG_1(doubleVector.getCPtr(other)), true)
 {
     if (fanndoublePINVOKE.SWIGPendingException.Pending)
     {
         throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public doubleVectorEnumerator(doubleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, doubleVector values)
 {
     fanndoublePINVOKE.doubleVector_SetRange(swigCPtr, index, doubleVector.getCPtr(values));
     if (fanndoublePINVOKE.SWIGPendingException.Pending)
     {
         throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
        public static doubleVector Repeat(double value, int count)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.doubleVector_Repeat(value, count);
            doubleVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVector(cPtr, true);

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 5
0
        public doubleVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = fanndoublePINVOKE.doubleVector_GetRange(swigCPtr, index, count);
            doubleVector          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new doubleVector(cPtr, true);

            if (fanndoublePINVOKE.SWIGPendingException.Pending)
            {
                throw fanndoublePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(doubleVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }