#include <BitSet.H>
Public Methods | |
| BitSet () | |
| BitSet (int bits, bool init) | |
| void | define (int bits, bool init) |
| BitSet (const BitSet &rhs) | |
| BitSet & | operator= (const BitSet &rhs) |
| ~BitSet () | |
| bool | operator[] (int i) const |
| void | setTrue (int i) |
| void | setFalse (int i) |
| bool | isEmpty () const |
| bool | isFull () const |
| int | size () const |
Static Public Methods | |
| int | initialize () |
Static Public Attributes | |
| long int | bytes |
| long int | peak |
Private Attributes | |
| WORD * | m_bits |
| int | m_size |
| int | m_length |
Static Private Attributes | |
| WORD | trueMasks [WORDSIZE] |
Friends | |
| class | BitSetIterator |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
returns 'true' if the entire bitset is zero |
|
|
returns 'true' if entire bitset is 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16