Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/util/BitVector.h>
Public Member Functions | |
OneIterator (const BitVector &bit_vector, int ii=0) | |
int | item () const |
void | next () |
int | operator* () const |
Iter & | operator++ () |
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 |
Iter & | operator++ () |
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 BitVector & | bvec |
int | i |
|
inline |
Build a new bit-to-one iterator.
bit_vector | Bit vector to iterate on. |
References BitVector::Iter::i, and BitVector::OneIterator::next().
|
inline |
References BitVector::Iter::i.
Referenced by BitVector::OneIterator::operator*().
|
inline |
References BitVector::bit(), BitVector::Iter::bvec, BitVector::Iter::i, and BitVector::size().
Referenced by BitVector::OneIterator::OneIterator(), and BitVector::OneIterator::operator++().
|
inline |
References BitVector::OneIterator::item().
|
inline |
References BitVector::OneIterator::next().
|
inline |
References BitVector::OneIterator::next().