|
scc 2025.09
SystemC components library
|
bit field element More...
#include <bit_field.h>
Public Member Functions | |
| T | maximum () const |
| T | one () const |
| operator T () const | |
| BitFieldMember & | operator= (T v) |
| BitFieldMember & | operator+= (T v) |
| BitFieldMember & | operator-= (T v) |
| BitFieldMember & | operator++ () |
| BitFieldMember | operator++ (int) |
| BitFieldMember & | operator-- () |
| BitFieldMember | operator-- (int) |
Public Attributes | |
| T | value |
Static Public Attributes | |
| static constexpr T | Maximum = (T(1) << Bits) - 1 |
| static constexpr T | Mask = Maximum << Offset |
bit field element
BitFieldMember<>: Used internally by ADD_BITFIELD_MEMBER macro. All members are public to simplify compliance with sections 9.0.7 and 9.5.1 of the C++11 standard, thereby avoiding undefined behavior.
Definition at line 39 of file bit_field.h.
|
inline |
Definition at line 47 of file bit_field.h.
|
inline |
Definition at line 48 of file bit_field.h.
|
inline |
Definition at line 50 of file bit_field.h.
|
inline |
Definition at line 70 of file bit_field.h.
|
inline |
Definition at line 71 of file bit_field.h.
|
inline |
Definition at line 58 of file bit_field.h.
|
inline |
Definition at line 76 of file bit_field.h.
|
inline |
Definition at line 77 of file bit_field.h.
|
inline |
Definition at line 64 of file bit_field.h.
|
inline |
Definition at line 52 of file bit_field.h.
|
staticconstexpr |
Definition at line 46 of file bit_field.h.
|
staticconstexpr |
Definition at line 45 of file bit_field.h.
| T util::BitFieldMember< T, Offset, Bits >::value |
Definition at line 40 of file bit_field.h.