A class whose objects can be used to store a range. It provides method to check whether a value is inside the range. More...
#include <xsrange.h>
Public Attributes | |
| int | m_first |
| Storage for the lower end of the range. More... | |
| int | m_last |
| Storage for the upper end of the range. More... | |
Related Functions | |
(Note that these are not member functions.) | |
| int | XsRange_contains (const XsRange *thisPtr, int i) |
| Test if the range contains the given value i. More... | |
| int | XsRange_count (const XsRange *thisPtr) |
| Get the number of values in the range. More... | |
| int | XsRange_empty (const XsRange *thisPtr) |
| Test if the range is empty. More... | |
| int | XsRange_interval (const XsRange *thisPtr) |
| Get the number of values in the range. More... | |
| void | XsRange_setRange (XsRange *thisPtr, int f, int l) |
| Set a new range. More... | |
A class whose objects can be used to store a range. It provides method to check whether a value is inside the range.
| int XsRange::m_first |
| int XsRange::m_last |