#include <bitset.h>
Inherits atlas::bitset::BitSetBase< BaseSize< n >::value >.
Inheritance diagram for atlas::bitset::BitSet< n >:
Public Types | |
typedef Base::iterator | iterator |
typedef iterator | const_iterator |
Public Member Functions | |
BitSet () | |
BitSet (unsigned long b) | |
~BitSet () | |
template<size_t m> | |
BitSet (const BitSet< m > &b) | |
template<size_t m> | |
BitSet & | operator= (const BitSet< m > &b) |
bool | operator== (const BitSet &b) const |
bool | operator!= (const BitSet &b) const |
bool | operator< (const BitSet &b) const |
bool | operator[] (size_t j) const |
bool | any () const |
bool | any (const BitSet &b) const |
iterator | begin () const |
bool | contains (const BitSet &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 BitSet &b) const |
size_t | size () const |
bool | test (size_t j) const |
unsigned long | to_ulong () const |
unsigned long | to_ulong1 () const |
BitSet & | operator^= (const BitSet &b) |
BitSet & | operator|= (const BitSet &b) |
BitSet & | operator &= (const BitSet &b) |
BitSet & | operator<<= (size_t c) |
BitSet & | operator>>= (size_t c) |
BitSet & | andnot (const BitSet &b) |
BitSet & | flip () |
BitSet & | flip (size_t j) |
BitSet & | permute (const setutils::Permutation &a) |
BitSet & | reset () |
BitSet & | reset (size_t j) |
BitSet & | set () |
BitSet & | set (size_t j) |
BitSet & | set (size_t j, bool b) |
BitSet & | slice (const BitSet &c) |
void | swap (BitSet &source) |
BitSet & | truncate (size_t m) |
Private Types | |
typedef BitSetBase<(n >> constants::baseShift)+(bool)(n &constants::posBits)> | Base |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|