for (ClassIt cit(huf); cit != INVALID; ++cit) { std::cout << "Class: "; for (ItemIt iit(huf, cit); iit != INVALID; ++iit) { std::cout << toString(iit) << ' ' << std::endl; } std::cout << std::endl; }
#include <lemon/unionfind.h>
Public Member Functions | |
ItemIt () | |
Default constructor. | |
ItemIt & | operator++ () |
Increment operator. | |
operator const Item & () const | |
Conversion operator. | |
bool | operator== (const ItemIt &i) |
Equality operator. | |
bool | operator!= (const ItemIt &i) |
Inequality operator. | |
bool | operator== (Invalid) |
Equality operator. | |
bool | operator!= (Invalid) |
Inequality operator. |
ItemIt | ( | ) | [inline] |
Default constructor
ItemIt& operator++ | ( | ) | [inline] |
It steps to the next item in the class.
operator const Item & | ( | ) | const [inline] |
It converts the iterator to the current item.
bool operator== | ( | const ItemIt & | i | ) | [inline] |
Equality operator
bool operator!= | ( | const ItemIt & | i | ) | [inline] |
Inequality operator
bool operator== | ( | Invalid | ) | [inline] |
Equality operator
bool operator!= | ( | Invalid | ) | [inline] |
Inequality operator