Class vl::Range#
Represents a numeric range (min, max) More...
#include <range.h>
Public Functions#
| Type | Name |
|---|---|
| Range () |
|
| Range (T min, T max) Construct new range with min, max limits. |
|
| T | max () const Query the current maximum of Range . |
| T | min () const Query the current minimum of Range . |
| void | set (T min, T max) |
| void | setMax (T max) Set the maximum of Range to new value. |
| void | setMin (T min) Set the minimum of Range to new value. |
| ~Range () = default |
Detailed Description#
Used for describing the boundaries of dynamic properties, which may change in certain limits.
Public Functions Documentation#
function Range [1/2]#
vl::Range::Range ()
function Range [2/2]#
Construct new range with min, max limits.
vl::Range::Range (
T min,
T max
)
Parameters:
minlower boundary for the rangemaxupper boundary for the range
function max#
Query the current maximum of Range .
T vl::Range::max () const
Returns:
upper boundary for the range
function min#
Query the current minimum of Range .
T vl::Range::min () const
Returns:
lower boundary for the range
function set#
void vl::Range::set (
T min,
T max
)
function setMax#
Set the maximum of Range to new value.
void vl::Range::setMax (
T max
)
Parameters:
maxupper boundary for the range
function setMin#
Set the minimum of Range to new value.
void vl::Range::setMin (
T min
)
Parameters:
minlower boundary for the range
function ~Range#
vl::Range::~Range () = default
The documentation for this class was generated from the following file docs/libvl/build/2.0.0/doxygen/source/vl/range.h