OverSim
|
An auxiliary class for single bits in OverlayKey. More...
#include <OverlayKey.h>
Public Member Functions | |
OverlayKeyBit (bool value, uint32_t pos, OverlayKey *key) | |
operator bool () | |
Converts to a boolean value. | |
OverlayKeyBit & | operator= (const OverlayKeyBit &value) |
OverlayKeyBit & | operator= (bool value) |
Sets the corresponding bit to a boolean value. | |
OverlayKeyBit & | operator^= (bool value) |
Private Attributes | |
bool | bit |
uint32_t | pos |
OverlayKey * | key |
An auxiliary class for single bits in OverlayKey.
Allows statements like "key[n] = true"
Definition at line 527 of file OverlayKey.h.
|
inline |
|
inline |
|
inline |
|
inline |
Sets the corresponding bit to a boolean value.
value | value to set to |
Definition at line 550 of file OverlayKey.h.
|
inline |
|
private |
Definition at line 560 of file OverlayKey.h.
Referenced by operator bool(), and operator=().
|
private |
Definition at line 566 of file OverlayKey.h.
Referenced by operator=(), and operator^=().
|
private |
Definition at line 565 of file OverlayKey.h.
Referenced by operator=(), and operator^=().