normalized bit range
More...
#include <bit_range.hpp>
normalized bit range
Definition at line 18 of file bit_range.hpp.
◆ bit_range() [1/4]
| nodamushi::svd::normalized::bit_range::bit_range |
( |
unsigned int |
x, |
|
|
unsigned int |
y |
|
) |
| |
|
inline |
◆ bit_range() [2/4]
| nodamushi::svd::normalized::bit_range::bit_range |
( |
const bit_range & |
| ) |
|
|
default |
◆ bit_range() [3/4]
| nodamushi::svd::normalized::bit_range::bit_range |
( |
bit_range && |
| ) |
|
|
default |
◆ bit_range() [4/4]
template<typename T >
| nodamushi::svd::normalized::bit_range::bit_range |
( |
const T & |
n | ) |
|
|
inline |
◆ bit()
| uint64_t nodamushi::svd::normalized::bit_range::bit |
( |
uint64_t |
v | ) |
|
|
inline |
get the bit of bit-range.
- [3:3] : bit(8) = 8
- [3:1] : bit(8) = 8
- [3:3] : bit(0xFF) = 8
- [3:2] : bit(0xFF) = 0xC
Definition at line 59 of file bit_range.hpp.
◆ get()
| uint64_t nodamushi::svd::normalized::bit_range::get |
( |
uint64_t |
v | ) |
|
|
inline |
get the bit number of bit-range.
- [3:3] : get(8) = 1
- [3:1] : get(8) = 4
Definition at line 45 of file bit_range.hpp.
◆ left()
| constexpr unsigned int nodamushi::svd::normalized::bit_range::left |
( |
| ) |
const |
|
inlinenoexcept |
◆ lsb() [1/2]
| constexpr unsigned int nodamushi::svd::normalized::bit_range::lsb |
( |
| ) |
const |
|
inlinenoexcept |
◆ lsb() [2/2]
| void nodamushi::svd::normalized::bit_range::lsb |
( |
unsigned int |
x | ) |
|
|
inlinenoexcept |
◆ msb() [1/2]
| constexpr unsigned int nodamushi::svd::normalized::bit_range::msb |
( |
| ) |
const |
|
inlinenoexcept |
◆ msb() [2/2]
| void nodamushi::svd::normalized::bit_range::msb |
( |
unsigned int |
x | ) |
|
|
inlinenoexcept |
◆ operator !=()
| constexpr bool nodamushi::svd::normalized::bit_range::operator != |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ operator >()
| constexpr bool nodamushi::svd::normalized::bit_range::operator > |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ operator >=()
| constexpr bool nodamushi::svd::normalized::bit_range::operator >= |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ operator<()
| constexpr bool nodamushi::svd::normalized::bit_range::operator< |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ operator<=()
| constexpr bool nodamushi::svd::normalized::bit_range::operator<= |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ operator==()
| constexpr bool nodamushi::svd::normalized::bit_range::operator== |
( |
const bit_range & |
r | ) |
const |
|
inlinenoexcept |
◆ right()
| constexpr unsigned int nodamushi::svd::normalized::bit_range::right |
( |
| ) |
const |
|
inlinenoexcept |
◆ size()
| constexpr unsigned int nodamushi::svd::normalized::bit_range::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ width()
| constexpr unsigned int nodamushi::svd::normalized::bit_range::width |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this struct was generated from the following file: