Represents an l-value to the RWBitVec and RWTBitVec classes.
More...
#include <rw/bitref.h>
Class RWBitRef is used as an l-value to the RWBitVec and RWTBitVec<N> classes. RWBitRef instances should not be constructed directly.
RWBitRef::operator bool |
( |
| ) |
const |
|
inline |
Returns the value of the bit.
void RWBitRef::operator&= |
( |
bool |
i | ) |
|
|
inline |
Logical assignment operator.
bool RWBitRef::operator= |
( |
bool |
i | ) |
|
|
inline |
Set the bit to the value i
void RWBitRef::operator^= |
( |
bool |
i | ) |
|
|
inline |
Logical assignment operator.
void RWBitRef::operator|= |
( |
bool |
i | ) |
|
|
inline |
Logical assignment operator.
Swaps the data owned by self with the data owned by br.