![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Combination of input numbers. More...
#include <SimWheelTypes.hpp>
Public Member Functions | |
| constexpr | InputNumberCombination () |
| Create an empty combination of input numbers. | |
| constexpr | InputNumberCombination (std::initializer_list< InputNumber > items) noexcept |
| Create a combination of input numbers. | |
| constexpr | InputNumberCombination (const uint128_t &from) |
| Create from a 128-bit bitmap. | |
| constexpr | InputNumberCombination (uint128_t &&from) |
| Create from a 128-bit bitmap. | |
| constexpr uint8_t | size () const noexcept |
| Get the count of input numbers in the combination. | |
| constexpr | InputNumberCombination (const InputNumberCombination &) noexcept=default |
| Copy constructor (default) | |
| constexpr | InputNumberCombination (InputNumberCombination &&) noexcept=default |
| Move constructor (default) | |
| constexpr InputNumberCombination & | operator= (const InputNumberCombination &) noexcept=default |
| Copy-assignment (default) | |
| constexpr InputNumberCombination & | operator= (InputNumberCombination &&)=default |
| Move-assignment (default) | |
Public Member Functions inherited from uint128_t | |
| constexpr | operator bool () |
| Non-zero check. | |
| constexpr bool | bit (uint8_t n) const noexcept |
| Check bit. | |
| constexpr void | set_bit (uint8_t n, bool value=true) noexcept |
| Set or clear a single bit. | |
| constexpr uint128_t & | operator|= (const uint128_t &rhs) noexcept |
| Compound bitwise OR. | |
| constexpr uint128_t & | operator&= (const uint128_t &rhs) noexcept |
| Compound bitwise AND. | |
| constexpr uint128_t & | operator^= (const uint128_t &rhs) noexcept |
| Compound bitwise XOR. | |
Additional Inherited Members | |
Static Public Member Functions inherited from uint128_t | |
| static constexpr uint128_t | bitmap (uint8_t n) noexcept |
| Get the bitmap that represents a number. | |
| static constexpr uint128_t | neg () noexcept |
| Get the bitwise negation of zero. | |
Public Attributes inherited from uint128_t | |
| uint64_t | low {0ULL} |
| Least significant unsigned long long. | |
| uint64_t | high {0ULL} |
| Most significant unsigned long long. | |
Combination of input numbers.
Definition at line 725 of file SimWheelTypes.hpp.
|
inlineconstexpr |
Create an empty combination of input numbers.
Definition at line 728 of file SimWheelTypes.hpp.
|
inlineconstexprnoexcept |
Create a combination of input numbers.
| items | List of values for initialization |
Definition at line 735 of file SimWheelTypes.hpp.
|
inlineconstexpr |
Create from a 128-bit bitmap.
| from | Bitmap |
Definition at line 747 of file SimWheelTypes.hpp.
|
inlineconstexpr |
Create from a 128-bit bitmap.
| from | Bitmap |
Definition at line 755 of file SimWheelTypes.hpp.
|
inlineconstexprnoexcept |
Get the count of input numbers in the combination.
Definition at line 763 of file SimWheelTypes.hpp.