6#include <Settings/NamespaceSettings.hpp>
Print & operator<<(Print &, Cable)
#define BEGIN_CS_NAMESPACE
A type-safe class for MIDI USB Cable numbers.
Cable & operator+=(uint8_t rhs)
Add an offset.
static constexpr Cable createCable(uint8_t oneBasedCable)
Create a cable.
constexpr bool operator==(const Cable &rhs) const
Check if two cables are the same.
constexpr bool operator!=(const Cable &rhs) const
Check if two cables are the different.
Cable operator-(uint8_t rhs) const
Subtract an offset from a cable.
constexpr uint8_t getOneBased() const
Get the cable as an integer.
constexpr Cable(uint8_t zeroBasedCable)
Create a MIDI Cable object.
constexpr uint8_t getRaw() const
Get the cable as an integer.
Cable & operator-=(uint8_t rhs)
Subtract an offset.
Cable operator+(uint8_t rhs) const
Add an offset to a cable.
Array< T, N > copyAs(const Array< U, N > &src)
Copy an Array to an Array of a different type.