|
JUCE
|
Public Types | |
| enum | { bits = numBits, maxValue = static_cast<uint32> ((1ULL << numBits) - 1ULL) } |
Public Member Functions | |
| IntegerWithBitSize () noexcept=default | |
| IntegerWithBitSize (const IntegerWithBitSize &) noexcept=default | |
| IntegerWithBitSize & | operator= (const IntegerWithBitSize &) noexcept=default |
| IntegerWithBitSize (uint32 v) noexcept | |
| operator uint32 () const noexcept | |
| uint32 | get () const noexcept |
| uint8 | getScaledToByte () const noexcept |
| float | toUnipolarFloat () const noexcept |
| float | toBipolarFloat () const noexcept |
Static Public Member Functions | |
| static IntegerWithBitSize | fromUnipolarFloat (float value) noexcept |
| static IntegerWithBitSize | fromBipolarFloat (float value) noexcept |
Public Attributes | |
| uint32 | value = 0 |
|
defaultnoexcept |
|
defaultnoexcept |
|
noexcept |
|
defaultnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
staticnoexcept |
|
staticnoexcept |
| uint32 IntegerWithBitSize< numBits >::value = 0 |
Referenced by IntegerWithBitSize< 8 >::fromBipolarFloat(), IntegerWithBitSize< 8 >::fromUnipolarFloat(), IntegerWithBitSize< 8 >::get(), IntegerWithBitSize< 8 >::getScaledToByte(), IntegerWithBitSize< 8 >::operator uint32(), Packed7BitArrayBuilder< maxPacketBytes >::operator<<(), Packed7BitArrayReader::readBits(), IntegerWithBitSize< 8 >::toBipolarFloat(), IntegerWithBitSize< 8 >::toUnipolarFloat(), and Packed7BitArrayBuilder< maxPacketBytes >::writeBits().