scc
2022.4.0
SystemC components library
|
array of bit field elements More...
#include <bit_field.h>
Classes | |
class | Element |
Public Member Functions | |
T | maximum () const |
int | numItems () const |
Element | operator[] (int i) |
const Element | operator[] (int i) const |
Public Attributes | |
T | value |
Static Public Attributes | |
static const T | Maximum = (T(1) << BitsPerItem) - 1 |
array of bit field elements
BitFieldArray<>: Used internally by ADD_BITFIELD_ARRAY 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 91 of file bit_field.h.