#include <bitmap.h>
Public Types | |
| typedef unsigned long | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef ptrdiff_t | difference_type |
| typedef unsigned long | size_type |
| typedef iterator | const_iterator |
Public Member Functions | |
| iterator | begin () const |
| iterator | end () const |
| iterator | pos (unsigned long) const |
| BitMap () | |
| BitMap (unsigned long n) | |
| BitMap (const BitMap &b) | |
| template<typename I, typename J> | |
| BitMap (const I &, const I &, const J &, const J &) | |
| ~BitMap () | |
| BitMap & | operator= (const BitMap &) |
| bool | operator< (const BitMap &b) const |
| bool | operator== (const BitMap &b) const |
| unsigned long | back () const |
| unsigned long | capacity () const |
| bool | contains (const BitMap &b) const |
| bool | empty () const |
| unsigned long | front () const |
| bool | full () const |
| bool | isMember (unsigned long n) const |
| unsigned long | n_th (unsigned long) const |
| unsigned long | position (unsigned long) const |
| unsigned long | range (unsigned long, unsigned long) const |
| size_type | size () const |
| BitMap & | operator~ () |
| BitMap & | operator &= (const BitMap &) |
| BitMap & | operator|= (const BitMap &) |
| BitMap & | operator^= (const BitMap &) |
| BitMap & | andnot (const BitMap &) |
| void | fill () |
| void | fill (unsigned long) |
| void | flip (unsigned long n) |
| void | insert (unsigned long n) |
| template<typename I> | |
| void | insert (const I &, const I &) |
| iterator | insert (iterator, unsigned long n) |
| void | remove (unsigned long n) |
| void | reset () |
| void | resize (unsigned long n) |
| void | setRange (unsigned long, unsigned long, unsigned long) |
| void | swap (BitMap &) |
Private Attributes | |
| std::vector< unsigned long > | d_map |
| unsigned long | d_capacity |
Static Private Attributes | |
| static unsigned long | posBits = constants::posBits |
| static unsigned long | baseBits = constants::baseBits |
| static unsigned long | baseShift = constants::baseShift |
Classes | |
| class | iterator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6