carl  24.04
Computer ARithmetic Library
carl::BitVector::forward_iterator Class Reference

#include <BitVector.h>

Collaboration diagram for carl::BitVector::forward_iterator:

Public Member Functions

 forward_iterator (const std::vector< unsigned >::const_iterator it, const std::vector< unsigned >::const_iterator vectorEnd)
 
bool get ()
 
void next ()
 
forward_iterator operator++ (int i)
 
bool isEnd ()
 

Protected Attributes

unsigned posInVec
 
std::vector< unsigned >::const_iterator vecIter
 
const std::vector< unsigned >::const_iterator vecEnd
 
unsigned curVecElem
 

Friends

bool operator== (const forward_iterator &fi1, const forward_iterator &fi2)
 

Detailed Description

Definition at line 134 of file BitVector.h.

Constructor & Destructor Documentation

◆ forward_iterator()

carl::BitVector::forward_iterator::forward_iterator ( const std::vector< unsigned >::const_iterator  it,
const std::vector< unsigned >::const_iterator  vectorEnd 
)
inline

Definition at line 136 of file BitVector.h.

Member Function Documentation

◆ get()

bool carl::BitVector::forward_iterator::get ( )
inline

Definition at line 147 of file BitVector.h.

◆ isEnd()

bool carl::BitVector::forward_iterator::isEnd ( )
inline

Definition at line 169 of file BitVector.h.

Here is the caller graph for this function:

◆ next()

void carl::BitVector::forward_iterator::next ( )
inline

Definition at line 151 of file BitVector.h.

Here is the caller graph for this function:

◆ operator++()

forward_iterator carl::BitVector::forward_iterator::operator++ ( int  i)
inline

Definition at line 162 of file BitVector.h.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator==

bool operator== ( const forward_iterator fi1,
const forward_iterator fi2 
)
friend

Definition at line 42 of file BitVector.cpp.

Field Documentation

◆ curVecElem

unsigned carl::BitVector::forward_iterator::curVecElem
protected

Definition at line 144 of file BitVector.h.

◆ posInVec

unsigned carl::BitVector::forward_iterator::posInVec
protected

Definition at line 141 of file BitVector.h.

◆ vecEnd

const std::vector<unsigned>::const_iterator carl::BitVector::forward_iterator::vecEnd
protected

Definition at line 143 of file BitVector.h.

◆ vecIter

std::vector<unsigned>::const_iterator carl::BitVector::forward_iterator::vecIter
protected

Definition at line 142 of file BitVector.h.


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