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

The iterator that allows modification of bits. More...

#include <bitvector.h>

Public Member Functions

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

Friends

iterator ibis::bitvector::begin ()
 
iterator ibis::bitvector::end ()
 

Detailed Description

The iterator that allows modification of bits.

It provides only one additional function (operator=) than const_iterator to allow modification of the bit pointed. ********************IMPORTANT******************** operator= modifies the content of the bitvector it points to and it can invalidate other iterators or const_iterators referring to the same bitvector.

Member Function Documentation

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

Comparing two iterators.

It only compare the content of the iterator 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