scc  2022.4.0
SystemC components library
util::BitFieldArray< T, BaseOffset, BitsPerItem, NumItems > Class Template Reference

array of bit field elements More...

#include <bit_field.h>

Classes

class  Element
 

Public Member Functions

maximum () const
 
int numItems () const
 
Element operator[] (int i)
 
const Element operator[] (int i) const
 

Public Attributes

value
 

Static Public Attributes

static const T Maximum = (T(1) << BitsPerItem) - 1
 

Detailed Description

template<typename T, int BaseOffset, int BitsPerItem, int NumItems>
class util::BitFieldArray< T, BaseOffset, BitsPerItem, NumItems >

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.


The documentation for this class was generated from the following file: