Exemplo n.º 1
0
 public LongDoubleVector(LongDoubleVector other) : this(CoolPropPINVOKE.new_LongDoubleVector__SWIG_1(LongDoubleVector.getCPtr(other)), true)
 {
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public LongDoubleVectorEnumerator(LongDoubleVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, LongDoubleVector values)
 {
     CoolPropPINVOKE.LongDoubleVector_SetRange(swigCPtr, index, LongDoubleVector.getCPtr(values));
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void AddRange(LongDoubleVector values)
 {
     CoolPropPINVOKE.LongDoubleVector_AddRange(swigCPtr, getCPtr(values));
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
    public static LongDoubleVector Repeat(SWIGTYPE_p_long_double value, int count)
    {
        global::System.IntPtr cPtr = CoolPropPINVOKE.LongDoubleVector_Repeat(SWIGTYPE_p_long_double.getCPtr(value), count);
        LongDoubleVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new LongDoubleVector(cPtr, true);

        if (CoolPropPINVOKE.SWIGPendingException.Pending)
        {
            throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 6
0
    public LongDoubleVector GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = CoolPropPINVOKE.LongDoubleVector_GetRange(swigCPtr, index, count);
        LongDoubleVector      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new LongDoubleVector(cPtr, true);

        if (CoolPropPINVOKE.SWIGPendingException.Pending)
        {
            throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LongDoubleVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 8
0
 internal static HandleRef getCPtr(LongDoubleVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }