QCPDataRange Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-2.0.1/qcustomplot.h>

Public Member Functions

 QCPDataRange ()
 
 QCPDataRange (int begin, int end)
 
bool operator== (const QCPDataRange &other) const
 
bool operator!= (const QCPDataRange &other) const
 
int begin () const
 
int end () const
 
int size () const
 
int length () const
 
void setBegin (int begin)
 
void setEnd (int end)
 
bool isValid () const
 
bool isEmpty () const
 
QCPDataRange bounded (const QCPDataRange &other) const
 
QCPDataRange expanded (const QCPDataRange &other) const
 
QCPDataRange intersection (const QCPDataRange &other) const
 
QCPDataRange adjusted (int changeBegin, int changeEnd) const
 
bool intersects (const QCPDataRange &other) const
 
bool contains (const QCPDataRange &other) const
 

Related Functions

(Note that these are not member functions.)

QDebug operator<< (QDebug d, const QCPDataRange &dataRange)
 

Constructor & Destructor Documentation

◆ QCPDataRange() [1/2]

QCPDataRange::QCPDataRange ( )

◆ QCPDataRange() [2/2]

QCPDataRange::QCPDataRange ( int  begin,
int  end 
)

Member Function Documentation

◆ adjusted()

QCPDataRange QCPDataRange::adjusted ( int  changeBegin,
int  changeEnd 
) const
inline

◆ begin()

int QCPDataRange::begin ( ) const
inline

◆ bounded()

QCPDataRange QCPDataRange::bounded ( const QCPDataRange other) const

◆ contains()

bool QCPDataRange::contains ( const QCPDataRange other) const

◆ end()

int QCPDataRange::end ( ) const
inline

◆ expanded()

QCPDataRange QCPDataRange::expanded ( const QCPDataRange other) const

◆ intersection()

QCPDataRange QCPDataRange::intersection ( const QCPDataRange other) const

◆ intersects()

bool QCPDataRange::intersects ( const QCPDataRange other) const

◆ isEmpty()

bool QCPDataRange::isEmpty ( ) const
inline

◆ isValid()

bool QCPDataRange::isValid ( ) const
inline

◆ length()

int QCPDataRange::length ( ) const
inline

◆ operator!=()

bool QCPDataRange::operator!= ( const QCPDataRange other) const
inline

◆ operator==()

bool QCPDataRange::operator== ( const QCPDataRange other) const
inline

◆ setBegin()

void QCPDataRange::setBegin ( int  begin)
inline

◆ setEnd()

void QCPDataRange::setEnd ( int  end)
inline

◆ size()

int QCPDataRange::size ( ) const
inline

Friends And Related Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  d,
const QCPDataRange dataRange 
)
related

Prints dataRange in a human readable format to the qDebug output.


The documentation for this class was generated from the following file: