|
SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
Representation of a range of values between low and high values inclusive. More...
#include <Range.hpp>
Public Types | |
| using | ValueType = T |
Public Member Functions | |
| Range (ValueType low, ValueType high) | |
| Construct new range between two values. More... | |
| Range (const Entity::Generator::Amount &range) | |
| Conversion constructor from Entity::Generator::Amount. More... | |
| bool | contains (ValueType value) const |
| Determine if a given value is within the defined range. More... | |
| ValueType | low () const |
| ValueType | high () const |
Representation of a range of values between low and high values inclusive.
It can answer if a given value is within the range.
| using SF2::Render::Range< T >::ValueType = T |
|
inline |
Construct new range between two values.
| low | the first value in the range |
| high | the last value in the range |
|
inlineexplicit |
Conversion constructor from Entity::Generator::Amount.
| range | the union value to use for range bounds |
|
inline |
Determine if a given value is within the defined range.
| value | the value to test |
Referenced by SF2::Render::Zone::appliesTo().
|
inline |
|
inline |