Go to the documentation of this file.
101 return (i >= thisPtr->
m_first && i <= thisPtr->m_last);
int m_first
Storage for the lower end of the range.
int XsRange_empty(const XsRange *thisPtr)
Test if the range is empty.
int XsRange_interval(const XsRange *thisPtr)
Get the number of values in the range.
void XsRange_setRange(XsRange *thisPtr, int f, int l)
Set a new range.
A class whose objects can be used to store a range. It provides method to check whether a value is in...
int m_last
Storage for the upper end of the range.
int XsRange_contains(const XsRange *thisPtr, int i)
Test if the range contains the given value i.
int XsRange_count(const XsRange *thisPtr)
Get the number of values in the range.