#include <OverlayKey.h>
Allows statements like "key[n] = true"
Public Member Functions | |
OverlayKeyBit (bool value, uint pos, OverlayKey *key) | |
operator bool () | |
Converts to a boolean value. | |
OverlayKeyBit & | operator= (bool value) |
Sets the corresponding bit to a boolean value. | |
OverlayKeyBit & | operator^= (bool value) |
Private Attributes | |
bool | bit |
uint | pos |
OverlayKey * | key |
OverlayKeyBit::OverlayKeyBit | ( | bool | value, | |
uint | pos, | |||
OverlayKey * | key | |||
) | [inline] |
OverlayKeyBit::operator bool | ( | ) | [inline] |
OverlayKeyBit& OverlayKeyBit::operator= | ( | bool | value | ) | [inline] |
OverlayKeyBit& OverlayKeyBit::operator^= | ( | bool | value | ) | [inline] |
bool OverlayKeyBit::bit [private] |
uint OverlayKeyBit::pos [private] |
OverlayKey* OverlayKeyBit::key [private] |