Public Member Functions | Friends | List of all members
ibis::bitvector::const_iterator Class Reference

The const_iterator class. It iterates on the individual bits. More...

#include <bitvector.h>

Public Member Functions

 const_iterator (const const_iterator &r)
 
int operator!= (const const_iterator &rhs) const throw ()
 Comparing two iterators. More...
 
bool operator* () const
 Dereference the current bit value. No error checking.
 
const_iteratoroperator++ ()
 Increment the iterator. Move on to the next bit.
 
const_iteratoroperator+= (int incr)
 
const_iteratoroperator-- ()
 Decrement the iterator. Move back one bit.
 
const_iteratoroperator= (const const_iterator &r)
 
int operator== (const const_iterator &rhs) const throw ()
 

Friends

const_iterator ibis::bitvector::begin () const
 
const_iterator ibis::bitvector::end () const
 
void ibis::bitvector::erase (word_t i, word_t j)
 
class ibis::bitvector::iterator
 

Detailed Description

The const_iterator class. It iterates on the individual bits.

Member Function Documentation

int ibis::bitvector::const_iterator::operator!= ( const const_iterator rhs) const
throw (
)
inline

Comparing two iterators.

It actually only check the value of the iterator pointing to m_vec.


The documentation for this class was generated from the following files:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive