public void setValue(double arg0, IntervalPrice.Type arg1)
 {
     NQuantLibcPINVOKE.IntervalPrice_setValue(swigCPtr, arg0, (int)arg1);
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public double value(IntervalPrice.Type t)
        {
            double ret = NQuantLibcPINVOKE.IntervalPrice_value(swigCPtr, (int)t);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static RealTimeSeries extractComponent(IntervalPriceTimeSeries arg0, IntervalPrice.Type t)
        {
            RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.IntervalPrice_extractComponent(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static DoubleVector extractValues(IntervalPriceTimeSeries arg0, IntervalPrice.Type t)
        {
            DoubleVector ret = new DoubleVector(NQuantLibcPINVOKE.IntervalPrice_extractValues(IntervalPriceTimeSeries.getCPtr(arg0), (int)t), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }