10 #ifndef QWT_INTERVAL_H 
   11 #define QWT_INTERVAL_H 
   13 #include "qwt_global.h" 
   14 #ifndef QT_NO_DEBUG_STREAM 
   34         IncludeBorders = 0x00,
 
   37         ExcludeMinimum = 0x01,
 
   40         ExcludeMaximum = 0x02,
 
   43         ExcludeBorders = ExcludeMinimum | ExcludeMaximum
 
   53     void setInterval( 
double minValue, 
double maxValue,
 
   58     QwtInterval limited( 
double minValue, 
double maxValue ) 
const;
 
   66     double minValue() 
const;
 
   67     double maxValue() 
const;
 
   71     void setMinValue( 
double );
 
   72     void setMaxValue( 
double );
 
   74     bool contains( 
double value ) 
const;
 
  113     d_borderFlags( IncludeBorders )
 
  127         double minValue, 
double maxValue, 
BorderFlags borderFlags ):
 
  128     d_minValue( minValue ),
 
  129     d_maxValue( maxValue ),
 
  130     d_borderFlags( borderFlags )
 
  142     double minValue, 
double maxValue, 
BorderFlags borderFlags )
 
  166     return d_borderFlags;
 
  209         return d_minValue <= d_maxValue;
 
  211         return d_minValue < d_maxValue;
 
  223     return isValid() ? ( d_maxValue - d_minValue ) : 0.0;
 
  243     return unite( interval );
 
  249     return ( d_minValue == other.d_minValue ) &&
 
  250            ( d_maxValue == other.d_maxValue ) &&
 
  251            ( d_borderFlags == other.d_borderFlags );
 
  257     return ( !( *
this == other ) );
 
  275     return isValid() && d_minValue >= d_maxValue;
 
  292 #ifndef QT_NO_DEBUG_STREAM 
  293 QWT_EXPORT QDebug operator<<( QDebug, 
const QwtInterval & );