Example #1
0
 public VectorOfStringVector(VectorOfStringVector other) : this(CoolPropPINVOKE.new_VectorOfStringVector__SWIG_1(VectorOfStringVector.getCPtr(other)), true)
 {
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public VectorOfStringVectorEnumerator(VectorOfStringVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, VectorOfStringVector values)
 {
     CoolPropPINVOKE.VectorOfStringVector_SetRange(swigCPtr, index, VectorOfStringVector.getCPtr(values));
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public static VectorOfStringVector Repeat(StringVector value, int count)
    {
        global::System.IntPtr cPtr = CoolPropPINVOKE.VectorOfStringVector_Repeat(StringVector.getCPtr(value), count);
        VectorOfStringVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorOfStringVector(cPtr, true);

        if (CoolPropPINVOKE.SWIGPendingException.Pending)
        {
            throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public VectorOfStringVector GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = CoolPropPINVOKE.VectorOfStringVector_GetRange(swigCPtr, index, count);
        VectorOfStringVector  ret  = (cPtr == global::System.IntPtr.Zero) ? null : new VectorOfStringVector(cPtr, true);

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