nn::util::SizedEnum Classtemplate <typename StorageT, typename EnumT> class SizedEnum
| Name | Description |
|---|---|
| StorageT | Type to use for storing enum value. |
| EnumT | The target enumerated type. |
Class template for handling fixed-size enumerated types.
Using this class you can use enum values of explicit size.
The EnumT type enumerated type is stored to a StorageT type variable for handling.
| SizedEnum | Constructor. | |
|---|---|---|
| operator EnumT | The type conversion operator for the enumerated type. | |
operator=
|
Assignment operator for assigning an enumerated type. | |
Set
|
Sets a value. | |
Get
|
Gets the value. |
CONFIDENTIAL