|
| | Wrap (T length) |
| |
| void | set (T n) |
| | Sets the current value to an arbitrary number. More...
|
| |
| T | get (T offset=0) const noexcept |
| | Get the current value or the number of the current value plus an offset. More...
|
| |
| void | changeLength (T newLength) noexcept |
| | The number to automatically wrap in the range [0, length-1]. More...
|
| |
|
T | getLength () const noexcept |
| |
| T | operator++ () noexcept |
| | Prefix increment. More...
|
| |
| T | operator++ (int) noexcept |
| | Postfix increment. More...
|
| |
| T | operator+= (T add) noexcept |
| | += operator. More...
|
| |
template<signed_number T>
class ame::Wrap< T >
A number to wrap between 0~length.
- Template Parameters
-
| T | signed number (int32_t, float etc...) |