#include <bitset.h>
Public Member Functions | |
BitSetBase () | |
BitSetBase (unsigned long b[2]) | |
~BitSetBase () | |
template<size_t m> | |
BitSetBase (const BitSet< m > &b) | |
template<size_t m> | |
BitSetBase< 2 > & | operator= (const BitSet< m > &b) |
bool | operator== (const BitSetBase< 2 > &b) const |
bool | operator!= (const BitSetBase< 2 > &b) const |
bool | operator< (const BitSetBase< 2 > &b) const |
bool | operator[] (size_t j) const |
bool | any () const |
iterator | begin () const |
bool | contains (const BitSetBase< 2 > &b) const |
size_t | count () const |
size_t | firstBit () const |
size_t | lastBit () const |
bool | none () const |
size_t | position (size_t j) const |
bool | scalarProduct (const BitSetBase< 2 > &b) const |
bool | test (size_t j) const |
unsigned long | to_ulong () const |
unsigned long | to_ulong1 () const |
BitSetBase< 2 > & | operator^= (const BitSetBase< 2 > &b) |
BitSetBase< 2 > & | operator|= (const BitSetBase< 2 > &b) |
BitSetBase< 2 > & | operator &= (const BitSetBase< 2 > &b) |
BitSetBase< 2 > & | operator<<= (size_t c) |
BitSetBase< 2 > & | operator>>= (size_t c) |
BitSetBase< 2 > & | andnot (const BitSetBase< 2 > &b) |
BitSetBase< 2 > & | flip () |
BitSetBase< 2 > & | flip (size_t j) |
BitSetBase< 2 > & | permute (const setutils::Permutation &a) |
BitSetBase< 2 > & | reset () |
BitSetBase< 2 > & | reset (size_t j) |
BitSetBase< 2 > & | set () |
BitSetBase< 2 > & | set (size_t j) |
BitSetBase< 2 > & | set (size_t j, bool b) |
BitSetBase< 2 > & | slice (const BitSetBase< 1 > &c) |
void | swap (BitSetBase< 2 > &source) |
BitSetBase< 2 > & | truncate (size_t m) |
Private Attributes | |
unsigned long | d_bits [2] |
Classes | |
class | iterator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|