![]() |
|
ビット演算のクラス [詳解]
静的公開メンバ関数 | |
static int | SetBit (int setPosition, int bits) |
ビットを立てる [詳解] | |
static int | UnsetBit (int unsetPosition, int bits) |
ビットを下ろす [詳解] | |
static bool | IsSettingBit (int checkPosition, int bits) |
ビットが立っているかどうか [詳解] | |
static int | MaskBit (int maskBit, int bit) |
マスクをかける [詳解] | |
ビット演算のクラス
|
static |
ビットが立っているかどうか
checkPosition | |
bits |
|
static |
マスクをかける
maskBit | マスク用のビット |
bit | 変更したいビット |
|
static |
ビットを立てる
setPosition | 立てる位置 |
bits | 変更したいビット |
|
static |
ビットを下ろす
unsetPosition | おろしたい位置 |
bits | 変更したいビット |