ClassIt is a lemon style iterator for the components. It iterates on the items of a class. By example if you want to iterate on each items of each classes then you may write the next code.
#include <lemon/unionfind.h>
Public Member Functions | |
| ItemIt (const UnionFindEnum &ufe, int cls) | |
| Constructor of the iterator.   | |
| ItemIt (Invalid) | |
| Constructor to get invalid iterator.   | |
| ItemIt & | operator++ () | 
| Increment operator.   | |
| operator const Item & () const | |
| Conversion operator.   | |
| bool | operator== (const ItemIt &i) | 
| Equality operator.   | |
| bool | operator!= (const ItemIt &i) | 
| Inequality operator.   | |
      
  | 
  inline | 
Constructor of the iterator. The iterator iterates on the class of the item. 
      
  | 
  inline | 
It steps to the next item in the class.
      
  | 
  inline | 
It converts the iterator to the current item.
      
  | 
  inline | 
Equality operator
      
  | 
  inline | 
Inequality operator
 1.8.2