These are the pre-v12 classes, kept so existing code keeps building. New code should use the modern API — see Migration Guide: v11 to v12.
optris::Range
Template parameters
| Name | Description |
|---|---|
T |
type of the range components. |
Public types
ComponentType
T ComponentType
Type of the range components.
Public attributes
min
T min
Minimum value of the range.
max
T max
Maximum value of the range.
Public static functions
validate
static void validate(const Range< T > &range)
Validates the range.
Parameters
| Name | Description |
|---|---|
range |
range to validate. |
Exceptions
| Name | Description |
|---|---|
SDKException |
if the range minimum is greater than the maximum. |