![]() |
libimgdoc2
|
#include <Intervals.h>
Public Member Functions | |
| bool | IsValid () const |
| Query if this object is valid. More... | |
| bool | operator== (const Int32Interval &rhs) const |
| Equality operator. More... | |
| bool | operator!= (const Int32Interval &rhs) const |
| Inequality operator. More... | |
Public Attributes | |
| std::int32_t | minimum_value { std::numeric_limits<std::int32_t>::max() } |
| The minimum value. | |
| std::int32_t | maximum_value { std::numeric_limits<std::int32_t>::min() } |
| The maximum value. | |
This structure gathers a minimum and maximum value. If minimum is greater than maximum, this means that the bounds is invalid.
|
inline |
Query if this object is valid.
|
inline |
Inequality operator.
In case the both are 'not valid', then they are considered equal (irrespective of the actual values).
| rhs | The right hand side. |
|
inline |
Equality operator.
In case the both are 'not valid', then they are considered equal (irrespective of the actual values).
| rhs | The right hand side. |