libcommonc++
0.7
|
A "reference" to a bit within a BitSet. More...
#include <BitSet.h++>
Public Member Functions | |
Bit (const Bit &other) | |
Copy constructor. More... | |
Bit & | operator= (const Bit &other) |
Assignment operator. More... | |
Bit & | operator= (bool val) |
Assign a value to the bit. More... | |
~Bit () | |
Destructor. More... | |
operator bool () const | |
Cast operator. More... | |
Bit & | flip () |
Flip the bit. More... | |
Friends | |
class | BitSet |
A "reference" to a bit within a BitSet.
~Bit | ( | ) |
Destructor.
BitSet::Bit & flip | ( | ) |
Flip the bit.
operator bool | ( | ) | const |
Cast operator.
BitSet::Bit & operator= | ( | const Bit & | other | ) |
Assignment operator.
BitSet::Bit & operator= | ( | bool | val | ) |
Assign a value to the bit.
|
friend |