Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
BitVector::OneIterator Class Reference

#include <elm/util/BitVector.h>

+ Inheritance diagram for BitVector::OneIterator:

Public Member Functions

 OneIterator (const BitVector &bit_vector, int ii=0)
 
int item () const
 
void next ()
 
int operator* () const
 
Iteroperator++ ()
 
Iter operator++ (int)
 
- Public Member Functions inherited from BitVector::Iter
 Iter (const BitVector &v)
 
bool ended () const
 
bool item () const
 
void next ()
 
bool equals (const Iter &it) const
 
bool operator() () const
 
bool operator* () const
 
Iteroperator++ ()
 
Iter operator++ (int)
 
bool operator== (const Iter &it) const
 
bool operator!= (const Iter &it) const
 

Additional Inherited Members

- Protected Attributes inherited from BitVector::Iter
const BitVectorbvec
 
int i
 

Constructor & Destructor Documentation

◆ OneIterator()

OneIterator ( const BitVector bit_vector,
int  ii = 0 
)
inline

Build a new bit-to-one iterator.

Parameters
bit_vectorBit vector to iterate on.

References BitVector::Iter::i, and BitVector::OneIterator::next().

Member Function Documentation

◆ item()

int item ( ) const
inline

◆ next()

◆ operator*()

int operator* ( ) const
inline

◆ operator++() [1/2]

Iter& operator++ ( )
inline

◆ operator++() [2/2]

Iter operator++ ( int  )
inline

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